Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
World::ExternalServerWorldList Class Reference

Public Member Functions

ExternalServerWorldList & operator= (ExternalServerWorldList const &)
 ExternalServerWorldList (ExternalServerWorldList const &)
MCAPI ExternalServerWorldList (::Bedrock::NotNullNonOwnerPtr<::IExternalServerFile > externalServerFile, ::ServerLocator &serverLocator, ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext > profanityContext)
MCAPI void _refreshWorlds ()
MCAPI ::nonstd::expected< int, ::World::ExternalServerWorldError > addExternalServerWorld (::std::string const &name, ::std::string const &address, int port)
MCAPI ::std::optional<::World::ExternalServerWorldError > editExternalServerWorld (int id, ::std::string const &name, ::std::string const &address, int port)
MCAPI ::std::optional<::NetworkWorldInfo > getWorld (::std::string const &id)
MCAPI::Bedrock::PubSub::Subscription registerListener (::std::function< void()> callback)
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IExternalServerFile > externalServerFile, ::ServerLocator &serverLocator, ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext > profanityContext)

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::IExternalServerFile > > mExternalServerFile
::ll::TypedStorage< 8, 8, ::ServerLocator & > mServerLocator
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext > > mProfanityContext
::ll::TypedStorage< 8, 24, ::std::vector<::NetworkWorldInfo > > mExternalServerWorldList
::ll::TypedStorage< 8, 8, double > mLastUpdateMs
::ll::TypedStorage< 1, 1, bool > mIsDirtyOperation
::ll::TypedStorage< 8, 48, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > mListSubscribers

Constructor & Destructor Documentation

◆ ExternalServerWorldList()

MCAPI World::ExternalServerWorldList::ExternalServerWorldList ( ::Bedrock::NotNullNonOwnerPtr<::IExternalServerFile > externalServerFile,
::ServerLocator & serverLocator,
::Bedrock::NotNullNonOwnerPtr<::ProfanityContext > profanityContext )
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

◆ _refreshWorlds()

MCAPI void World::ExternalServerWorldList::_refreshWorlds ( )
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.

◆ addExternalServerWorld()

MCAPI ::nonstd::expected< int, ::World::ExternalServerWorldError > World::ExternalServerWorldList::addExternalServerWorld ( ::std::string const & name,
::std::string const & address,
int port )
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.

◆ editExternalServerWorld()

MCAPI ::std::optional<::World::ExternalServerWorldError > World::ExternalServerWorldList::editExternalServerWorld ( int id,
::std::string const & name,
::std::string const & address,
int port )
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.

◆ getWorld()

MCAPI ::std::optional<::NetworkWorldInfo > World::ExternalServerWorldList::getWorld ( ::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.

◆ registerListener()

MCAPI::Bedrock::PubSub::Subscription World::ExternalServerWorldList::registerListener ( ::std::function< void()> callback)
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 * World::ExternalServerWorldList::$ctor ( ::Bedrock::NotNullNonOwnerPtr<::IExternalServerFile > externalServerFile,
::ServerLocator & serverLocator,
::Bedrock::NotNullNonOwnerPtr<::ProfanityContext > profanityContext )
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 files: