Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HurtBySensorEntryDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/actor/ActorDamageCause.h"
7#include "mc/deps/shared_types/v1_21_130/actor/brain/MemoryIdentifierDefinition.h"
8#include "mc/deps/shared_types/v1_26_0/actor/brain/BaseSensorEntryDefinition.h"
9
10// auto generated forward declare list
11// clang-format off
13namespace SharedTypes::Brain { struct BlockRef; }
14namespace SharedTypes::Brain { struct EntityRef; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18namespace SharedTypes::v1_26_30::Brain::MemorySensors {
19
20struct HurtBySensorEntryDefinition : public ::SharedTypes::v1_26_0::Brain::BaseSensorEntryDefinition<
21 ::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition> {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::ActorDamageCause>> mDamageCauses;
26 ::ll::TypedStorage<
27 8,
28 56,
29 ::std::optional<::SharedTypes::v1_21_130::Brain::MemoryIdentifierDefinition<::SharedTypes::Brain::EntityRef>>>
30 mDamagingEntityMemory;
31 ::ll::TypedStorage<
32 8,
33 56,
34 ::std::optional<::SharedTypes::v1_21_130::Brain::MemoryIdentifierDefinition<::SharedTypes::Brain::BlockRef>>>
35 mDamagingBlockMemory;
36 ::ll::TypedStorage<
37 8,
38 56,
39 ::std::optional<::SharedTypes::v1_21_130::Brain::MemoryIdentifierDefinition<::WorldBlockPosition>>>
40 mDamageSourcePosMemory;
41 ::ll::TypedStorage<
42 8,
43 56,
44 ::std::optional<
46 mDamageCauseMemory;
47 // NOLINTEND
48
49public:
50 // prevent constructor by default
51 HurtBySensorEntryDefinition();
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCNAPI
58
59 MCNAPI ::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition&
61
62 MCNAPI ::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition&
64
66
68 // NOLINTEND
69
70public:
71 // static functions
72 // NOLINTBEGIN
73 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
74 // NOLINTEND
75
76public:
77 // static variables
78 // NOLINTBEGIN
79 MCNAPI static ::std::string_view const& DAMAGE_CAUSES_NAME();
80
81 MCNAPI static ::std::string_view const& DAMAGE_CAUSE_MEMORY_NAME();
82
83 MCNAPI static ::std::string_view const& DAMAGE_SOURCE_POS_MEMORY_NAME();
84
85 MCNAPI static ::std::string_view const& DAMAGING_BLOCK_MEMORY_NAME();
86
87 MCNAPI static ::std::string_view const& DAMAGING_ENTITY_MEMORY_NAME();
88
89 MCNAPI static ::std::string_view const& TYPE_NAME();
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
96 // NOLINTEND
97
98public:
99 // destructor thunk
100 // NOLINTBEGIN
101 MCNAPI void $dtor();
102 // NOLINTEND
103};
104
105} // namespace SharedTypes::v1_26_30::Brain::MemorySensors
Definition BlockRef.h:16
Definition EntityRef.h:7
Definition MemoryIdentifierDefinition.h:8
Definition BaseSensorEntryDefinition.h:8
static MCAPI ::std::string_view const & DAMAGE_SOURCE_POS_MEMORY_NAME()
MCAPI::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition & operator=(::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition &&)
static MCAPI ::std::string_view const & DAMAGING_BLOCK_MEMORY_NAME()
MCAPI bool operator==(::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition const &) const
static MCAPI ::std::string_view const & DAMAGE_CAUSE_MEMORY_NAME()
static MCAPI ::std::string_view const & DAMAGING_ENTITY_MEMORY_NAME()
MCAPI void * $ctor(::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition const &)
MCAPI HurtBySensorEntryDefinition(::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition const &)
MCAPI::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition & operator=(::SharedTypes::v1_26_30::Brain::MemorySensors::HurtBySensorEntryDefinition const &)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition WorldBlockPosition.h:5
Definition ReflectionCtx.h:11
Definition ctx.h:5