LeviLamina
Loading...
Searching...
No Matches
DebugInfoComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/legacy/ActorUniqueID.h"
8#include "mc/world/events/ActorEventListener.h"
9#include "mc/world/events/EventListenerDispatcher.h"
10#include "mc/world/events/EventResult.h"
11
12// auto generated forward declare list
13// clang-format off
14class HashedString;
17// clang-format on
18
19class DebugInfoComponent : public ::EventListenerDispatcher<::ActorEventListener> {
20public:
21 // DebugInfoComponent inner types declare
22 // clang-format off
23 struct Listener;
24 // clang-format on
25
26 // DebugInfoComponent inner types define
27 struct Listener {
28 public:
29 // member variables
30 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 Listener& operator=(Listener const&);
39 Listener(Listener const&);
40 Listener();
41
42 public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI ~Listener();
46 // NOLINTEND
47
48 public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCFOLD void $dtor();
52 // NOLINTEND
53 };
54
55public:
56 // member variables
57 // NOLINTBEGIN
58 ::ll::TypedStorage<8, 24, ::std::vector<::DebugInfoComponent::Listener>> mListeners;
59 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, uint64>> mPacketHashes;
60 ::ll::TypedStorage<8, 40, ::std::deque<::std::string>> mSentEvents;
61 ::ll::TypedStorage<1, 1, bool> mEventListenerRegistered;
62 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mMobUniqueId;
63 // NOLINTEND
64
65public:
66 // prevent constructor by default
67 DebugInfoComponent& operator=(DebugInfoComponent const&);
68 DebugInfoComponent();
69
70public:
71 // virtual functions
72 // NOLINTBEGIN
73 virtual ::EventResult onEvent(::ActorDefinitionTriggeredEvent const& actorDefinitionEvent) /*override*/;
74 // NOLINTEND
75
76public:
77 // member functions
78 // NOLINTBEGIN
79 MCAPI DebugInfoComponent(::DebugInfoComponent const&);
80
81 MCAPI void addListener(::HashedString const& messageType, ::NetworkIdentifier source, ::SubClientId subClientId);
82
83 MCFOLD bool listenersEmpty() const;
84
85 MCAPI ::DebugInfoComponent& operator=(::DebugInfoComponent&&);
86
87 MCAPI void removeListener(::HashedString const&, ::NetworkIdentifier networkIdentifier, ::SubClientId subClientId);
88 // NOLINTEND
89
90public:
91 // constructor thunks
92 // NOLINTBEGIN
93 MCAPI void* $ctor(::DebugInfoComponent const&);
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCAPI ::EventResult $onEvent(::ActorDefinitionTriggeredEvent const& actorDefinitionEvent);
100
101
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
static MCAPI void ** $vftable()
Definition EventListenerDispatcher.h:6
Definition HashedString.h:5
Definition NetworkIdentifier.h:10
Definition ActorDefinitionTriggeredEvent.h:10
Definition DebugInfoComponent.h:27
Definition Alias.h:14