3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/threading/Async.h"
7#include "mc/events/AggregationEventListener.h"
8#include "mc/platform/brstd/flat_map.h"
12namespace Bedrock::Http {
class Response; }
13namespace Core {
class Path; }
14namespace Json {
class Value; }
15namespace Social::Events {
class Event; }
16namespace Social::Events {
class Property; }
19namespace Social::Events {
43 OneDSEventListener& operator=(OneDSEventListener
const&);
44 OneDSEventListener(OneDSEventListener
const&);
50 virtual ~OneDSEventListener() ;
54 virtual int getEventTagsFilter()
const ;
58 virtual void _flushEventQueue() ;
77 ::std::vector<::Social::Events::Property>,
78 ::std::less<::std::string>,
79 ::std::vector<::std::string>,
80 ::std::vector<::std::vector<::Social::Events::Property>>>
const& dynamicProperties
84 ::std::vector<::Social::Events::Event> events,
85 ::std::function<
void(::std::string
const&, ::std::string
const&)> onEventSerialized
92 MCNAPI
void _sendEvents(::std::string
const& eventPayload, ::std::string
const& endpoint);
Definition AggregationEventListener.h:18
MCAPI void _sendEvents(::std::string const &eventPayload, ::std::string const &endpoint)
MCAPI OneDSEventListener(::Core::Path logFileName)
MCAPI void AddPartC(::Social::Events::Event const &event, ::Json::Value &eventBody)
static MCAPI void ** $vftable()
static MCAPI ::std::string const & ENDPOINT_IDENTIFIER()
static MCAPI ::std::string const & SAFETY_PARTA_IDENTIFIER()
MCAPI void AddPartA(::std::string const &eventName, ::Json::Value &eventBody, int64 eventTimestamp, bool isSafetyEvent)
MCAPI void * $ctor(::Core::Path logFileName)
static MCAPI ::std::string const & SAFETY_ENDPOINT_IDENTIFIER()
MCAPI bool $_checkAgainstEventAllowlist(::Social::Events::Event const &event) const
MCAPI void _handleAsyncResponse(::Bedrock::Threading::Async<::Bedrock::Http::Response > asyncResponse)
MCAPI int $getEventTagsFilter() const
MCAPI ::std::vector<::std::string > _buildEventPayloads(::std::vector<::Social::Events::Event > events, ::std::function< void(::std::string const &, ::std::string const &)> onEventSerialized)
MCAPI void $sendEvent(::Social::Events::Event const &event)
static MCAPI ::std::string const & PARTA_IDENTIFIER()
static MCAPI ::std::string const & ONEDS_URL()
MCAPI void $_flushEventQueue()
MCAPI void _addDynamicPropertiesFromEvent(::Json::Value &properties, ::brstd::flat_map< ::std::string, ::std::vector<::Social::Events::Property >, ::std::less<::std::string >, ::std::vector<::std::string >, ::std::vector<::std::vector<::Social::Events::Property > > > const &dynamicProperties)
MCAPI::std::string BuildCommonSchemaMsg(::Social::Events::Event const &event)