3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/threading/Async.h"
7#include "mc/deps/nether_net/ESessionError.h"
8#include "mc/network/services/signaling/IJsonRpcComponent.h"
9#include "mc/platform/Result.h"
18namespace PlayerMessaging {
struct NetworkID; }
23class WebRtcComponent :
public ::IJsonRpcComponent,
public ::std::enable_shared_from_this<::JsonRpc::WebRtcComponent> {
37 WebRtcComponent& operator=(WebRtcComponent
const&);
38 WebRtcComponent(WebRtcComponent
const&);
44 virtual void initialize(::std::shared_ptr<::JsonRpc::JsonRpcProvider> provider) ;
50 MCNAPI
explicit WebRtcComponent(::std::shared_ptr<::ISignalingJsonRpcInterop> interop);
64 ::std::string
const& message,
65 ::std::function<
void(::NetherNet::ESessionError)>&& onComplete
68 MCNAPI ::Bedrock::Threading::Async<::Bedrock::Result<void, ::JsonRpc::JsonRpcError>>
sendPing()
const;
76 MCNAPI
void*
$ctor(::std::shared_ptr<::ISignalingJsonRpcInterop> interop);
82 MCNAPI
void $initialize(::std::shared_ptr<::JsonRpc::JsonRpcProvider> provider);
Definition IJsonRpcComponent.h:10
Definition ISignalingJsonRpcInterop.h:20
Definition JsonRpcError.h:12
Definition JsonRpcProvider.h:20
Definition ReceiveClientMessageResult.h:12
MCAPI void parseJsonRpcClientMessage(::JsonRpc::ReceiveClientMessageResult const &result)
MCAPI void sendJsonRpcSignal(::NetherNet::NetworkID networkIDTo, ::NetherNet::NetworkID networkIDFrom, ::std::string const &message, ::std::function< void(::NetherNet::ESessionError)> &&onComplete)
MCAPI WebRtcComponent(::std::shared_ptr<::ISignalingJsonRpcInterop > interop)
MCAPI void * $ctor(::std::shared_ptr<::ISignalingJsonRpcInterop > interop)
MCAPI void sendTurnConfigRequest()
static MCAPI void ** $vftable()
MCAPI void _sendDeliveryNotification(::PlayerMessaging::NetworkID const &toPlayerId, ::std::string const &messageId)
MCAPI ::Bedrock::Threading::Async<::Bedrock::Result< void, ::JsonRpc::JsonRpcError > > sendPing() const
MCAPI void $initialize(::std::shared_ptr<::JsonRpc::JsonRpcProvider > provider)
Definition NetworkID.h:17
Definition NetworkID.h:13