LeviLamina
Loading...
Searching...
No Matches
DefinitionEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/molang/ExpressionNode.h"
7#include "mc/world/actor/DefinitionEventType.h"
8#include "mc/world/actor/DefinitionTrigger.h"
9#include "mc/world/response/EventResponseCollection.h"
10
11// auto generated forward declare list
12// clang-format off
13class RenderParams;
15namespace SharedTypes::v1_26_20::BlockDefinition { struct DeprecatedDefinitionEvent; }
16// clang-format on
17
18class DefinitionEvent {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, float> mProbability;
23 ::ll::TypedStorage<8, 16, ::ExpressionNode> mCondition;
24 ::ll::TypedStorage<4, 4, ::DefinitionEventType> mType;
25 ::ll::TypedStorage<8, 56, ::DefinitionTrigger> mTrigger;
26 ::ll::TypedStorage<8, 24, ::std::vector<::DefinitionEvent>> mChildren;
27 ::ll::TypedStorage<8, 24, ::EventResponseCollection> mResponses;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 DefinitionEvent& operator=(DefinitionEvent const&);
33 DefinitionEvent();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI DefinitionEvent(::DefinitionEvent const&);
39
40 MCAPI void evaluateEvent(::RenderParams& params, ::std::vector<::DefinitionModifier>& modifications) const;
41
42 MCAPI ::DefinitionEvent&
44
45 MCAPI ::SharedTypes::v1_26_20::BlockDefinition::DeprecatedDefinitionEvent getSharedType() const;
46
47 MCAPI ~DefinitionEvent();
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::DefinitionEvent const&);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61};
Definition RenderParams.h:29
Definition DefinitionModifier.h:11