-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathConstants.cs
138 lines (114 loc) · 3.38 KB
/
Constants.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
using System;
using System.Collections.Generic;
public static class Constants
{
// ReSharper disable InconsistentNaming
internal const string PROCESS_NAME = "ffxiv";
#region Widget related pointer paths
// Lobby widget
internal static readonly List<int> SERVERPTR = new List<int>
{
0x1074A10,
0x34,
0x4F4,
0x5A6
};
// Action bar widget
internal static readonly List<int> ACTIONPTR = new List<int>
{
0x119D3A0,
0x7A8,
0xC48,
0x20,
0x14
};
#endregion
#region Pointer paths
// Simple representation of pointer paths, do not add base module, last member will be expected to be the offset so may have to add extra 0 at the end if you dont need it
internal static readonly List<int> PCPTR = new List<int>
{
0x0119B514,
0x0
};
internal static readonly List<int> GATHERINGPTR = new List<int>
{
0x1194FC8,
0x0
};
internal static readonly List<int> PARTYPTR = new List<int>
{
0x4590C,
0x10
};
internal static readonly List<int> TARGETPTR = new List<int>
{
0x13510,
0x190
};
internal static readonly List<int> PLAYERPTR = new List<int>
{
0xED7C0,
0x0
};
internal static readonly List<int> CHATPTR = new List<int>
{
0xE8C6A8,
0x18,
0x204
};
internal static readonly List<int> INVENTORYPTR = new List<int>
{
0x1195C48,
0
};
internal static readonly List<int> ZONEPTR = new List<int>
{
0x8AF5C,
0x0
};
internal static readonly List<int> SUBZONEPTR = new List<int>
{
0x8AF5C,
0x4
};
internal static readonly List<int> MOVEMENTPTR = new List<int>
{
0x790954,
0x0
};
#endregion
#region Array size
internal const uint CHATLOG_ARRAY_SIZE = 1000;
internal const uint ENTITY_ARRAY_SIZE = 100;
internal const uint PARTY_MEMBER_ARRAY_SIZE = 8;
internal const uint GATHERING_ARRAY_SIZE = 40;
#endregion
#region Chat related
internal const int TIMESTAMP_SIZE = 8;
internal const int CHATCODE_SIZE = 4;
#endregion
#region ResourceParser related
/// <summary>
/// Some parameters can be overriden BEFORE instanciating FFXIVLIB.
/// </summary>
public class ResourceParser
{
public static string RESOURCES_FOLDER = "Resources";
/// <summary>
/// Valid values : ja, fr, en, de
/// </summary>
public static string RESOURCES_LANGUAGE = "en";
internal const string BUFF_FILE = "Buffs.xml";
internal const string ITEM_FILE = "Item.xml";
internal const string TITLE_FILE = "Title.xml";
internal const string JOB_FILE = "ClassJob.xml";
internal const string GRAND_COMPANY_FILE = "GrandCompany.xml";
internal const string GRAND_COMPANY_RANK_FILE = "GCRankUldahMaleText.xml";
internal const string AUTOTRANSLATE_FILE = "Autotranslate.xml";
internal const string ZONE_FILE = "PlaceName.xml";
internal const string QUEST_FILE = "Quest.xml";
internal const string ACTION_FILE = "Action.xml";
}
#endregion
// ReSharper restore InconsistentNaming
}