Skip to content
LeviMC
English
AutoLightDark
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/Optional.h"
7#include "mc/deps/ecs/ViewT.h"
8#include "mc/deps/ecs/strict/AddRemove.h"
9#include "mc/deps/ecs/strict/EntityFactoryT.h"
10#include "mc/deps/ecs/strict/Filter.h"
11#include "mc/deps/ecs/strict/GlobalRead.h"
12#include "mc/deps/ecs/strict/GlobalWrite.h"
13#include "mc/deps/ecs/strict/IStrictTickingSystem.h"
14#include "mc/deps/ecs/strict/Include.h"
15#include "mc/deps/ecs/strict/OptionalGlobal.h"
16#include "mc/deps/ecs/strict/Read.h"
17#include "mc/deps/ecs/strict/StrictExecutionContext.h"
18#include "mc/deps/ecs/strict/Write.h"
19
20// auto generated forward declare list
21// clang-format off
22class Actor;
24class Vec3;
29struct OffsetsComponent;
30struct PlayerComponent;
33// clang-format on
34
35struct VanillaOffsetSystem : public ::IStrictTickingSystem<::StrictExecutionContext<
36 ::Filter<::PlayerComponent, ::ActorMovementTickNeededComponent>,
37 ::Read<::OffsetsComponent, ::ActorDataFlagComponent, ::PlayerIsSleepingFlagComponent>,
38 ::Write<::VanillaOffsetComponent>,
39 ::AddRemove<::IsHorizontalPoseFlagComponent>,
40 ::GlobalRead<::BaseGameVersionComponent>,
41 ::GlobalWrite<>,
42 ::EntityFactoryT<>>> {
43public:
44 // VanillaOffsetSystem inner types declare
45 // clang-format off
46 struct Views;
47 // clang-format on
48
49 // VanillaOffsetSystem inner types define
50 struct Views {
51 public:
52 // member variables
53 // NOLINTBEGIN
54 ::ll::TypedStorage<
55 8,
56 80,
57 ::ViewT<
65 mView;
66 ::ll::TypedStorage<8, 8, ::OptionalGlobal<::BaseGameVersionComponent>> mBaseGameVersion;
67 // NOLINTEND
68 };
69
78
79public:
80 // member variables
81 // NOLINTBEGIN
82 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
83 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VanillaOffsetSystem::Views>> mViews;
84 // NOLINTEND
85
86public:
87 // virtual functions
88 // NOLINTBEGIN
89 virtual ~VanillaOffsetSystem() /*override*/ = default;
90
91 virtual void tick(
100 ) /*override*/;
101 // NOLINTEND
102
103public:
104 // static functions
105 // NOLINTBEGIN
106 MCNAPI static ::Vec3 getCameraPosition(::Actor const& actor, float alpha);
107 // NOLINTEND
108
109public:
110 // virtual function thunks
111 // NOLINTBEGIN
112 MCAPI void $tick(
121 );
122
123
124 // NOLINTEND
125
126public:
127 // vftables
128 // NOLINTBEGIN
129 MCNAPI static void** $vftable();
130 // NOLINTEND
131};
Definition Actor.h:116
Definition IStrictTickingSystem.h:6
Definition Optional.h:8
Definition StrictEntityContext.h:8
Definition StrictExecutionContext.h:6
Definition Vec3.h:10
Definition ViewT.h:6
Definition ActorDataFlagComponent.h:9
Definition ActorMovementTickNeededComponent.h:5
Definition AddRemove.h:6
Definition BaseGameVersionComponent.h:8
Definition EntityFactoryT.h:6
Definition Filter.h:6
Definition GlobalRead.h:6
Definition GlobalWrite.h:6
Definition Include.h:6
Definition IsHorizontalPoseFlagComponent.h:5
Definition OffsetsComponent.h:8
Definition PlayerComponent.h:5
Definition PlayerIsSleepingFlagComponent.h:5
Definition Read.h:6
Definition VanillaOffsetComponent.h:8
Definition VanillaOffsetSystem.h:50
Definition VanillaOffsetSystem.h:42
static MCAPI ::Vec3 getCameraPosition(::Actor const &actor, float alpha)
static MCAPI void ** $vftable()
Definition Write.h:6
Definition context.h:5