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();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI DefinitionEvent(::DefinitionEvent const&);
38
39 MCAPI void evaluateEvent(::RenderParams& params, ::std::vector<::DefinitionModifier>& modifications) const;
40
41 MCAPI ::DefinitionEvent&
43
44 MCAPI ::SharedTypes::v1_26_20::BlockDefinition::DeprecatedDefinitionEvent getSharedType() const;
45
46 MCAPI ::DefinitionEvent& operator=(::DefinitionEvent const&);
47
48 MCAPI ~DefinitionEvent();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::DefinitionEvent const&);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62};
Definition RenderParams.h:30
Definition DefinitionModifier.h:11