Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptWorldClock Class Reference

Public Types

using Key = uint64
using ScriptTimeMarkerOrNameParam = ::std::variant<::ScriptModuleMinecraft::ScriptTimeMarker, ::std::string>
using TimeMarkerFromNameResult

Public Member Functions

MCAPI ::nonstd::expected< ::Bedrock::NotNullNonOwnerPtr<::TimeMarker const >, ::ScriptModuleMinecraft::ScriptWorldClockTimeMarkerNotFoundError > _getTimeMarkerFromParam (::std::variant<::ScriptModuleMinecraft::ScriptTimeMarker, ::std::string > const &timeMarkerOrName) const
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptWorldClockTimeMarkerNotFoundError > set (::std::variant<::ScriptModuleMinecraft::ScriptTimeMarker, ::std::string > const &timeMarkerOrName)
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptWorldClockTimeMarkerNotFoundError > skipTo (::std::variant<::ScriptModuleMinecraft::ScriptTimeMarker, ::std::string > const &timeMarkerOrName)

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldClock > getOrCreateHandle (::Scripting::WeakLifetimeScope const &scope, ::gsl::not_null<::WorldClock * > clock)

Public Attributes

::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScope > mScope
::ll::TypedStorage< 8, 8, ::gsl::not_null<::WorldClock * > > mClock

Member Typedef Documentation

◆ TimeMarkerFromNameResult

using ScriptModuleMinecraft::ScriptWorldClock::TimeMarkerFromNameResult
Initial value:
::nonstd::expected<
::Bedrock::NotNullNonOwnerPtr<::TimeMarker const>,
Definition ScriptWorldClockTimeMarkerNotFoundError.h:15

Member Function Documentation

◆ _getTimeMarkerFromParam()

MCAPI ::nonstd::expected< ::Bedrock::NotNullNonOwnerPtr<::TimeMarker const >, ::ScriptModuleMinecraft::ScriptWorldClockTimeMarkerNotFoundError > ScriptModuleMinecraft::ScriptWorldClock::_getTimeMarkerFromParam ( ::std::variant<::ScriptModuleMinecraft::ScriptTimeMarker, ::std::string > const & timeMarkerOrName) 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.

◆ set()

MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptWorldClockTimeMarkerNotFoundError > ScriptModuleMinecraft::ScriptWorldClock::set ( ::std::variant<::ScriptModuleMinecraft::ScriptTimeMarker, ::std::string > const & timeMarkerOrName)
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.

◆ skipTo()

MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptWorldClockTimeMarkerNotFoundError > ScriptModuleMinecraft::ScriptWorldClock::skipTo ( ::std::variant<::ScriptModuleMinecraft::ScriptTimeMarker, ::std::string > const & timeMarkerOrName)
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.

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleMinecraft::ScriptWorldClock::bind ( )
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.

◆ getOrCreateHandle()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptWorldClock > ScriptModuleMinecraft::ScriptWorldClock::getOrCreateHandle ( ::Scripting::WeakLifetimeScope const & scope,
::gsl::not_null<::WorldClock * > clock )
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: