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

Public Types

using RegistrationResult

Public Member Functions

virtual void tick (::PacketSender &packetSender, ::LevelData const &levelData)=0
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
Initial value:
::nonstd::expected<::Bedrock::NotNullNonOwnerPtr<::WorldClock>, ::WorldClockRegistrationError>
Definition WorldClockRegistrationError.h:9

Member Function Documentation

◆ _registerClock()

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