LeviLamina
Loading...
Searching...
No Matches
VanillaOffsetSystem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/strict/AddRemove.h"
7
#include "mc/deps/ecs/strict/EntityFactoryT.h"
8
#include "mc/deps/ecs/strict/Filter.h"
9
#include "mc/deps/ecs/strict/GlobalRead.h"
10
#include "mc/deps/ecs/strict/GlobalWrite.h"
11
#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
12
#include "mc/deps/ecs/strict/Read.h"
13
#include "mc/deps/ecs/strict/StrictExecutionContext.h"
14
#include "mc/deps/ecs/strict/Write.h"
15
16
// auto generated forward declare list
17
// clang-format off
18
class
Actor
;
19
class
Vec3
;
20
struct
ActorDataFlagComponent
;
21
struct
ActorMovementTickNeededComponent
;
22
struct
BaseGameVersionComponent
;
23
struct
IsHorizontalPoseFlagComponent
;
24
struct
OffsetsComponent
;
25
struct
PlayerComponent
;
26
struct
PlayerIsSleepingFlagComponent
;
27
struct
VanillaOffsetComponent
;
28
// clang-format on
29
30
struct
VanillaOffsetSystem
:
public
::IStrictTickingSystem
<::StrictExecutionContext<
31
::Filter<::PlayerComponent, ::ActorMovementTickNeededComponent>,
32
::Read<::OffsetsComponent, ::ActorDataFlagComponent, ::PlayerIsSleepingFlagComponent>,
33
::Write<::VanillaOffsetComponent>,
34
::AddRemove<::IsHorizontalPoseFlagComponent>,
35
::GlobalRead<::BaseGameVersionComponent>,
36
::GlobalWrite<>,
37
::EntityFactoryT<>>> {
38
public
:
39
// VanillaOffsetSystem inner types define
40
using
Base =
::IStrictTickingSystem
<
::StrictExecutionContext
<
41
::Filter<::PlayerComponent, ::ActorMovementTickNeededComponent>
,
42
::Read<::OffsetsComponent, ::ActorDataFlagComponent, ::PlayerIsSleepingFlagComponent>
,
43
::Write<::VanillaOffsetComponent>
,
44
::AddRemove<::IsHorizontalPoseFlagComponent>
,
45
::GlobalRead<::BaseGameVersionComponent>
,
46
::GlobalWrite<>
,
47
::EntityFactoryT<>
>>;
48
49
public
:
50
// member variables
51
// NOLINTBEGIN
52
::ll::TypedStorage<1, 1, bool const> mIsClientSide;
53
// NOLINTEND
54
55
public
:
56
// virtual functions
57
// NOLINTBEGIN
58
virtual
void
tick(
59
::StrictExecutionContext
<
60
::Filter<::PlayerComponent, ::ActorMovementTickNeededComponent>
,
61
::Read<::OffsetsComponent, ::ActorDataFlagComponent, ::PlayerIsSleepingFlagComponent>
,
62
::Write<::VanillaOffsetComponent>
,
63
::AddRemove<::IsHorizontalPoseFlagComponent>
,
64
::GlobalRead<::BaseGameVersionComponent>
,
65
::GlobalWrite<>
,
66
::EntityFactoryT<>
>&
context
67
)
/*override*/
;
68
// NOLINTEND
69
70
public
:
71
// static functions
72
// NOLINTBEGIN
73
MCAPI static ::Vec3 getCameraPosition(
::Actor
const
& actor,
float
alpha);
74
// NOLINTEND
75
76
public
:
77
// virtual function thunks
78
// NOLINTBEGIN
79
MCAPI
void
$tick(
80
::StrictExecutionContext
<
81
::Filter<::PlayerComponent, ::ActorMovementTickNeededComponent>
,
82
::Read<::OffsetsComponent, ::ActorDataFlagComponent, ::PlayerIsSleepingFlagComponent>
,
83
::Write<::VanillaOffsetComponent>
,
84
::AddRemove<::IsHorizontalPoseFlagComponent>
,
85
::GlobalRead<::BaseGameVersionComponent>
,
86
::GlobalWrite<>
,
87
::EntityFactoryT<>
>&
context
88
);
89
90
91
// NOLINTEND
92
93
public
:
94
// vftables
95
// NOLINTBEGIN
96
MCNAPI
static
void
**
$vftable
();
97
// NOLINTEND
98
};
Actor
Definition
Actor.h:113
IStrictTickingSystem
Definition
IStrictTickingSystem.h:6
StrictExecutionContext
Definition
StrictExecutionContext.h:6
Vec3
Definition
Vec3.h:10
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:9
ActorMovementTickNeededComponent
Definition
ActorMovementTickNeededComponent.h:5
AddRemove
Definition
AddRemove.h:6
BaseGameVersionComponent
Definition
BaseGameVersionComponent.h:8
EntityFactoryT
Definition
EntityFactoryT.h:6
Filter
Definition
Filter.h:6
GlobalRead
Definition
GlobalRead.h:6
GlobalWrite
Definition
GlobalWrite.h:6
IsHorizontalPoseFlagComponent
Definition
IsHorizontalPoseFlagComponent.h:5
OffsetsComponent
Definition
OffsetsComponent.h:8
PlayerComponent
Definition
PlayerComponent.h:5
PlayerIsSleepingFlagComponent
Definition
PlayerIsSleepingFlagComponent.h:5
Read
Definition
Read.h:6
VanillaOffsetComponent
Definition
VanillaOffsetComponent.h:8
VanillaOffsetSystem
Definition
VanillaOffsetSystem.h:37
VanillaOffsetSystem::$vftable
static MCAPI void ** $vftable()
Write
Definition
Write.h:6
context
Definition
context.h:5
src
mc
entity
systems
VanillaOffsetSystem.h
Generated on
for LeviLamina by
1.16.1