LeviLamina
Loading...
Searching...
No Matches
OneDSEditorEventListener.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/events/AggregationEventListener.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Core { class Path; }
11namespace Json { class Value; }
12namespace Social::Events { class Event; }
13// clang-format on
14
15namespace Social::Events {
16
18public:
19 // member variables
20 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~OneDSEditorEventListener() /*override*/;
46
47 // vIndex: 5
48 virtual void sendEvent(::Social::Events::Event const& event) /*override*/;
49
50 // vIndex: 3
51 virtual int getEventTagsFilter() const /*override*/;
52
53 // vIndex: 6
54 virtual void _flushEventQueue() /*override*/;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCNAPI void AddPartA(::std::string const& eventName, ::Json::Value& eventBody, int64 eventTimestamp);
61
62 MCNAPI void AddPartC(::Social::Events::Event const& event, ::Json::Value& eventBody);
63
64 MCNAPI ::std::string BuildCommonSchemaMsg(::Social::Events::Event const& event);
65
66 MCNAPI explicit OneDSEditorEventListener(::Core::Path logFileName);
67
68 MCNAPI ::std::vector<::std::string> _buildEventPayloads(
69 ::std::vector<::Social::Events::Event> events,
70 ::std::function<void(::std::string const&, ::std::string const&)> onEventSerialized
71 );
72
73 MCNAPI bool _sendBatch();
74
75 MCNAPI void _sendEvents(::std::string const& eventPayload, ::std::string const& endpoint);
76 // NOLINTEND
77
78public:
79 // static variables
80 // NOLINTBEGIN
81 MCNAPI static ::std::string const& ENDPOINT_IDENTIFIER();
82
83 MCNAPI static ::std::string const& EVENT_NAMESPACE();
84
85 MCNAPI static ::std::string const& ONEDS_URL();
86
87 MCNAPI static ::std::string const& PARTA_IDENTIFIER();
88 // NOLINTEND
89
90public:
91 // constructor thunks
92 // NOLINTBEGIN
93 MCNAPI void* $ctor(::Core::Path logFileName);
94 // NOLINTEND
95
96public:
97 // destructor thunk
98 // NOLINTBEGIN
99 MCNAPI void $dtor();
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105 MCNAPI void $sendEvent(::Social::Events::Event const& event);
106
107 MCNAPI int $getEventTagsFilter() const;
108
109 MCNAPI void $_flushEventQueue();
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCNAPI static void** $vftable();
116 // NOLINTEND
117};
118
119} // namespace Social::Events
Definition Path.h:17
Definition Value.h:16
Definition Path.h:16
Definition AggregationEventListener.h:18
Definition Event.h:17
Definition OneDSEditorEventListener.h:17
MCAPI::std::string BuildCommonSchemaMsg(::Social::Events::Event const &event)
MCAPI void AddPartC(::Social::Events::Event const &event, ::Json::Value &eventBody)
static MCAPI ::std::string const & ONEDS_URL()
MCAPI ::std::vector<::std::string > _buildEventPayloads(::std::vector<::Social::Events::Event > events, ::std::function< void(::std::string const &, ::std::string const &)> onEventSerialized)
static MCAPI ::std::string const & ENDPOINT_IDENTIFIER()
MCAPI void _sendEvents(::std::string const &eventPayload, ::std::string const &endpoint)
static MCAPI ::std::string const & PARTA_IDENTIFIER()
MCAPI void * $ctor(::Core::Path logFileName)
MCAPI void $sendEvent(::Social::Events::Event const &event)
MCAPI OneDSEditorEventListener(::Core::Path logFileName)
MCAPI void AddPartA(::std::string const &eventName, ::Json::Value &eventBody, int64 eventTimestamp)
static MCAPI ::std::string const & EVENT_NAMESPACE()
Definition Alias.h:14