LeviLamina
Loading...
Searching...
No Matches
RenderParams.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/minecraft_renderer/game/ShadowContext.h"
7#include "mc/deps/shared_types/legacy/FilterSubject.h"
8#include "mc/world/actor/animation/AttachableSlotIndex.h"
9#include "mc/world/response/ResponseParameterContext.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
14class ActorRenderData;
17class Block;
18class BlockPos;
19class BlockSource;
20class DataDrivenModel;
22class ILevel;
23class ItemStackBase;
25class Vec3;
26struct MolangScriptArg;
27namespace ParticleSystem { class ParticleEmitter; }
28// clang-format on
29
31public:
32 // RenderParams inner types declare
33 // clang-format off
34 struct Flags;
35 // clang-format on
36
37 // RenderParams inner types define
38 struct Flags {
39 public:
40 // member variables
41 // NOLINTBEGIN
43 // NOLINTEND
44
45 public:
46 // prevent constructor by default
47 Flags& operator=(Flags const&);
48 Flags(Flags const&);
49 Flags();
50 };
51
52public:
53 // member variables
54 // NOLINTBEGIN
55 ::ll::TypedStorage<8, 8, ::BaseActorRenderContext*> mBaseActorRenderContext;
56 ::ll::TypedStorage<8, 8, ::MolangVariableMap*> mVariables;
57 ::ll::TypedStorage<8, 8, ::AnimationComponent*> mAnimationComponent;
58 ::ll::TypedStorage<8, 8, ::AnimationComponent*> mRootAnimationComponent;
59 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::DataDrivenModel>> mModel;
60 ::ll::TypedStorage<4, 4, ::ResponseParameterContext> mSourceContext;
61 ::ll::TypedStorage<8, 8, ::Actor*> mActor;
62 ::ll::TypedStorage<8, 8, ::Actor*> mOther;
63 ::ll::TypedStorage<8, 8, ::Actor*> mPlayer;
64 ::ll::TypedStorage<8, 8, ::Actor*> mTarget;
65 ::ll::TypedStorage<8, 8, ::Actor*> mParent;
66 ::ll::TypedStorage<8, 8, ::Actor*> mBaby;
67 ::ll::TypedStorage<8, 8, ::Actor*> mDamager;
68 ::ll::TypedStorage<8, 8, ::ILevel*> mLevel;
69 ::ll::TypedStorage<8, 8, ::ItemStackBase*> mItemStackBasePtr;
70 ::ll::TypedStorage<8, 8, ::Block const*> mBlock;
71 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
72 ::ll::TypedStorage<8, 8, ::BlockSource*> mBlockSource;
73 ::ll::TypedStorage<8, 8, ::ActorRenderData*> mActorRenderData;
74 ::ll::TypedStorage<8, 8, ::ParticleSystem::ParticleEmitter*> mParticleEmitter;
75 ::ll::TypedStorage<8, 8, ::IBlockWorldGenAPI*> mBlockPlacementTarget;
76 ::ll::TypedStorage<2, 2, ushort> mSubRenderLayerIndex;
77 ::ll::TypedStorage<8, 64, ::std::function<float()>> mRandomFunction;
78 ::ll::TypedStorage<4, 4, float> mCameraDistance;
79 ::ll::TypedStorage<4, 4, ::ShadowContext> mShadowContext;
80 ::ll::TypedStorage<4, 32, float[8]> mParams;
81 ::ll::TypedStorage<8, 88, ::MolangScriptArg> mThisValue;
82 ::ll::TypedStorage<8, 88, ::MolangScriptArg> mScratchValue;
83 ::ll::TypedStorage<4, 4, ::RenderParams::Flags> mFlags;
84 ::ll::TypedStorage<4, 12, ::Vec3> mClickPos;
85 ::ll::TypedStorage<4, 4, ::AttachableSlotIndex> mSlotIndex;
86 // NOLINTEND
87
88public:
89 // member functions
90 // NOLINTBEGIN
91 MCAPI RenderParams();
92
94
95 MCAPI RenderParams(::RenderParams const&);
96
97 MCAPI ::Actor* getActorTarget(::SharedTypes::Legacy::FilterSubject subject) const;
98
99 MCAPI ::RenderParams& init(
101 ::Actor* animationComponent,
102 ::AnimationComponent* variableMap,
103 ::MolangVariableMap* model,
104 ::std::shared_ptr<::DataDrivenModel> modelScale,
105 float baseActorRenderContext,
106 float frameAlpha
107 );
108
109 MCAPI ::RenderParams& operator=(::RenderParams const&);
110
111 MCAPI ::RenderParams& operator=(::RenderParams&&);
112
113 MCAPI ~RenderParams();
114 // NOLINTEND
115
116public:
117 // constructor thunks
118 // NOLINTBEGIN
119 MCAPI void* $ctor();
120
121 MCAPI void* $ctor(::RenderParams&&);
122
123 MCAPI void* $ctor(::RenderParams const&);
124 // NOLINTEND
125
126public:
127 // destructor thunk
128 // NOLINTBEGIN
129 MCAPI void $dtor();
130 // NOLINTEND
131};
Definition ActorRenderData.h:5
Definition Actor.h:104
Definition AnimationComponent.h:26
Definition BaseActorRenderContext.h:5
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition DataDrivenModel.h:5
Definition IBlockWorldGenAPI.h:25
Definition ILevel.h:203
Definition ItemStackBase.h:35
Definition MolangVariableMap.h:15
Definition RenderParams.h:30
Definition Vec3.h:10
Definition MolangScriptArg.h:47
Definition RenderParams.h:38
Definition Alias.h:14