LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptScoreboard Class Reference
Inheritance diagram for ScriptModuleMinecraft::ScriptScoreboard:

Public Types

using Key = ::Scoreboard const*

Public Member Functions

MCAPI ScriptScoreboard (::Scoreboard &scoreboard, ::Level &level, ::Scripting::WeakLifetimeScope const &scope)
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective_getOrCreateScoreboardObjective (::Objective const &objective)
MCAPI ::Scripting::Result_deprecated< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > addObjective (::std::string const &objectiveId, ::std::optional<::std::string > const &displayName)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > clearObjectiveAtDisplaySlot (::ScriptModuleMinecraft::ScriptDisplayObjectiveSlotId displaySlotId)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > getObjective (::std::string const &objectiveId)
MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptScoreboardObjectiveDisplayOptionsgetObjectiveAtDisplaySlot (::ScriptModuleMinecraft::ScriptDisplayObjectiveSlotId displaySlotId)
MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > getObjectives ()
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentitygetOrCreateScoreboardIdentity (::IdentityDefinition const &identity)
MCAPI::ScoreboardIdentityRef * getOrCreateScoreboardIdentityRef (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const &participant)
MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity > > getParticipants ()
MCAPI void removeIdentityById (::ScoreboardId const &id)
MCAPI ::Scripting::Result_deprecated< bool > removeObjective (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective >, ::std::string > const &objectiveId)
MCAPI void removeObjectiveByName (::std::string const &objective)
MCAPI ::Scripting::Result_deprecated< ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > > setObjectiveAtDisplaySlot (::ScriptModuleMinecraft::ScriptDisplayObjectiveSlotId displaySlotId, ::ScriptModuleMinecraft::ScriptScoreboardObjectiveDisplayOptions const &displaySetting)
MCAPI::ScoreboardIdentityRef * tryGetScoreboardParticipantIdentityRef (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const &participant) const
MCAPI ::std::optional<::ScoreboardIdtryGetScoreboardParticipantScoreboardId (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const &participant) const
MCAPI void * $ctor (::Scoreboard &scoreboard, ::Level &level, ::Scripting::WeakLifetimeScope const &scope)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScopemScope
::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

◆ $vftable()

MCAPI void ** ScriptModuleMinecraft::ScriptScoreboard::$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: