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
18class Actor;
19class Vec3;
24struct OffsetsComponent;
26struct PlayerComponent;
30// clang-format on
31
32struct VanillaOffsetSystem : public ::IStrictTickingSystem<::StrictExecutionContext<
33 ::Filter<::PlayerComponent, ::ActorMovementTickNeededComponent>,
34 ::Read<::OffsetsComponent, ::ActorDataFlagComponent, ::PlayerIsSleepingFlagComponent>,
35 ::Write<::VanillaOffsetComponent>,
36 ::AddRemove<::IsHorizontalPoseFlagComponent>,
37 ::GlobalRead<::BaseGameVersionComponent>,
38 ::GlobalWrite<>,
39 ::EntityFactoryT<>>> {
40public:
41 // VanillaOffsetSystem inner types define
50
51public:
52 // member variables
53 // NOLINTBEGIN
54 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
55 // NOLINTEND
56
57public:
58 // virtual functions
59 // NOLINTBEGIN
60 virtual void tick(
69 ) /*override*/;
70 // NOLINTEND
71
72public:
73 // static functions
74 // NOLINTBEGIN
75 MCAPI static ::TickingSystemWithInfo createSystem(bool isClientSide);
76
77 MCAPI static ::Vec3 getCameraPosition(::Actor const& actor, float alpha);
78
79 MCAPI static ::Vec3 getCameraPosition(
80 ::Vec3 const& interpolatedRidingPosition,
81 ::PassengerRenderingRidingOffsetComponent const* passengerOffset,
82 ::VanillaOffsetComponent const* cameraOffset,
83 float alpha
84 );
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90 MCAPI void $tick(
99 );
100
101
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
Definition Actor.h:125
Definition IStrictTickingSystem.h:6
Definition StrictExecutionContext.h:6
Definition Vec3.h:10
Definition ActorDataFlagComponent.h:10
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 IsHorizontalPoseFlagComponent.h:5
Definition OffsetsComponent.h:8
Definition PassengerRenderingRidingOffsetComponent.h:8
Definition PlayerComponent.h:5
Definition PlayerIsSleepingFlagComponent.h:5
Definition Read.h:6
Definition TickingSystemWithInfo.h:13
Definition VanillaOffsetComponent.h:8
Definition VanillaOffsetSystem.h:39
static MCAPI void ** $vftable()
Definition Write.h:6
Definition context.h:5