forked from sruon/ffxivlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Enums.cs
169 lines (161 loc) · 3.42 KB
/
Enums.cs
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
namespace ffxivlib
{
/// <summary>
/// Job ID as used in various structures
/// </summary>
public enum JOB : byte
{
// ReSharper disable InconsistentNaming
GLD = 0x1,
PGL = 0x2,
MRD = 0x3,
LNC = 0x4,
ARC = 0x5,
CNJ = 0x6,
THM = 0x7,
CPT = 0x8,
BSM = 0x9,
ARM = 0xA,
GSM = 0xB,
LTW = 0xC,
WVR = 0xD,
ALC = 0xE,
CUL = 0xF,
MIN = 0x10,
BOT = 0x11,
FSH = 0x12,
PLD = 0x13,
MNK = 0x14,
WAR = 0x15,
DRG = 0x16,
BRD = 0x17,
WHM = 0x18,
BLM = 0x19,
ACN = 0x2A,
SMN = 0x2B,
SCH = 0x2C,
Chocobo = 0x2D,
Pet = 0x2E
// ReSharper restore InconsistentNaming
}
public enum SEX : byte
{
Male = 0x0,
Female = 0x1
}
/// <summary>
/// Current action of an Entity (PC)
/// </summary>
public enum ENTITYSTATUS : byte
{
Idle = 0x01,
Dead = 0x02,
Sitting = 0x03,
Mounted = 0x04,
Crafting = 0x05,
Gathering = 0x06,
Melding = 0x07,
SMachine = 0x08
}
/// <summary>
///
/// </summary>
public enum COMBATSTATUS : byte
{
Passive = 0x0,
Aggressive = 0x1,
AttackingOther = 0x7,
Attacking = 0x6,
// Hmm...
AttackingOther_2 = 135,
Attacking_2 = 134
}
/// <summary>
/// Status of an Entity (PC/NPC)
/// </summary>
public enum STATUS : byte
{
Engaged = 0x01,
Idle = 0x02,
Crafting = 0x05
}
/// <summary>
/// Type of the entity
/// </summary>
public enum TYPE : byte
{
Player = 0x01,
Mob = 0x02,
NPC = 0x03,
Aetheryte = 0x05,
Gathering = 0x06,
Minion = 0x09
}
/// <summary>
/// Icons
/// </summary>
public enum ICON : byte
{
// I obviously don't know what most of these mean... names are tentative
None = 0x0,
Yoshida = 0x1,
GM = 0x2,
SGM = 0x3,
Clover = 0x4,
Dc = 0x5,
Smiley = 0x6,
RedCross = 0x9,
GreyDc = 0xA,
Processing = 0xB,
Busy = 0xC,
Duty = 0xD,
ProcessingYellow = 0xE,
ProcessingGrey = 0xF,
Cutscene = 0x10,
Away = 0x12,
Sitting = 0x13,
WrenchYellow = 0x14,
Wrench = 0x15,
Dice = 0x16,
ProcessingGreen = 0x17,
Sword = 0x18,
AllianceLeader = 0x1A,
AllianceBlueLeader = 0x1B,
AllianceBlue = 0x1C,
PartyLeader = 0x1D,
PartyMember = 0x1E,
DutyFinder = 0x18,
Recruiting = 0x19,
Sprout = 0x1F,
Gil = 0x20
}
/// <summary>
/// Because SE likes to use values that don't make sense.
/// </summary>
public enum CURRENTTARGET : byte
{
Own = 0x1,
True = 0x2,
False = 0x4,
}
/// <summary>
/// This is used for getCurrentEquipment()
/// </summary>
public enum EQUIP_POS : byte
{
MainHand = 0,
OffHand = 1,
Head = 2,
Body = 3,
Hands = 4,
Waist = 5,
Legs = 6,
Feet = 7,
Neck = 8,
Ears = 9,
Wrists = 10,
LeftRing = 11,
RightRing = 12,
SoulCrystal = 13
}
}