LeviLamina
Loading...
Searching...
No Matches
ActorDefinitionDescriptor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/entity/factory/DefinitionInstanceGroup.h"
8#include "mc/world/actor/ActorAliasDescription.h"
9#include "mc/world/actor/ActorPropertiesDescription.h"
10#include "mc/world/actor/AnimationScriptsDescription.h"
11#include "mc/world/actor/AnimationsDescription.h"
12#include "mc/world/actor/IdentifierDescription.h"
13#include "mc/world/actor/IsSpawnableDescription.h"
14#include "mc/world/actor/IsSummonableDescription.h"
15#include "mc/world/actor/RuntimeIdentifierDescription.h"
16#include "mc/world/actor/SpawnCategoryDescription.h"
17
18// auto generated forward declare list
19// clang-format off
20class Actor;
24struct Description;
27namespace SharedTypes::v1_21_100 { struct TickWorldDefinition; }
28// clang-format on
29
31public:
32 // ActorDefinitionDescriptor inner types declare
33 // clang-format off
35 // clang-format on
36
37 // ActorDefinitionDescriptor inner types define
39
40public:
41 // member variables
42 // NOLINTBEGIN
43 ::ll::TypedStorage<8, 64, ::std::unordered_set<::HashedString>> mComponentNames;
44 ::ll::TypedStorage<8, 40, ::IdentifierDescription> mIdentifier;
45 ::ll::TypedStorage<8, 40, ::RuntimeIdentifierDescription> mRuntimeIdentifier;
46 ::ll::TypedStorage<1, 16, ::IsSpawnableDescription> mIsSpawnable;
47 ::ll::TypedStorage<1, 16, ::IsSummonableDescription> mIsSummonable;
48 ::ll::TypedStorage<8, 72, ::AnimationsDescription> mAnimationsDescription;
49 ::ll::TypedStorage<8, 32, ::AnimationScriptsDescription> mAnimationScriptsDescription;
50 ::ll::TypedStorage<8, 24, ::ActorPropertiesDescription> mActorPropertiesDescription;
51 ::ll::TypedStorage<8, 32, ::ActorAliasDescription> mActorAliasDescription;
52 ::ll::TypedStorage<4, 16, ::SpawnCategoryDescription> mSpawnCategoryDescription;
53 ::ll::TypedStorage<8, 24, ::std::vector<::LegacyGoalDefinition>> mGoalDefinitions;
54 ::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionAttribute>> mAttributes;
55 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::ActorDefinitionEvent>> mEventHandlers;
56 ::ll::TypedStorage<8, 72, ::DefinitionInstanceGroup> mDefinitionGroup;
57 ::ll::TypedStorage<8, 72, ::DefinitionInstanceGroup> mGoalDefinitionGroup;
58 ::ll::TypedStorage<8, 8, ::Description*> mAttack;
59 ::ll::TypedStorage<8, 8, ::Description*> mMobEffects;
60 ::ll::TypedStorage<8, 8, ::Description*> mAmphibiousMoveControl;
61 ::ll::TypedStorage<8, 8, ::Description*> mBehavior;
62 ::ll::TypedStorage<8, 8, ::Description*> mBreakBlocks;
63 ::ll::TypedStorage<8, 8, ::Description*> mBreakDoorAnnotation;
64 ::ll::TypedStorage<8, 8, ::Description*> mBucketable;
65 ::ll::TypedStorage<8, 8, ::Description*> mCommandBlock;
66 ::ll::TypedStorage<8, 8, ::Description*> mContainer;
67 ::ll::TypedStorage<8, 8, ::Description*> mDweller;
68 ::ll::TypedStorage<8, 8, ::Description*> mGenericMoveControl;
69 ::ll::TypedStorage<8, 8, ::Description*> mGlideMoveControl;
70 ::ll::TypedStorage<8, 8, ::Description*> mHide;
71 ::ll::TypedStorage<8, 8, ::Description*> mIllagerBeastBlocked;
72 ::ll::TypedStorage<8, 8, ::Description*> mManagedWanderingTrader;
73 ::ll::TypedStorage<8, 8, ::Description*> mMoveControl;
74 ::ll::TypedStorage<8, 8, ::Description*> mDolphinSwimControl;
75 ::ll::TypedStorage<8, 8, ::Description*> mFlyControl;
76 ::ll::TypedStorage<8, 8, ::Description*> mHopControl;
77 ::ll::TypedStorage<8, 8, ::Description*> mHoverControl;
78 ::ll::TypedStorage<8, 8, ::Description*> mSwimControl;
79 ::ll::TypedStorage<8, 8, ::Description*> mWallClimberNavigation;
80 ::ll::TypedStorage<8, 8, ::Description*> mFloatNavigation;
81 ::ll::TypedStorage<8, 8, ::Description*> mFlyingNavigation;
82 ::ll::TypedStorage<8, 8, ::Description*> mHoverNavigation;
83 ::ll::TypedStorage<8, 8, ::Description*> mGenericNavigation;
84 ::ll::TypedStorage<8, 8, ::Description*> mWaterboundNavigation;
85 ::ll::TypedStorage<8, 8, ::Description*> mNavigation;
86 ::ll::TypedStorage<8, 8, ::Description*> mPersistent;
87 ::ll::TypedStorage<8, 8, ::Description*> mPreferredPath;
88 ::ll::TypedStorage<8, 8, ::Description*> mProjectile;
89 ::ll::TypedStorage<8, 8, ::Description*> mPushable;
90 ::ll::TypedStorage<8, 8, ::Description*> mSlimeMoveControl;
91 ::ll::TypedStorage<8, 8, ::Description*> mStrength;
92 ::ll::TypedStorage<8, 8, ::Description*> mTrail;
93 ::ll::TypedStorage<8, 8, ::Description*> mTeleport;
94 ::ll::TypedStorage<8, 8, ::SharedTypes::v1_21_100::TickWorldDefinition*> mTickWorld;
95 ::ll::TypedStorage<8, 8, ::Description*> mTradeResupply;
96 ::ll::TypedStorage<8, 8, ::Description*> mTrust;
97 ::ll::TypedStorage<8, 8, ::Description*> mEconomyTradeable;
98 ::ll::TypedStorage<8, 8, ::Description*> mTransformation;
99 ::ll::TypedStorage<8, 8, ::Description*> mDynamicJumpControl;
100 ::ll::TypedStorage<8, 8, ::Description*> mJumpControl;
101 ::ll::TypedStorage<8, 8, ::Description*> mOpenDoorAnnotation;
102 ::ll::TypedStorage<8, 8, ::Description*> mTripodCamera;
103 // NOLINTEND
104
105public:
106 // prevent constructor by default
108
109public:
110 // member functions
111 // NOLINTBEGIN
113
115
116 MCAPI ::ActorDefinitionDescriptor& combine(::ActorDefinitionDescriptor const& rhs);
117
118 MCAPI bool contains(::ActorDefinitionDescriptor const& rhs) const;
119
120 MCAPI ::ActorDefinitionDescriptor& operator=(::ActorDefinitionDescriptor&&);
121
122 MCAPI ::ActorDefinitionDescriptor& operator=(::ActorDefinitionDescriptor const&);
123
124 MCAPI bool overlaps(::ActorDefinitionDescriptor const& rhs) const;
125
126 MCAPI ::ActorDefinitionDescriptor& subtract(::ActorDefinitionDescriptor const& rhs);
127
129 // NOLINTEND
130
131public:
132 // static functions
133 // NOLINTBEGIN
134 MCAPI static bool _executeEvent(
135 ::Actor& entity,
136 ::std::string const& name,
137 ::std::vector<::std::pair<::std::string const, ::std::string const>>& eventStack,
138 ::VariantParameterList const& list
139 );
140
141 MCAPI static bool _executeTrigger(
142 ::Actor& entity,
143 ::ActorDefinitionTrigger const& trigger,
144 ::std::vector<::std::pair<::std::string const, ::std::string const>>& eventStack,
145 ::VariantParameterList const& list
146 );
147
148 MCAPI static void _forceExecuteTrigger(
149 ::Actor& entity,
150 ::ActorDefinitionTrigger const& trigger,
151 ::std::vector<::std::pair<::std::string const, ::std::string const>>& eventStack,
152 ::VariantParameterList const& list
153 );
154
155 MCAPI static bool executeEvent(::Actor& entity, ::std::string const& name, ::VariantParameterList const& list);
156
157 MCAPI static bool
158 executeTrigger(::Actor& entity, ::ActorDefinitionTrigger const& trigger, ::VariantParameterList const& list);
159 // NOLINTEND
160
161public:
162 // constructor thunks
163 // NOLINTBEGIN
164 MCAPI void* $ctor();
165
166 MCAPI void* $ctor(::ActorDefinitionDescriptor&&);
167 // NOLINTEND
168
169public:
170 // destructor thunk
171 // NOLINTBEGIN
172 MCAPI void $dtor();
173 // NOLINTEND
174};
Definition ActorDefinitionDescriptor.h:30
Definition ActorDefinitionEvent.h:18
Definition ActorDefinitionTrigger.h:5
Definition Actor.h:102
Definition ActorDefinitionAttribute.h:8
Definition ActorDefinitionDescriptor.h:38
Definition Description.h:11
Definition LegacyGoalDefinition.h:33
Definition VariantParameterList.h:13