LeviLamina
Loading...
Searching...
No Matches
MobEffectDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/actor/ActorFilterGroup.h"
8#include "mc/world/effect/EffectDuration.h"
9
10// auto generated forward declare list
11// clang-format off
12class EntityContext;
14namespace JsonUtil { class EmptyClass; }
15// clang-format on
16
17class MobEffectDefinition {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, float> mEffectRange;
22 ::ll::TypedStorage<4, 4, int> mEffectId;
23 ::ll::TypedStorage<4, 4, ::EffectDuration> mEffectTime;
24 ::ll::TypedStorage<4, 4, int> mCooldownTicks;
25 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mEntityFilter;
26 ::ll::TypedStorage<1, 1, bool> mIsAmbient;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI MobEffectDefinition();
33
34 MCAPI void initialize(::EntityContext&, ::MobEffectComponent& component) const;
35
36 MCAPI void setCooldownTimeInTicks(int const& seconds);
37
38 MCAPI void setEffectTimeInTicks(int const& seconds);
39
40 MCAPI void setEffectTimeWithInfiniteString(::std::string const& duration);
41
42 MCAPI void setMobEffectByName(::std::string const& mobEffect);
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static void buildSchema(
50 );
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor();
57 // NOLINTEND
58};
Definition EntityContext.h:17
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition MobEffectComponent.h:17