-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathscript_1d511fa8264f8744.gsc
196 lines (179 loc) · 3.15 KB
/
script_1d511fa8264f8744.gsc
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
// Decompiled by Serious. Credits to Scoba for his original tool, Cerberus, which I heavily upgraded to support remaining features, other games, and other platforms.
#using scripts\core_common\lui_shared.csc;
class czm_arcade_keys : cluielem
{
/*
Name: constructor
Namespace: czm_arcade_keys
Checksum: 0xA551E872
Offset: 0x1F8
Size: 0x14
Parameters: 0
Flags: 8
*/
constructor()
{
}
/*
Name: destructor
Namespace: czm_arcade_keys
Checksum: 0xAAA138DF
Offset: 0x360
Size: 0x14
Parameters: 0
Flags: 16, 128
*/
destructor()
{
}
/*
Name: set_key_count
Namespace: czm_arcade_keys
Checksum: 0x6D6B9620
Offset: 0x328
Size: 0x30
Parameters: 2
Flags: None
*/
function set_key_count(localclientnum, value)
{
[[ self ]]->set_data(localclientnum, "key_count", value);
}
/*
Name: open
Namespace: czm_arcade_keys
Checksum: 0xA90E618E
Offset: 0x2F0
Size: 0x2C
Parameters: 1
Flags: None
*/
function open(localclientnum)
{
cluielem::open(localclientnum, #"zm_arcade_keys");
}
/*
Name: function_fa582112
Namespace: czm_arcade_keys
Checksum: 0x24775388
Offset: 0x2A8
Size: 0x40
Parameters: 1
Flags: None
*/
function function_fa582112(localclientnum)
{
cluielem::function_fa582112(localclientnum);
[[ self ]]->set_data(localclientnum, "key_count", 0);
}
/*
Name: register_clientside
Namespace: czm_arcade_keys
Checksum: 0x25D01136
Offset: 0x278
Size: 0x24
Parameters: 1
Flags: None
*/
function register_clientside(uid)
{
cluielem::register_clientside(uid);
}
/*
Name: setup_clientfields
Namespace: czm_arcade_keys
Checksum: 0x35C4422B
Offset: 0x218
Size: 0x54
Parameters: 2
Flags: None
*/
function setup_clientfields(uid, var_dddbc7e5)
{
cluielem::setup_clientfields(uid);
cluielem::add_clientfield("key_count", 1, 4, "int", var_dddbc7e5);
}
}
#namespace zm_arcade_keys;
/*
Name: register
Namespace: zm_arcade_keys
Checksum: 0xB16CFB60
Offset: 0xB0
Size: 0x4C
Parameters: 2
Flags: None
*/
function register(uid, var_dddbc7e5)
{
elem = new czm_arcade_keys();
[[ elem ]]->setup_clientfields(uid, var_dddbc7e5);
return elem;
}
/*
Name: register_clientside
Namespace: zm_arcade_keys
Checksum: 0xE2E883FB
Offset: 0x108
Size: 0x40
Parameters: 1
Flags: None
*/
function register_clientside(uid)
{
elem = new czm_arcade_keys();
[[ elem ]]->register_clientside(uid);
return elem;
}
/*
Name: open
Namespace: zm_arcade_keys
Checksum: 0x870FB7B
Offset: 0x150
Size: 0x1C
Parameters: 1
Flags: None
*/
function open(player)
{
[[ self ]]->open(player);
}
/*
Name: close
Namespace: zm_arcade_keys
Checksum: 0x1D472012
Offset: 0x178
Size: 0x1C
Parameters: 1
Flags: None
*/
function close(player)
{
[[ self ]]->close(player);
}
/*
Name: is_open
Namespace: zm_arcade_keys
Checksum: 0x7BEFF18
Offset: 0x1A0
Size: 0x1A
Parameters: 1
Flags: None
*/
function is_open(localclientnum)
{
return [[ self ]]->is_open(localclientnum);
}
/*
Name: set_key_count
Namespace: zm_arcade_keys
Checksum: 0x75B41968
Offset: 0x1C8
Size: 0x28
Parameters: 2
Flags: None
*/
function set_key_count(localclientnum, value)
{
[[ self ]]->set_key_count(localclientnum, value);
}