Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
WorldClockRegistryServer Class Reference
Inheritance diagram for WorldClockRegistryServer:

Classes

struct  WorldClockRegistryData

Public Types

using RegistrationResult

Public Member Functions

virtual void tick (::PacketSender &packetSender, ::LevelData const &levelData)
MCAPI WorldClockRegistryServer (::cereal::ReflectionCtx &cerealContext, ::Bedrock::NonOwnerPointer<::LevelEventCoordinator > eventCoordinator)
MCAPI bool loadData (::LevelStorage const &levelStorage)
MCAPI void saveData (::LevelStorage &levelStorage) const
MCAPI void sendInitializationToClient (::NetworkIdentifier const &source, ::SubClientId subClientId, ::PacketSender &packetSender) const
MCAPI void syncClocksWithClients (::PacketSender &packetSender) const
MCAPI void * $ctor (::cereal::ReflectionCtx &cerealContext, ::Bedrock::NonOwnerPointer<::LevelEventCoordinator > eventCoordinator)
MCAPI void $tick (::PacketSender &packetSender, ::LevelData const &levelData)
MCAPI ::nonstd::expected<::Bedrock::NotNullNonOwnerPtr<::WorldClock >, ::WorldClockRegistrationError > _registerClock (::HashedString const &name, ::std::vector<::TimeMarker > const &timeMarkers, bool isVanilla)
MCAPI ::Bedrock::NonOwnerPointer<::WorldClock > const _tryGetClock (::HashedString const &name)
MCAPI int getTime (::HashedString const &clockName) const
MCAPI void setTime (::HashedString const &clockName, int time)
MCAPI ::std::vector<::WorldClockData > toData () const
MCAPI ::Bedrock::NonOwnerPointer<::WorldClock const > const tryGetClock (::HashedString const &name) const

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::cereal::ReflectionCtx > > mCerealContext
::ll::TypedStorage< 8, 48, ::brstd::flat_map< uint64, ::Bedrock::UniqueOwnerPointer<::WorldClock >, ::std::less< uint64 >, ::std::vector< uint64 >, ::std::vector<::Bedrock::UniqueOwnerPointer<::WorldClock > > > > mClocks
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::LevelEventCoordinator > > mLevelEventCoordinator

Member Typedef Documentation

◆ RegistrationResult

using WorldClockRegistry::RegistrationResult
inherited
Initial value:
::nonstd::expected<::Bedrock::NotNullNonOwnerPtr<::WorldClock>, ::WorldClockRegistrationError>
Definition WorldClockRegistrationError.h:9

Constructor & Destructor Documentation

◆ WorldClockRegistryServer()

MCAPI WorldClockRegistryServer::WorldClockRegistryServer ( ::cereal::ReflectionCtx & cerealContext,
::Bedrock::NonOwnerPointer<::LevelEventCoordinator > eventCoordinator )
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

◆ tick()

virtual void WorldClockRegistryServer::tick ( ::PacketSender & packetSender,
::LevelData const & levelData )
virtual

Implements WorldClockRegistry.

◆ loadData()

MCAPI bool WorldClockRegistryServer::loadData ( ::LevelStorage const & levelStorage)
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.

◆ saveData()

MCAPI void WorldClockRegistryServer::saveData ( ::LevelStorage & levelStorage) 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.

◆ sendInitializationToClient()

MCAPI void WorldClockRegistryServer::sendInitializationToClient ( ::NetworkIdentifier const & source,
::SubClientId subClientId,
::PacketSender & packetSender ) 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.

◆ syncClocksWithClients()

MCAPI void WorldClockRegistryServer::syncClocksWithClients ( ::PacketSender & packetSender) 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.

◆ $ctor()

MCAPI void * WorldClockRegistryServer::$ctor ( ::cereal::ReflectionCtx & cerealContext,
::Bedrock::NonOwnerPointer<::LevelEventCoordinator > eventCoordinator )
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.

◆ $tick()

MCAPI void WorldClockRegistryServer::$tick ( ::PacketSender & packetSender,
::LevelData const & levelData )
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.

◆ _registerClock()

MCAPI ::nonstd::expected<::Bedrock::NotNullNonOwnerPtr<::WorldClock >, ::WorldClockRegistrationError > WorldClockRegistry::_registerClock ( ::HashedString const & name,
::std::vector<::TimeMarker > const & timeMarkers,
bool isVanilla )
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.

◆ _tryGetClock()

MCAPI ::Bedrock::NonOwnerPointer<::WorldClock > const WorldClockRegistry::_tryGetClock ( ::HashedString const & name)
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.

◆ getTime()

MCAPI int WorldClockRegistry::getTime ( ::HashedString const & clockName) const
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.

◆ setTime()

MCAPI void WorldClockRegistry::setTime ( ::HashedString const & clockName,
int time )
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.

◆ toData()

MCAPI ::std::vector<::WorldClockData > WorldClockRegistry::toData ( ) const
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.

◆ tryGetClock()

MCAPI ::Bedrock::NonOwnerPointer<::WorldClock const > const WorldClockRegistry::tryGetClock ( ::HashedString const & name) const
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.

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