LeviLamina
Loading...
Searching...
No Matches
ActorPropertyUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
9class HashedString;
11class PropertyGroup;
12struct MolangScriptArg;
13// clang-format on
14
15namespace ActorPropertyUtils {
16// functions
17// NOLINTBEGIN
18MCAPI bool _checkAndQueueBoolValue(
19 ::PropertyGroup const& overallIndex,
20 uint64 actorDiffList,
22 bool
23);
24
25MCAPI bool _checkAndQueueEnumIndexValueByHash(
26 ::PropertyGroup const& propertyGroup,
27 uint64 enumIndexArrayIndex,
28 uint64 overallIndex,
29 ::ActorDefinitionDiffList* actorDiffList,
30 uint64 value
31);
32
33MCAPI bool _checkAndQueueFloatValue(
34 ::PropertyGroup const& overallIndex,
35 uint64 actorDiffList,
36 uint64 value,
38 float
39);
40
41MCAPI bool _checkAndQueueIntValue(
42 ::PropertyGroup const& overallIndex,
43 uint64 actorDiffList,
44 uint64 value,
46 int
47);
48
49MCAPI void addPendingEventResponseChange(
50 ::PropertyComponent const& props,
51 ::Actor& actor,
52 ::HashedString const& propertyName,
53 ::MolangScriptArg const& molangResult,
54 ::std::string const& displayName
55);
56
57MCAPI bool tryQueueBoolValue(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, bool value);
58
59MCAPI bool
60tryQueueEnumIndexValueByIndex(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, uint64 value);
61
62MCAPI bool tryQueueEnumIndexValueByString(
63 ::PropertyComponent const& props,
64 ::Actor& actor,
65 uint64 propertyNameHash,
66 ::std::string const& value
67);
68
69MCAPI bool tryQueueFloatValue(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, float value);
70
71MCAPI bool tryQueueIntValue(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, int value);
72// NOLINTEND
73
74} // namespace ActorPropertyUtils
Definition ActorDefinitionDiffList.h:12
Definition Actor.h:104
Definition HashedString.h:5
Definition PropertyComponent.h:18
Definition PropertyGroup.h:19
Definition MolangScriptArg.h:47