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

Public Types

using RegistrationResult

Public Member Functions

virtual void tick (::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, 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

Member Function Documentation

◆ tick()

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

Implements WorldClockRegistry.

◆ _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: