3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/nether_net/ESessionError.h"
7#include "mc/deps/nether_net/NetworkID.h"
8#include "mc/network/services/signaling/MessagePerformance.h"
9#include "mc/network/services/signaling/player_messaging/NetworkID.h"
16namespace mce {
class UUID; }
28 struct Destination :
public ::std::variant<::NetherNet::NetworkID, ::PlayerMessaging::NetworkID> {};
30 struct MessageStatus {
43 MessageStatus& operator=(MessageStatus
const&);
44 MessageStatus(MessageStatus
const&);
62 MessageTracker& operator=(MessageTracker
const&);
63 MessageTracker(MessageTracker
const&);
69 MCNAPI
explicit MessageTracker(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry>> telemetry);
71 MCNAPI ::std::vector<::MessagePerformance>
_clear();
74 ::NetherNet::ESessionError result,
77 ::MessagePerformance::Status status
83 ::std::string
const& messageId,
88 add(::std::string
const& messageId, ::std::function<
void(::NetherNet::ESessionError)>&& onComplete,
bool isP2P);
96 MCNAPI
void messageError(::std::string
const& messageId, ::NetherNet::ESessionError error);
99 ::std::optional<::MessageTracker::Destination> to,
100 ::std::string
const& message,
101 ::std::string
const& messageId,
102 ::std::error_code error
113 MCNAPI
void*
$ctor(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry>> telemetry);
Definition ISignalingServiceTelemetry.h:14
Definition JsonRpcError.h:12
MCAPI void messageAccepted(::std::string const &messageId)
MCAPI ::std::vector<::MessagePerformance > _clear()
MCAPI void messageError(::std::string const &messageId, ::JsonRpc::JsonRpcError const &error)
MCAPI void messageError(::std::string const &messageId, ::NetherNet::ESessionError error)
MCAPI void messageDelivered(::std::string const &messageId)
MCAPI void messageSent(::std::optional<::MessageTracker::Destination > to, ::std::string const &message, ::std::string const &messageId, ::std::error_code error)
MCAPI void _complete(::NetherNet::ESessionError result, ::mce::UUID key, ::MessageTracker::MessageStatus &&value, ::MessagePerformance::Status status)
MCAPI MessageTracker(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry > > telemetry)
MCAPI bool queryAndUpdateIsMessageIgnored(::std::string const &messageId)
MCAPI void _tryGetValue(::std::string const &messageId, ::std::function< void(::mce::UUID, ::MessageTracker::MessageStatus &&)> &&fn)
MCAPI void add(::std::string const &messageId, ::std::function< void(::NetherNet::ESessionError)> &&onComplete, bool isP2P)
MCAPI void * $ctor(::gsl::not_null<::std::shared_ptr<::ISignalingServiceTelemetry > > telemetry)
MCAPI void _continueTracking(::mce::UUID key, ::MessageTracker::MessageStatus &&value)
Definition MessageTracker.h:28
Definition MessageTracker.h:30