Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ProfilerUsageEventing.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/platform/brstd/copyable_function.h"
8
9// auto generated forward declare list
10// clang-format off
12// clang-format on
13
14class ProfilerUsageEventing : public ::Bedrock::EnableNonOwnerReferences {
15public:
16 // ProfilerUsageEventing inner types declare
17 // clang-format off
18 struct ProfilerUsage;
19 // clang-format on
20
21 // ProfilerUsageEventing inner types define
22 struct ProfilerUsage {
23 public:
24 // member variables
25 // NOLINTBEGIN
29 // NOLINTEND
30
31 public:
32 // prevent constructor by default
33 ProfilerUsage& operator=(ProfilerUsage const&);
34 ProfilerUsage(ProfilerUsage const&);
35 ProfilerUsage();
36 };
37
38 using ProfilerUsageCheck = ::brstd::copyable_function<bool()>;
39
40public:
41 // member variables
42 // NOLINTBEGIN
43 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
44 ::ll::TypedStorage<8, 24, ::std::vector<::ProfilerUsageEventing::ProfilerUsage>> mProfilerUsageChecks;
45 // NOLINTEND
46
47public:
48 // prevent constructor by default
49 ProfilerUsageEventing& operator=(ProfilerUsageEventing const&);
50 ProfilerUsageEventing(ProfilerUsageEventing const&);
51 ProfilerUsageEventing();
52
53public:
54 // member functions
55 // NOLINTBEGIN
56#ifdef LL_PLAT_C
57 MCNAPI void addProfiler(::std::string_view profilerName, ::brstd::copyable_function<bool()> isActive);
58#endif
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition EnableNonOwnerReferences.h:7
Definition IMinecraftEventing.h:152
static MCAPI void ** $vftable()
Definition copyable_function.h:8
Definition ProfilerUsageEventing.h:22
Definition Alias.h:14