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::NotNullNonOwnerPtr<::LevelEventCoordinator > const &levelEventCoordinator)
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::NotNullNonOwnerPtr<::LevelEventCoordinator > const &levelEventCoordinator)
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)
MCFOLD ::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
MCFOLD ::Bedrock::NonOwnerPointer<::WorldClock const > const tryGetClock (::HashedString const &name) const
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

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::NotNullNonOwnerPtr<::LevelEventCoordinator > > mLevelEventCoordinator
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::std::vector<::Bedrock::PubSub::Subscription > > > mClockSubscriptions

Member Typedef Documentation

◆ RegistrationResult

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

Member Function Documentation

◆ tick()

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

Implements WorldClockRegistry.

◆ $vftable()

MCAPI void ** WorldClockRegistryServer::$vftable ( )
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.

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