LeviLamina
Loading...
Searching...
No Matches
AggregationEventListener.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/events/IEventListener.h"
8
9// auto generated forward declare list
10// clang-format off
11class AppPlatform;
12namespace Core { class Path; }
13namespace Social::Events { class Event; }
14// clang-format on
15
16namespace Social::Events {
17
19public:
20 // member variables
21 // NOLINTBEGIN
37 // NOLINTEND
38
39public:
40 // prevent constructor by default
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 // vIndex: 0
49 virtual ~AggregationEventListener() /*override*/;
50
51 // vIndex: 1
52 virtual void recordEvent(
53 ::Social::Events::Event const& event,
55 ) /*override*/;
56
57 // vIndex: 2
58 virtual void sendEvents(bool forceSend) /*override*/;
59
60 // vIndex: 5
61 virtual void sendEvent(::Social::Events::Event const&) = 0;
62
63 // vIndex: 4
64 virtual void stopDebugEventLogging() /*override*/;
65
66 // vIndex: 6
67 virtual void _flushEventQueue();
68
69 // vIndex: 7
70 virtual bool _checkAgainstEventAllowlist(::Social::Events::Event const& event) const;
71
72 // vIndex: 8
73 virtual bool _isListenerReadyForEvents() const;
74 // NOLINTEND
75
76public:
77 // member functions
78 // NOLINTBEGIN
79 MCNAPI explicit AggregationEventListener(::Core::Path const& logFileName);
80
81 MCNAPI bool _needToSendAggregatedEvents() const;
82
84 ::Social::Events::Event const& event,
85 ::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event>>& eventQueue
86 );
87
88 MCNAPI void _sendCustomAggregatedEvents(bool forceSend);
89
90 MCNAPI void _sendEvents(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event>>& queueToSend);
91
92 MCNAPI void _sendNextEvent(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event>>& queueToSend);
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
98 MCNAPI void* $ctor(::Core::Path const& logFileName);
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCNAPI void $dtor();
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCNAPI void
112
113 MCNAPI void $sendEvents(bool forceSend);
114
116
117 MCNAPI void $_flushEventQueue();
118
120
121 MCNAPI bool $_isListenerReadyForEvents() const;
122 // NOLINTEND
123
124public:
125 // vftables
126 // NOLINTBEGIN
127 MCNAPI static void** $vftable();
128 // NOLINTEND
129};
130
131} // namespace Social::Events
Definition AppPlatform.h:50
Definition NonOwnerPointer.h:9
Definition Path.h:11
Definition Path.h:16
Definition AggregationEventListener.h:18
MCAPI bool _needToSendAggregatedEvents() const
MCAPI AggregationEventListener(::Core::Path const &logFileName)
MCAPI void $recordEvent(::Social::Events::Event const &event, ::Bedrock::NonOwnerPointer<::AppPlatform > const &appPlatform)
MCAPI void * $ctor(::Core::Path const &logFileName)
MCAPI void _sendCustomAggregatedEvents(bool forceSend)
MCAPI void _sendEvents(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event > > &queueToSend)
MCAPI void $sendEvents(bool forceSend)
MCAPI void _sendNextEvent(::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event > > &queueToSend)
MCAPI void _recordAggregatedEvent(::Social::Events::Event const &event, ::std::unordered_map<::std::string, ::std::deque<::Social::Events::Event > > &eventQueue)
MCAPI bool $_checkAgainstEventAllowlist(::Social::Events::Event const &event) const
Definition Event.h:17
Definition IEventListener.h:16
Definition Alias.h:14