3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/lifetime_registry/WeakHandleFromThis.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/scripting/modules/minecraft/scoreboard/ScriptDisplayObjectiveSlotId.h"
19namespace ScriptModuleMinecraft {
class ScriptActor; }
20namespace ScriptModuleMinecraft {
class ScriptScoreboardIdentity; }
21namespace ScriptModuleMinecraft {
class ScriptScoreboardObjective; }
22namespace ScriptModuleMinecraft {
class ScriptScoreboardObjectiveDisplayOptions; }
23namespace Scripting {
class WeakLifetimeScope; }
24namespace Scripting {
struct ClassBinding; }
27namespace ScriptModuleMinecraft {
59 MCNAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective>
62 MCNAPI ::Scripting::Result_deprecated<
64 addObjective(::std::string
const& objectiveId, ::std::optional<::std::string>
const& displayName);
66 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective>>
69 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective>>
72 MCNAPI ::std::optional<::ScriptModuleMinecraft::ScriptScoreboardObjectiveDisplayOptions>
75 MCNAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective>>
78 MCNAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity>
85 ::std::string>
const& participant
88 MCNAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity>>
96 ::std::string>
const& objectiveId
99 MCNAPI ::Scripting::Result_deprecated<
100 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective>>>
102 ::ScriptModuleMinecraft::ScriptDisplayObjectiveSlotId displaySlotId,
110 ::std::string>
const& participant
117 ::std::string>
const& participant
124 MCNAPI static ::Scripting::ClassBinding
bind();
Definition IdentityDefinition.h:10
Definition Objective.h:17
Definition ScoreboardIdentityRef.h:17
Definition Scoreboard.h:32
Definition ScriptScoreboardObjectiveDisplayOptions.h:17
Definition ScriptScoreboard.h:29
MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > getObjectives()
MCAPI ::std::optional<::ScoreboardId > tryGetScoreboardParticipantScoreboardId(::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const &participant) const
MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptScoreboardObjectiveDisplayOptions > getObjectiveAtDisplaySlot(::ScriptModuleMinecraft::ScriptDisplayObjectiveSlotId displaySlotId)
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity > getOrCreateScoreboardIdentity(::IdentityDefinition const &identity)
MCAPI ScriptScoreboard(::Scoreboard &scoreboard, ::Level &level, ::Scripting::WeakLifetimeScope const &scope)
MCAPI::ScoreboardIdentityRef * getOrCreateScoreboardIdentityRef(::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const &participant)
MCAPI ::Scripting::Result_deprecated< bool > removeObjective(::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective >, ::std::string > const &objectiveId)
MCAPI::ScoreboardIdentityRef * tryGetScoreboardParticipantIdentityRef(::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity >, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::std::string > const &participant) const
static MCAPI ::Scripting::ClassBinding bind()
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 > > getObjective(::std::string const &objectiveId)
MCAPI ::Scripting::Result_deprecated< ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > > setObjectiveAtDisplaySlot(::ScriptModuleMinecraft::ScriptDisplayObjectiveSlotId displaySlotId, ::ScriptModuleMinecraft::ScriptScoreboardObjectiveDisplayOptions const &displaySetting)
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > _getOrCreateScoreboardObjective(::Objective const &objective)
MCAPI void removeIdentityById(::ScoreboardId const &id)
MCAPI void * $ctor(::Scoreboard &scoreboard, ::Level &level, ::Scripting::WeakLifetimeScope const &scope)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardObjective > > clearObjectiveAtDisplaySlot(::ScriptModuleMinecraft::ScriptDisplayObjectiveSlotId displaySlotId)
MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptScoreboardIdentity > > getParticipants()
static MCAPI void ** $vftable()
Definition StrongTypedObjectHandle.h:8
Definition WeakHandleFromThis.h:8
Definition WeakLifetimeScope.h:12
Definition ScoreboardId.h:10