LeviLamina
Loading...
Searching...
No Matches
SignalingService Class Reference
+ Inheritance diagram for SignalingService:

Classes

class  Channel
 
class  Connection
 
class  JsonRpcConnection
 
class  JsonRpcConnectionSpy
 
class  SignalingServiceSpy
 

Public Types

enum class  ConnectionStatus : uchar { Connected = 0 , Disconnected = 1 }
 

Public Member Functions

SignalingServiceoperator= (SignalingService const &)
 
 SignalingService (SignalingService const &)
 
virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > sendJsonRpcTo (::NetherNet::NetworkID networkIdTo, ::std::optional<::std::string > const &messageId, ::std::string const &message) const
 
virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > sendJsonRpc (::std::string const &message) const
 
virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > sendPing () const
 
virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > sendTurnConfigRequest ()
 
virtual::cereal::ReflectionCtx & getReflectionContext ()
 
virtual ::std::unique_ptr<::std::string, ::std::function< void(::std::string *)> > registerJsonRpcMethod (::std::string method, ::std::function< void(::std::string, ::Json::Value const &)> handler)
 
virtual void _unregisterJsonRpcMethod (::std::string method)
 
virtual void dispatchJsonRpc (::std::string const &method, ::Json::Value const &params)
 
virtual void handleJsonRpcResult (::std::string id, ::nonstd::expected<::Json::Value, ::Json::Value > const &result)
 
MCAPI SignalingService (::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing > eventing, ::WorkerPool &pool, ::Scheduler &scheduler)
 
MCAPI ::std::shared_ptr<::SignalingService::Connection_makeConnection (::NetherNet::NetworkID id, bool jsonRpc)
 
MCAPI ::gsl::not_null<::std::shared_ptr<::NetherNet::ISignalingInterface > > getChannel () const
 
MCAPI ::Bedrock::Threading::Async<::std::vector<::NetherNet::StunRelayServer > > getRelayConfig () const
 
MCAPI ::Bedrock::Threading::Async<::std::error_code > signIn (::NetherNet::NetworkID id, bool useJsonRpc)
 
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing > eventing, ::WorkerPool &pool, ::Scheduler &scheduler)
 
MCAPI void $dtor ()
 
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > $sendJsonRpcTo (::NetherNet::NetworkID networkIdTo, ::std::optional<::std::string > const &messageId, ::std::string const &message) const
 
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > $sendJsonRpc (::std::string const &message) const
 
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > $sendPing () const
 
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > $sendTurnConfigRequest ()
 
MCAPI::cereal::ReflectionCtx & $getReflectionContext ()
 
MCAPI ::std::unique_ptr<::std::string, ::std::function< void(::std::string *)> > $registerJsonRpcMethod (::std::string method, ::std::function< void(::std::string, ::Json::Value const &)> handler)
 
MCAPI void $_unregisterJsonRpcMethod (::std::string method)
 
MCAPI void $dispatchJsonRpc (::std::string const &method, ::Json::Value const &params)
 
MCAPI void $handleJsonRpcResult (::std::string id, ::nonstd::expected<::Json::Value, ::Json::Value > const &result)
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
 
MCAPI void * $ctor ()
 

Static Public Member Functions

static MCAPI void ** $vftableForJsonRpcProvider ()
 
static MCAPI void ** $vftableForEnableNonOwnerReferences ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 24 > mUnk189d42
 
::ll::UntypedStorage< 8, 8 > mUnk6e4dfb
 
::ll::UntypedStorage< 8, 8 > mUnk964da2
 
::ll::UntypedStorage< 1, 1 > mUnk16095b
 
::ll::UntypedStorage< 8, 8 > mUnk2bff76
 
::ll::UntypedStorage< 8, 16 > mUnk4684f9
 
::ll::UntypedStorage< 8, 16 > mUnk66d5f0
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 
::ll::UntypedStorage< 8, 8 > mUnk5861b3
 
::ll::UntypedStorage< 8, 64 > mUnk803b0b
 
::ll::UntypedStorage< 8, 64 > mUnk43ee0e
 
::ll::UntypedStorage< 8, 72 > mUnk824719
 
::ll::UntypedStorage< 8, 120 > mUnk4502ec
 

Constructor & Destructor Documentation

◆ SignalingService()

MCAPI SignalingService::SignalingService ( ::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing > eventing,
::WorkerPool & pool,
::Scheduler & scheduler )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ sendJsonRpcTo()

virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::sendJsonRpcTo ( ::NetherNet::NetworkID networkIdTo,
::std::optional<::std::string > const & messageId,
::std::string const & message ) const
virtual

◆ sendJsonRpc()

virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::sendJsonRpc ( ::std::string const & message) const
virtual

◆ sendPing()

virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::sendPing ( ) const
virtual

◆ sendTurnConfigRequest()

virtual ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::sendTurnConfigRequest ( )
virtual

◆ getReflectionContext()

virtual::cereal::ReflectionCtx & SignalingService::getReflectionContext ( )
virtual

◆ registerJsonRpcMethod()

virtual ::std::unique_ptr<::std::string, ::std::function< void(::std::string *)> > SignalingService::registerJsonRpcMethod ( ::std::string method,
::std::function< void(::std::string, ::Json::Value const &)> handler )
virtual

◆ _unregisterJsonRpcMethod()

virtual void SignalingService::_unregisterJsonRpcMethod ( ::std::string method)
virtual

◆ dispatchJsonRpc()

virtual void SignalingService::dispatchJsonRpc ( ::std::string const & method,
::Json::Value const & params )
virtual

◆ handleJsonRpcResult()

virtual void SignalingService::handleJsonRpcResult ( ::std::string id,
::nonstd::expected<::Json::Value, ::Json::Value > const & result )
virtual

◆ _makeConnection()

MCAPI ::std::shared_ptr<::SignalingService::Connection > SignalingService::_makeConnection ( ::NetherNet::NetworkID id,
bool jsonRpc )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getChannel()

MCAPI ::gsl::not_null<::std::shared_ptr<::NetherNet::ISignalingInterface > > SignalingService::getChannel ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getRelayConfig()

MCAPI ::Bedrock::Threading::Async<::std::vector<::NetherNet::StunRelayServer > > SignalingService::getRelayConfig ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ signIn()

MCAPI ::Bedrock::Threading::Async<::std::error_code > SignalingService::signIn ( ::NetherNet::NetworkID id,
bool useJsonRpc )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/2]

MCAPI void * SignalingService::$ctor ( ::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing > eventing,
::WorkerPool & pool,
::Scheduler & scheduler )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void SignalingService::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $sendJsonRpcTo()

MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::$sendJsonRpcTo ( ::NetherNet::NetworkID networkIdTo,
::std::optional<::std::string > const & messageId,
::std::string const & message ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $sendJsonRpc()

MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::$sendJsonRpc ( ::std::string const & message) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $sendPing()

MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::$sendPing ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $sendTurnConfigRequest()

MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Json::Value, ::Json::Value > > SignalingService::$sendTurnConfigRequest ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getReflectionContext()

MCAPI::cereal::ReflectionCtx & SignalingService::$getReflectionContext ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $registerJsonRpcMethod()

MCAPI ::std::unique_ptr<::std::string, ::std::function< void(::std::string *)> > SignalingService::$registerJsonRpcMethod ( ::std::string method,
::std::function< void(::std::string, ::Json::Value const &)> handler )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_unregisterJsonRpcMethod()

MCAPI void SignalingService::$_unregisterJsonRpcMethod ( ::std::string method)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dispatchJsonRpc()

MCAPI void SignalingService::$dispatchJsonRpc ( ::std::string const & method,
::Json::Value const & params )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $handleJsonRpcResult()

MCAPI void SignalingService::$handleJsonRpcResult ( ::std::string id,
::nonstd::expected<::Json::Value, ::Json::Value > const & result )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForJsonRpcProvider()

static MCAPI void ** SignalingService::$vftableForJsonRpcProvider ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForEnableNonOwnerReferences()

static MCAPI void ** SignalingService::$vftableForEnableNonOwnerReferences ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable() [1/2]

static MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/2]

MCAPI void * JsonRpc::JsonRpcProvider::$ctor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable() [2/2]

static MCAPI void ** JsonRpc::JsonRpcProvider::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: