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
18MCNAPI bool _checkAndQueueBoolValue(
19 ::PropertyGroup const&,
20 uint64 overallIndex,
21 ::ActorDefinitionDiffList* actorDiffList,
22 bool value
23);
24
25MCNAPI bool _checkAndQueueEnumIndexValueByHash(
26 ::PropertyGroup const& propertyGroup,
27 uint64 enumIndexArrayIndex,
28 uint64 overallIndex,
29 ::ActorDefinitionDiffList* actorDiffList,
30 uint64 value
31);
32
33MCNAPI bool _checkAndQueueFloatValue(
34 ::PropertyGroup const&,
35 uint64,
36 uint64 overallIndex,
37 ::ActorDefinitionDiffList* actorDiffList,
38 float value
39);
40
41MCNAPI bool _checkAndQueueIntValue(
42 ::PropertyGroup const&,
43 uint64,
44 uint64 overallIndex,
45 ::ActorDefinitionDiffList* actorDiffList,
46 int value
47);
48
49MCNAPI void addPendingEventResponseChange(
50 ::PropertyComponent const& props,
51 ::Actor& actor,
52 ::HashedString const& propertyName,
53 ::MolangScriptArg const& molangResult,
54 ::std::string const& displayName
55);
56
57MCNAPI bool tryQueueBoolValue(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, bool value);
58
59MCNAPI bool
60tryQueueEnumIndexValueByIndex(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, uint64 value);
61
62MCNAPI bool tryQueueEnumIndexValueByString(
63 ::PropertyComponent const& props,
64 ::Actor& actor,
65 uint64 propertyNameHash,
66 ::std::string const& value
67);
68
69MCNAPI bool tryQueueFloatValue(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, float value);
70
71MCNAPI bool tryQueueIntValue(::PropertyComponent const& props, ::Actor& actor, uint64 propertyNameHash, int value);
72// NOLINTEND
73
74} // namespace ActorPropertyUtils
Definition ActorDefinitionDiffList.h:12
Definition Actor.h:103
Definition HashedString.h:5
Definition PropertyComponent.h:19
Definition PropertyGroup.h:19
Definition MolangScriptArg.h:33