-
Notifications
You must be signed in to change notification settings - Fork 0
/
struct.h
126 lines (104 loc) · 1.96 KB
/
struct.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
#ifndef STRUCT_H
#define STRUCT_H
#include "base.h"
#include"enum.h"
struct Vector2
{
double X = 0, Y = 0;
};
struct Vector2f
{
float X = 0, Y = 0;
};
struct Vector3 : public Vector2
{
Vector3() {};
Vector3(double A, double B, double C)
{
X = A;
Y = B;
Z = C;
};
double Z = 0.0;
};
struct Vector4 : public Vector3
{
double W = 0.0;
};
struct FMatrix
{
double _11, _12, _13, _14;
double _21, _22, _23, _24;
double _31, _32, _33, _34;
double _41, _42, _43, _44;
};
struct FHitResult
{
char pa_00[0x00E8];
};
struct FRotator
{
float Pitch = 0;
float Yaw = 0;
float Roll = 0;
};
struct FLinearColor
{
float R, G, B, A;
};
struct BoneIdx
{
BoneIdx()
{
head = BoneFNames::Head;
neck_01 = BoneFNames::neck_01;
spine_03 = BoneFNames::spine_03;
spine_02 = BoneFNames::spine_02;
spine_01 = BoneFNames::spine_01;
pelvis = BoneFNames::pelvis;
hand_l = BoneFNames::hand_l;
lowerarm_l = BoneFNames::lowerarm_l;
upperarm_l = BoneFNames::upperarm_l;
clavicle_l = BoneFNames::clavicle_l;
clavicle_r = BoneFNames::clavicle_r;
upperarm_r = BoneFNames::upperarm_r;
lowerarm_r = BoneFNames::lowerarm_r;
hand_r = BoneFNames::hand_r;
ball_l = BoneFNames::ball_l;
foot_l = BoneFNames::foot_l;
calf_l = BoneFNames::calf_l;
thigh_l = BoneFNames::thigh_l;
thigh_r = BoneFNames::thigh_r;
calf_r = BoneFNames::calf_r;
foot_r = BoneFNames::foot_r;
ball_r = BoneFNames::ball_r;
}
int head, neck_01, spine_03, spine_02, spine_01, pelvis;
int hand_l, lowerarm_l, upperarm_l, clavicle_l, clavicle_r, upperarm_r, lowerarm_r, hand_r;
int ball_l, foot_l, calf_l, thigh_l, thigh_r, calf_r, foot_r, ball_r;
};
struct BoneName
{
uint32_t Name;
int A;
int B;
};
struct FTransform
{
Vector4 Rotation;
Vector4 Translation;
Vector4 Scale3D;
//FMatrix ToMatrixWithScale();
};
struct FNameEntry22
{
uint16_t bIsWide : 1;
uint16_t LowercaseProbeHash : 5;
uint16_t Len : 10;
union
{
char AnsiName[1024];
wchar_t WideName[1024];
};
};
#endif