27 TelemetryExtension& operator=(TelemetryExtension
const&);
28 TelemetryExtension(TelemetryExtension
const&);
35 setupMessageSender(::std::function<
void(::std::string, ::std::string, ::std::string)> messageSender) ;
37 virtual bool shouldProcessMessage(::std::string
const& _namespace, ::std::string
const& func) ;
39 virtual bool onMessageReceived(
40 ::std::string
const& _namespace,
41 ::std::string
const& func,
42 ::std::optional<::Json::Value> arguments
45 virtual void onLoadingBegin(::std::function<
void(::std::string)> handler) ;
47 virtual ~TelemetryExtension() =
default;
54 MCNAPI
void $setupMessageSender(::std::function<
void(::std::string, ::std::string, ::std::string)> messageSender);
56 MCNAPI
bool $shouldProcessMessage(::std::string
const& _namespace, ::std::string
const& func);
58 MCNAPI
bool $onMessageReceived(
59 ::std::string
const& _namespace,
60 ::std::string
const& func,
61 ::std::optional<::Json::Value> arguments
64 MCNAPI
void $onLoadingBegin(::std::function<
void(::std::string)> handler);