-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathscript_24c15fbbb838c794.gsc
167 lines (152 loc) · 2.65 KB
/
script_24c15fbbb838c794.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
// 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.gsc;
#using scripts\core_common\clientfield_shared.gsc;
class cinteractive_shot : cluielem
{
var var_47e79fc;
/*
Name: constructor
Namespace: cinteractive_shot
Checksum: 0xFD2D7C02
Offset: 0x1D0
Size: 0x14
Parameters: 0
Flags: Linked, 8
*/
constructor()
{
}
/*
Name: destructor
Namespace: cinteractive_shot
Checksum: 0x910380B
Offset: 0x310
Size: 0x14
Parameters: 0
Flags: Linked, 16, 128
*/
destructor()
{
}
/*
Name: set_text
Namespace: cinteractive_shot
Checksum: 0x74C2BD8
Offset: 0x2C8
Size: 0x3C
Parameters: 2
Flags: Linked
*/
function set_text(player, value)
{
player clientfield::function_9bf78ef8(var_47e79fc, "text", value);
}
/*
Name: close
Namespace: cinteractive_shot
Checksum: 0xDA8C2BDB
Offset: 0x298
Size: 0x24
Parameters: 1
Flags: Linked
*/
function close(player)
{
cluielem::close_luielem(player);
}
/*
Name: open
Namespace: cinteractive_shot
Checksum: 0xD2FCFFD1
Offset: 0x248
Size: 0x44
Parameters: 2
Flags: Linked
*/
function open(player, persistent = 0)
{
cluielem::open_luielem(player, "interactive_shot", persistent);
}
/*
Name: setup_clientfields
Namespace: cinteractive_shot
Checksum: 0x68C01EC9
Offset: 0x1F0
Size: 0x4C
Parameters: 1
Flags: Linked
*/
function setup_clientfields(uid)
{
cluielem::setup_clientfields(uid);
cluielem::function_dcb34c80("string", "text", 1);
}
}
#namespace interactive_shot;
/*
Name: register
Namespace: interactive_shot
Checksum: 0xEDE8CAB7
Offset: 0xC8
Size: 0x40
Parameters: 1
Flags: None
*/
function register(uid)
{
elem = new cinteractive_shot();
[[ elem ]]->setup_clientfields(uid);
return elem;
}
/*
Name: open
Namespace: interactive_shot
Checksum: 0xFE6E779E
Offset: 0x110
Size: 0x38
Parameters: 2
Flags: Linked
*/
function open(player, persistent = 0)
{
[[ self ]]->open(player, persistent);
}
/*
Name: close
Namespace: interactive_shot
Checksum: 0x8C391D05
Offset: 0x150
Size: 0x1C
Parameters: 1
Flags: Linked
*/
function close(player)
{
[[ self ]]->close(player);
}
/*
Name: is_open
Namespace: interactive_shot
Checksum: 0x773F2A0B
Offset: 0x178
Size: 0x1A
Parameters: 1
Flags: Linked
*/
function is_open(player)
{
return [[ self ]]->function_7bfd10e6(player);
}
/*
Name: set_text
Namespace: interactive_shot
Checksum: 0xB5A857D5
Offset: 0x1A0
Size: 0x28
Parameters: 2
Flags: Linked
*/
function set_text(player, value)
{
[[ self ]]->set_text(player, value);
}