3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/actor/state/PropertyMetadata.h"
21namespace ActorPropertyUtils {
24MCNAPI ::PropertyMetadata
const* _getMetadataIfTypeMatches(
25 ::PropertyGroup
const& propertyGroup,
26 uint64 propertyNameHash,
27 ::PropertyMetadata::ContainedType propertyType
30MCNAPI
void addPendingEventResponseChange(
31 ::PropertyComponent
const& props,
33 ::HashedString
const& propertyName,
34 ::MolangScriptArg
const& molangResult,
35 ::std::string
const& displayName
39MCNAPI
void ingestPropertySyncData(
40 ::PropertyComponent& props,
41 ::PropertySyncData
const& syncData,
43 ::EntityOverrides
const& overrides
47MCAPI
bool tryQueueBoolValue(::PropertyComponent
const& props, ::Actor& actor, uint64 propertyNameHash,
bool value);
50tryQueueEnumIndexValueByIndex(::PropertyComponent
const& props, ::Actor& actor, uint64 propertyNameHash, uint64 value);
52MCAPI
bool tryQueueEnumIndexValueByString(
53 ::PropertyComponent
const& props,
55 uint64 propertyNameHash,
56 ::std::string
const& value
59MCAPI
bool tryQueueFloatValue(::PropertyComponent
const& props, ::Actor& actor, uint64 propertyNameHash,
float value);
61MCAPI
bool tryQueueIntValue(::PropertyComponent
const& props, ::Actor& actor, uint64 propertyNameHash,
int value);
63MCNAPI
bool tryQueueVariantValue(
64 ::PropertyComponent
const& properties,
66 uint64 propertyNameHash,
67 ::std::variant<int, float, bool, ::std::string>
const& value
Definition EntityOverrides.h:8
Definition HashedString.h:5
Definition PropertyComponent.h:19
Definition PropertyGroup.h:20
Definition ActorUniqueID.h:5
Definition MolangScriptArg.h:28
Definition PropertySyncData.h:5