-
Notifications
You must be signed in to change notification settings - Fork 66
/
Visual.h
172 lines (139 loc) · 3.95 KB
/
Visual.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
#pragma once
BEGIN_SE()
struct CustomIconComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::CustomIcon;
static constexpr auto EngineClass = "eoc::CustomIconComponent";
[[bg3::hidden]]
ScratchBuffer Buffer;
};
struct IconComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::Icon;
static constexpr auto EngineClass = "eoc::IconComponent";
FixedString Icon;
};
struct ActiveCharacterLightComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::ActiveCharacterLight;
static constexpr auto EngineClass = "eoc::light::ActiveCharacterLightComponent";
FixedString Light;
};
struct VisualComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::Visual;
static constexpr auto EngineClass = "ls::VisualComponent";
__int64 field_18;
uint8_t field_20;
uint8_t field_21;
};
struct GameObjectVisualData
{
struct AppearanceElement
{
Guid Material;
Guid Color;
float ColorIntensity;
uint32_t MetallicTint;
float GlossyTint;
};
[[bg3::hidden]]
ScratchBuffer Buffer;
Guid field_58;
Guid field_68;
Guid field_78;
Guid field_88;
Guid field_98;
Array<Guid> Visuals;
Array<AppearanceElement> Elements;
Array<int32_t> field_C8;
};
struct GameObjectVisualComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::GameObjectVisual;
static constexpr auto EngineClass = "eoc::GameObjectVisualComponent";
FixedString RootTemplateId;
uint8_t RootTemplateType;
FixedString Icon;
float field_24;
uint8_t field_28;
GameObjectVisualData VisualData;
FixedString field_F0;
};
struct DisplayNameComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::DisplayName;
static constexpr auto EngineClass = "eoc::DisplayNameComponent";
TranslatedString NameKey;
TranslatedString UnknownKey;
STDString Name;
};
struct GameplayLightComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::GameplayLight;
static constexpr auto EngineClass = "eoc::GameplayLightComponent";
int field_18;
uint8_t field_1C;
int field_20;
int field_24;
int field_28;
};
struct StaticPhysicsComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::StaticPhysics;
static constexpr auto EngineClass = "ls::StaticPhysicsComponent";
[[bg3::hidden]]
void* field_0;
};
struct PhysicsComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::Physics;
static constexpr auto EngineClass = "ls::PhysicsComponent";
[[bg3::hidden]]
void* field_0;
};
struct CharacterCreationAppearanceComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::CharacterCreationAppearance;
static constexpr auto EngineClass = "eoc::character_creation::AppearanceComponent";
Array<Guid> Visuals;
Array<GameObjectVisualData::AppearanceElement> Elements;
Array<int32_t> AdditionalChoices;
Guid SkinColor;
Guid EyeColor;
Guid SecondEyeColor;
Guid HairColor;
};
END_SE()
BEGIN_NS(esv)
struct DisplayName
{
TranslatedString NameKey;
uint8_t field_10;
STDString Name;
};
struct DisplayNameTranslatedString
{
TranslatedString NameKey;
uint8_t field_10;
};
struct DisplayNameListComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::ServerDisplayNameList;
static constexpr auto EngineClass = "esv::DisplayNameListComponent";
Array<DisplayName> Names;
Array<DisplayNameTranslatedString> TranslatedStrings;
};
struct IconListComponent : public BaseComponent
{
static constexpr ExtComponentType ComponentType = ExtComponentType::ServerIconList;
static constexpr auto EngineClass = "esv::IconListComponent";
struct Icon
{
FixedString Icon;
uint32_t field_4;
};
Array<Icon> Icons;
uint8_t field_30;
};
END_NS()