LeviLamina
Loading...
Searching...
No Matches
MolangMemberArray.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/util/MolangMemberVariable.h"
5
6// auto generated inclusion list
7#include "mc/util/MolangStruct_BaseAndPattern.h"
8#include "mc/util/MolangStruct_MinAndMax.h"
9#include "mc/util/MolangStruct_PoseIndexAndHurtTime.h"
10#include "mc/util/MolangStruct_RGB.h"
11#include "mc/util/MolangStruct_RGBA.h"
12#include "mc/util/MolangStruct_RotYAndPosY.h"
13#include "mc/util/MolangStruct_SpeedAndDirection.h"
14#include "mc/util/MolangStruct_TRS.h"
15#include "mc/util/MolangStruct_TentacleAngleAndSwimRotation.h"
16#include "mc/util/MolangStruct_UV.h"
17#include "mc/util/MolangStruct_XY.h"
18#include "mc/util/MolangStruct_XYZ.h"
19#include "mc/util/MolangStruct_Z.h"
20
21// auto generated forward declare list
22// clang-format off
23class HashedString;
24class Vec2;
25class Vec3;
27struct MolangScriptArg;
28namespace mce { class Color; }
29// clang-format on
30
31struct MolangMemberArray {
32public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<8, 24, ::std::vector<::MolangMemberVariable>> mMembers;
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 MolangMemberArray();
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI MolangMemberArray(::MolangStruct_RGB, ::mce::Color const& color);
46
47 MCAPI MolangMemberArray(::MolangStruct_RGBA, ::mce::Color const& color);
48
49 MCAPI MolangMemberArray(::MolangStruct_XY, ::Vec2 const& vec);
50
51 MCAPI MolangMemberArray(::MolangStruct_XYZ, ::Vec3 const& vec);
52
53#ifdef LL_PLAT_C
54 MCAPI MolangMemberArray(::MolangStruct_Z, float z);
55#endif
56
57 MCAPI MolangMemberArray(::MolangStruct_BaseAndPattern, int base, int pattern);
58
59 MCAPI MolangMemberArray(::MolangStruct_MinAndMax, ::MolangMemberArray&& min, ::MolangMemberArray&& max);
60
61 MCAPI MolangMemberArray(::MolangStruct_PoseIndexAndHurtTime, int poseIndex, int hurtTime);
62
63 MCAPI MolangMemberArray(::MolangStruct_RotYAndPosY, float rotY, float posY);
64
65 MCAPI MolangMemberArray(::MolangStruct_SpeedAndDirection, float speed, ::Vec3 const& direction);
66
67 MCAPI MolangMemberArray(::MolangStruct_TentacleAngleAndSwimRotation, float tentacleAngle, float swimRotation);
68
69 MCAPI MolangMemberArray(::MolangStruct_UV, float u, float v);
70
71 MCAPI MolangMemberArray(
72 ::MolangStruct_TRS,
73 ::MolangMemberArray&& translation,
74 ::MolangMemberArray&& rotation,
75 ::MolangMemberArray&& scale
76 );
77
78 MCAPI void add(::HashedString const& name, ::MolangScriptArg const& value);
79
80 MCAPI ::MolangScriptArg& getOrAdd(::HashedString const& name);
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
86 MCAPI void* $ctor(::MolangStruct_RGB, ::mce::Color const& color);
87
88 MCAPI void* $ctor(::MolangStruct_RGBA, ::mce::Color const& color);
89
90 MCAPI void* $ctor(::MolangStruct_XY, ::Vec2 const& vec);
91
92 MCAPI void* $ctor(::MolangStruct_XYZ, ::Vec3 const& vec);
93
94#ifdef LL_PLAT_C
95 MCAPI void* $ctor(::MolangStruct_Z, float z);
96#endif
97
98 MCAPI void* $ctor(::MolangStruct_BaseAndPattern, int base, int pattern);
99
100 MCAPI void* $ctor(::MolangStruct_MinAndMax, ::MolangMemberArray&& min, ::MolangMemberArray&& max);
101
102 MCAPI void* $ctor(::MolangStruct_PoseIndexAndHurtTime, int poseIndex, int hurtTime);
103
104 MCAPI void* $ctor(::MolangStruct_RotYAndPosY, float rotY, float posY);
105
106 MCAPI void* $ctor(::MolangStruct_SpeedAndDirection, float speed, ::Vec3 const& direction);
107
108 MCAPI void* $ctor(::MolangStruct_TentacleAngleAndSwimRotation, float tentacleAngle, float swimRotation);
109
110 MCAPI void* $ctor(::MolangStruct_UV, float u, float v);
111
112 MCAPI void* $ctor(
113 ::MolangStruct_TRS,
114 ::MolangMemberArray&& translation,
115 ::MolangMemberArray&& rotation,
116 ::MolangMemberArray&& scale
117 );
118 // NOLINTEND
119};
Definition HashedString.h:5
Definition Vec2.h:5
Definition Vec3.h:10
Definition Color.h:13
Definition MolangMemberVariable.h:10
Definition MolangScriptArg.h:28