LeviLamina
Loading...
Searching...
No Matches
JsonRpc::JsonRpcProvider Class Reference
Inheritance diagram for JsonRpc::JsonRpcProvider:

Classes

struct  JsonRpcPendingResult

Public Member Functions

JsonRpcProvider & operator= (JsonRpcProvider const &)
 JsonRpcProvider (JsonRpcProvider const &)
MCAPI JsonRpcProvider (::std::shared_ptr<::JsonRpc::ITransport > transport, ::std::shared_ptr<::JsonRpc::IObserver > observer, ::std::vector<::std::shared_ptr<::IJsonRpcComponent > > components)
MCAPI void _expirePendingResult (::std::string const &id)
MCAPI void handleJsonRpcResult (::std::string const &id, ::Bedrock::Result<::Json::Value, ::JsonRpc::JsonRpcError > &&result)
MCAPI ::std::unique_ptr<::std::string, ::std::function< void(::std::string *)> > registerJsonRpcMethod (::std::string method, ::std::unique_ptr<::JsonRpc::IResultHandler > handler)
MCAPI void * $ctor (::std::shared_ptr<::JsonRpc::ITransport > transport, ::std::shared_ptr<::JsonRpc::IObserver > observer, ::std::vector<::std::shared_ptr<::IJsonRpcComponent > > components)

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk5861b3
::ll::UntypedStorage< 8, 64 > mUnk19d3ca
::ll::UntypedStorage< 8, 64 > mUnkc85114
::ll::UntypedStorage< 8, 80 > mUnk882165
::ll::UntypedStorage< 8, 64 > mUnk29ed83
::ll::UntypedStorage< 8, 128 > mUnk4502ec
::ll::UntypedStorage< 8, 8 > mUnkcb9720
::ll::UntypedStorage< 8, 24 > mUnkecd6dc
::ll::UntypedStorage< 8, 8 > mUnkaeebe0
::ll::UntypedStorage< 8, 16 > mUnk60480d
::ll::UntypedStorage< 8, 16 > mUnk6f4f7b

Constructor & Destructor Documentation

◆ JsonRpcProvider()

MCAPI JsonRpc::JsonRpcProvider::JsonRpcProvider ( ::std::shared_ptr<::JsonRpc::ITransport > transport,
::std::shared_ptr<::JsonRpc::IObserver > observer,
::std::vector<::std::shared_ptr<::IJsonRpcComponent > > components )
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

◆ _expirePendingResult()

MCAPI void JsonRpc::JsonRpcProvider::_expirePendingResult ( ::std::string const & id)
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 JsonRpc::JsonRpcProvider::handleJsonRpcResult ( ::std::string const & id,
::Bedrock::Result<::Json::Value, ::JsonRpc::JsonRpcError > && 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.

◆ registerJsonRpcMethod()

MCAPI ::std::unique_ptr<::std::string, ::std::function< void(::std::string *)> > JsonRpc::JsonRpcProvider::registerJsonRpcMethod ( ::std::string method,
::std::unique_ptr<::JsonRpc::IResultHandler > 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.

◆ $ctor()

MCAPI void * JsonRpc::JsonRpcProvider::$ctor ( ::std::shared_ptr<::JsonRpc::ITransport > transport,
::std::shared_ptr<::JsonRpc::IObserver > observer,
::std::vector<::std::shared_ptr<::IJsonRpcComponent > > components )
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: