LeviLamina
Loading...
Searching...
No Matches
LeashableDefinition.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/ActorDefinitionTrigger.h"
8
9// auto generated forward declare list
10// clang-format off
11class EntityContext;
13struct LeashablePreset;
14namespace JsonUtil { class EmptyClass; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::LeashablePreset>> mPresets;
22 ::ll::TypedStorage<1, 1, bool> mCanBeCut;
23 ::ll::TypedStorage<1, 1, bool> mCanBeStolen;
24 ::ll::TypedStorage<1, 1, bool> mUnleashOnRemoval;
25 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnLeash;
26 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnUnleash;
27 ::ll::TypedStorage<1, 1, bool> mOnUnleashInteractOnly;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI void initialize(::EntityContext& entity, ::LeashableComponent& component) const;
34
35 MCAPI void uninitialize(::EntityContext& entity, ::LeashableComponent&) const;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static void buildSchema(
43 );
44 // NOLINTEND
45};
Definition EntityContext.h:15
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition LeashableComponent.h:16
Definition LeashableDefinition.h:17
Definition LeashablePreset.h:9