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

Public Types

using Key = ::Scoreboard const*

Public Member Functions

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > _getOrCreateScoreboardObjective (::Objective const &objective)
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity > getOrCreateScoreboardIdentity (::IdentityDefinition const &identity)
MCAPI ::std::optional<::ScoreboardId > tryGetScoreboardParticipantScoreboardId (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const &participant) const

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScope > mScope
::ll::TypedStorage< 8, 8, ::gsl::not_null<::Scoreboard * > > mScoreboard
::ll::TypedStorage< 8, 8, ::gsl::not_null<::Level * > > mLevel
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptScoreboardListener > > mScoreboardListener
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > > mObjectives
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::ScoreboardId, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity > > > mIdentities

Member Function Documentation

◆ _getOrCreateScoreboardObjective()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > ScriptModuleMinecraft::ScriptScoreboard::_getOrCreateScoreboardObjective ( ::Objective const & objective)
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.

◆ getOrCreateScoreboardIdentity()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity > ScriptModuleMinecraft::ScriptScoreboard::getOrCreateScoreboardIdentity ( ::IdentityDefinition const & identity)
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.

◆ tryGetScoreboardParticipantScoreboardId()

MCAPI ::std::optional<::ScoreboardId > ScriptModuleMinecraft::ScriptScoreboard::tryGetScoreboardParticipantScoreboardId ( ::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const & participant) 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.

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleMinecraft::ScriptScoreboard::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.

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