xray16 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +4 -1
  2. package/package.json +4 -3
  3. package/types/index.d.ts +46 -22
  4. package/types/{xr_object → xr_ai}/xr_action.d.ts +163 -135
  5. package/types/xr_ai/xr_alife.d.ts +552 -0
  6. package/types/xr_ai/xr_enemy_evaluation.d.ts +41 -0
  7. package/types/xr_ai/xr_goap.d.ts +668 -0
  8. package/types/xr_ai/xr_graph.d.ts +47 -0
  9. package/types/xr_ai/xr_memory.d.ts +148 -0
  10. package/types/xr_lib/xr_animation.d.ts +81 -0
  11. package/types/xr_lib/xr_bitwise.d.ts +21 -0
  12. package/types/xr_lib/xr_color.d.ts +40 -0
  13. package/types/xr_lib/xr_debug.d.ts +100 -0
  14. package/types/{xr_object → xr_lib}/xr_dialog.d.ts +7 -1
  15. package/types/xr_lib/xr_flags.d.ts +148 -0
  16. package/types/xr_lib/xr_fs.d.ts +37 -233
  17. package/types/xr_lib/xr_game.d.ts +159 -0
  18. package/types/xr_lib/xr_hit.d.ts +41 -0
  19. package/types/xr_lib/xr_ini.d.ts +176 -0
  20. package/types/xr_lib/xr_level.d.ts +225 -0
  21. package/types/xr_lib/xr_luabind.d.ts +59 -0
  22. package/types/{xr_map → xr_lib}/xr_map.d.ts +19 -0
  23. package/types/xr_lib/xr_math.d.ts +65 -0
  24. package/types/{xr_online → xr_lib}/xr_multiplayer.d.ts +52 -0
  25. package/types/xr_lib/xr_properties.d.ts +166 -0
  26. package/types/xr_lib/xr_relation.d.ts +84 -0
  27. package/types/xr_lib/xr_render.d.ts +70 -0
  28. package/types/xr_lib/xr_save.d.ts +223 -0
  29. package/types/{xr_sound → xr_lib}/xr_sound.d.ts +10 -12
  30. package/types/xr_lib/xr_stats.ts +20 -0
  31. package/types/{xr_object/xr_quest.d.ts → xr_lib/xr_task.d.ts} +54 -2
  32. package/types/xr_lib/xr_time.d.ts +61 -0
  33. package/types/{xr_type → xr_lib}/xr_type.d.ts +13 -13
  34. package/types/xr_object/client/xr_client_object.d.ts +76 -0
  35. package/types/xr_object/{xr_level.d.ts → client/xr_level.d.ts} +69 -0
  36. package/types/xr_object/{xr_physic.d.ts → client/xr_physic.d.ts} +58 -0
  37. package/types/xr_object/client/xr_zone.d.ts +40 -0
  38. package/types/xr_object/script/xr_script_interface.d.ts +429 -0
  39. package/types/xr_object/{xr_client_object.d.ts → script/xr_script_object.d.ts} +425 -518
  40. package/types/xr_object/script/xr_script_trade.d.ts +26 -0
  41. package/types/xr_object/{xr_server_object.d.ts → server/xr_server_object.d.ts} +151 -72
  42. package/types/xr_ui/xr_ui_asset.d.ts +123 -0
  43. package/types/xr_ui/xr_ui_core.d.ts +33 -123
  44. package/types/xr_ui/xr_ui_event.d.ts +382 -0
  45. package/types/xr_ui/xr_ui_interface.d.ts +213 -0
  46. package/types/xr_ui/xr_ui_menu.d.ts +142 -0
  47. package/types/xr_constant.d.ts +0 -996
  48. package/types/xr_core.d.ts +0 -347
  49. package/types/xr_global.d.ts +0 -663
  50. package/types/xr_lib/xr_utils.d.ts +0 -412
  51. package/types/xr_luabind.d.ts +0 -34
  52. package/types/xr_object/xr_alife.d.ts +0 -213
  53. package/types/xr_type/xr_enums.d.ts +0 -17
  54. package/types/xr_ui/README.md +0 -277
  55. package/types/xr_ui/demo/CServerList.png +0 -0
  56. package/types/xr_ui/demo/CUI3tButton.png +0 -0
  57. package/types/xr_ui/demo/CUICheckButton.png +0 -0
  58. package/types/xr_ui/demo/CUIComboBox.png +0 -0
  59. package/types/xr_ui/demo/CUICustomEdit.png +0 -0
  60. package/types/xr_ui/demo/CUIStatic.png +0 -0
  61. package/types/xr_ui/demo/CUITrackBar.png +0 -0
  62. /package/types/xr_object/{xr_anomaly.d.ts → client/xr_anomaly.d.ts} +0 -0
  63. /package/types/xr_object/{xr_artefact.d.ts → client/xr_artefact.d.ts} +0 -0
  64. /package/types/xr_object/{xr_creature.d.ts → client/xr_creature.d.ts} +0 -0
  65. /package/types/xr_object/{xr_item.d.ts → client/xr_item.d.ts} +0 -0
@@ -0,0 +1,382 @@
1
+ declare module "xray16" {
2
+ /**
3
+ * @source C++ class ui_events
4
+ * @customConstructor ui_events
5
+ * @group xr_ui_event
6
+ */
7
+ export class ui_events {
8
+ public static readonly BUTTON_CLICKED: 19;
9
+ public static readonly BUTTON_DOWN: 20;
10
+ public static readonly CHECK_BUTTON_RESET: 23;
11
+ public static readonly CHECK_BUTTON_SET: 22;
12
+ public static readonly EDIT_TEXT_COMMIT: 79;
13
+ public static readonly LIST_ITEM_CLICKED: 37;
14
+ public static readonly LIST_ITEM_SELECT: 38;
15
+ public static readonly LIST_ITEM_UNSELECT: 39;
16
+ public static readonly MAIN_MENU_RELOADED: 84;
17
+ public static readonly MESSAGE_BOX_CANCEL_CLICKED: 47;
18
+ public static readonly MESSAGE_BOX_COPY_CLICKED: 48;
19
+ public static readonly MESSAGE_BOX_NO_CLICKED: 46;
20
+ public static readonly MESSAGE_BOX_OK_CLICKED: 42;
21
+ public static readonly MESSAGE_BOX_QUIT_GAME_CLICKED: 45;
22
+ public static readonly MESSAGE_BOX_QUIT_WIN_CLICKED: 44;
23
+ public static readonly MESSAGE_BOX_YES_CLICKED: 43;
24
+ public static readonly PROPERTY_CLICKED: 41;
25
+ public static readonly RADIOBUTTON_SET: 24;
26
+ public static readonly SCROLLBAR_HSCROLL: 34;
27
+ public static readonly SCROLLBAR_VSCROLL: 33;
28
+ public static readonly SCROLLBOX_MOVE: 32;
29
+ public static readonly TAB_CHANGED: 21;
30
+ public static readonly WINDOW_KEYBOARD_CAPTURE_LOST: 16;
31
+ public static readonly WINDOW_KEY_PRESSED: 12;
32
+ public static readonly WINDOW_KEY_RELEASED: 13;
33
+ public static readonly WINDOW_LBUTTON_DB_CLICK: 11;
34
+ public static readonly WINDOW_LBUTTON_DOWN: 0;
35
+ public static readonly WINDOW_LBUTTON_UP: 3;
36
+ public static readonly WINDOW_MOUSE_MOVE: 6;
37
+ public static readonly WINDOW_RBUTTON_DOWN: 1;
38
+ public static readonly WINDOW_RBUTTON_UP: 4;
39
+ }
40
+
41
+ /**
42
+ * @group xr_ui_event
43
+ */
44
+ type TXR_ui_event = EnumeratedStaticsValues<typeof ui_events>;
45
+
46
+ /**
47
+ * @source C++ class DIK_keys
48
+ * @customConstructor DIK_keys
49
+ * @group xr_ui_event
50
+ */
51
+ export class DIK_keys {
52
+ public static readonly DIK_0: 39;
53
+ public static readonly DIK_1: 30;
54
+ public static readonly DIK_2: 31;
55
+ public static readonly DIK_3: 32;
56
+ public static readonly DIK_4: 33;
57
+ public static readonly DIK_5: 34;
58
+ public static readonly DIK_6: 35;
59
+ public static readonly DIK_7: 36;
60
+ public static readonly DIK_8: 37;
61
+ public static readonly DIK_9: 38;
62
+ public static readonly DIK_A: 4;
63
+ public static readonly DIK_ADD: 87;
64
+ public static readonly DIK_ALTERASE: 153;
65
+ public static readonly DIK_APOSTROPHE: 52;
66
+ public static readonly DIK_APP1: 283;
67
+ public static readonly DIK_APP2: 284;
68
+ public static readonly DIK_APPLICATION: 101;
69
+ public static readonly DIK_AUDIOMUTE: 262;
70
+ public static readonly DIK_AUDIONEXT: 258;
71
+ public static readonly DIK_AUDIOPLAY: 261;
72
+ public static readonly DIK_AUDIOPREV: 259;
73
+ public static readonly DIK_AUDIOSTOP: 260;
74
+ public static readonly DIK_B: 5;
75
+ public static readonly DIK_BACK: 42;
76
+ public static readonly DIK_BACKSLASH: 49;
77
+ public static readonly DIK_BRIGHTNESSDOWN: 275;
78
+ public static readonly DIK_BRIGHTNESSUP: 276;
79
+ public static readonly DIK_C: 6;
80
+ public static readonly DIK_CANCEL: 155;
81
+ public static readonly DIK_CAPITAL: 57;
82
+ public static readonly DIK_CLEAR: 156;
83
+ public static readonly DIK_CLEARAGAIN: 162;
84
+ public static readonly DIK_COMMA: 54;
85
+ public static readonly DIK_COPY: 124;
86
+ public static readonly DIK_CRSEL: 163;
87
+ public static readonly DIK_CURRENCYSUBUNIT: 181;
88
+ public static readonly DIK_CURRENCYUNIT: 180;
89
+ public static readonly DIK_CUT: 123;
90
+ public static readonly DIK_D: 7;
91
+ public static readonly DIK_DECIMALSEPARATOR: 179;
92
+ public static readonly DIK_DELETE: 76;
93
+ public static readonly DIK_DISPLAYSWITCH: 277;
94
+ public static readonly DIK_DIVIDE: 84;
95
+ public static readonly DIK_DOWN: 81;
96
+ public static readonly DIK_E: 8;
97
+ public static readonly DIK_EJECT: 281;
98
+ public static readonly DIK_END: 77;
99
+ public static readonly DIK_EQUALS: 46;
100
+ public static readonly DIK_ESCAPE: 41;
101
+ public static readonly DIK_EXECUTE: 116;
102
+ public static readonly DIK_EXSEL: 164;
103
+ public static readonly DIK_F10: 67;
104
+ public static readonly DIK_F11: 68;
105
+ public static readonly DIK_F12: 69;
106
+ public static readonly DIK_F13: 104;
107
+ public static readonly DIK_F14: 105;
108
+ public static readonly DIK_F15: 106;
109
+ public static readonly DIK_F16: 107;
110
+ public static readonly DIK_F17: 108;
111
+ public static readonly DIK_F18: 109;
112
+ public static readonly DIK_F19: 110;
113
+ public static readonly DIK_F1: 58;
114
+ public static readonly DIK_F20: 111;
115
+ public static readonly DIK_F21: 112;
116
+ public static readonly DIK_F22: 113;
117
+ public static readonly DIK_F23: 114;
118
+ public static readonly DIK_F24: 115;
119
+ public static readonly DIK_F2: 59;
120
+ public static readonly DIK_F3: 60;
121
+ public static readonly DIK_F4: 61;
122
+ public static readonly DIK_F5: 62;
123
+ public static readonly DIK_F6: 63;
124
+ public static readonly DIK_F7: 64;
125
+ public static readonly DIK_F8: 65;
126
+ public static readonly DIK_F9: 66;
127
+ public static readonly DIK_F: 9;
128
+ public static readonly DIK_FIND: 126;
129
+ public static readonly DIK_G: 10;
130
+ public static readonly DIK_GRAVE: 53;
131
+ public static readonly DIK_H: 11;
132
+ public static readonly DIK_HANGUL: 144;
133
+ public static readonly DIK_HANJA: 145;
134
+ public static readonly DIK_HELP: 117;
135
+ public static readonly DIK_HIRAGANA: 147;
136
+ public static readonly DIK_HOME: 74;
137
+ public static readonly DIK_I: 12;
138
+ public static readonly DIK_INSERT: 73;
139
+ public static readonly DIK_INTERNATIONAL1: 135;
140
+ public static readonly DIK_INTERNATIONAL2: 136;
141
+ public static readonly DIK_INTERNATIONAL4: 138;
142
+ public static readonly DIK_INTERNATIONAL5: 139;
143
+ public static readonly DIK_INTERNATIONAL6: 140;
144
+ public static readonly DIK_INTERNATIONAL7: 141;
145
+ public static readonly DIK_INTERNATIONAL8: 142;
146
+ public static readonly DIK_INTERNATIONAL9: 143;
147
+ public static readonly DIK_J: 13;
148
+ public static readonly DIK_K: 14;
149
+ public static readonly DIK_KATAKANA: 146;
150
+ public static readonly DIK_KBDILLUMDOWN: 279;
151
+ public static readonly DIK_KBDILLUMTOGGLE: 278;
152
+ public static readonly DIK_KBDILLUMUP: 280;
153
+ public static readonly DIK_L: 15;
154
+ public static readonly DIK_LANG6: 149;
155
+ public static readonly DIK_LANG7: 150;
156
+ public static readonly DIK_LANG8: 151;
157
+ public static readonly DIK_LANG9: 152;
158
+ public static readonly DIK_LBRACKET: 47;
159
+ public static readonly DIK_LCONTROL: 224;
160
+ public static readonly DIK_LEFT: 80;
161
+ public static readonly DIK_LMENU: 226;
162
+ public static readonly DIK_LSHIFT: 225;
163
+ public static readonly DIK_LWIN: 227;
164
+ public static readonly DIK_M: 16;
165
+ public static readonly DIK_MENU: 118;
166
+ public static readonly DIK_MINUS: 45;
167
+ public static readonly DIK_MODE: 257;
168
+ public static readonly DIK_MULTIPLY: 85;
169
+ public static readonly DIK_MUTE: 127;
170
+ public static readonly DIK_N: 17;
171
+ public static readonly DIK_NONUSBACKSLASH: 100;
172
+ public static readonly DIK_NONUSHASH: 50;
173
+ public static readonly DIK_NUMLOCK: 83;
174
+ public static readonly DIK_NUMPAD0: 98;
175
+ public static readonly DIK_NUMPAD1: 89;
176
+ public static readonly DIK_NUMPAD2: 90;
177
+ public static readonly DIK_NUMPAD3: 91;
178
+ public static readonly DIK_NUMPAD4: 92;
179
+ public static readonly DIK_NUMPAD5: 93;
180
+ public static readonly DIK_NUMPAD6: 94;
181
+ public static readonly DIK_NUMPAD7: 95;
182
+ public static readonly DIK_NUMPAD8: 96;
183
+ public static readonly DIK_NUMPAD9: 97;
184
+ public static readonly DIK_NUMPADCOMMA: 133;
185
+ public static readonly DIK_NUMPADENTER: 88;
186
+ public static readonly DIK_NUMPADEQUALS: 103;
187
+ public static readonly DIK_NUMPADEQUALSAS400: 134;
188
+ public static readonly DIK_NUMPADPERIOD: 99;
189
+ public static readonly DIK_NUMPAD_000: 177;
190
+ public static readonly DIK_NUMPAD_00: 176;
191
+ public static readonly DIK_NUMPAD_A: 188;
192
+ public static readonly DIK_NUMPAD_AC_BACK: 270;
193
+ public static readonly DIK_NUMPAD_AC_BOOKMARKS: 274;
194
+ public static readonly DIK_NUMPAD_AC_FORWARD: 271;
195
+ public static readonly DIK_NUMPAD_AC_HOME: 269;
196
+ public static readonly DIK_NUMPAD_AC_REFRESH: 273;
197
+ public static readonly DIK_NUMPAD_AC_SEARCH: 268;
198
+ public static readonly DIK_NUMPAD_AC_STOP: 272;
199
+ public static readonly DIK_NUMPAD_AMPERSAND: 199;
200
+ public static readonly DIK_NUMPAD_AT: 206;
201
+ public static readonly DIK_NUMPAD_B: 189;
202
+ public static readonly DIK_NUMPAD_BACKSPACE: 187;
203
+ public static readonly DIK_NUMPAD_BINARY: 218;
204
+ public static readonly DIK_NUMPAD_C: 190;
205
+ public static readonly DIK_NUMPAD_CALCULATOR: 266;
206
+ public static readonly DIK_NUMPAD_CLEAR: 216;
207
+ public static readonly DIK_NUMPAD_CLEARENTRY: 217;
208
+ public static readonly DIK_NUMPAD_COLON: 203;
209
+ public static readonly DIK_NUMPAD_COMPUTER: 267;
210
+ public static readonly DIK_NUMPAD_D: 191;
211
+ public static readonly DIK_NUMPAD_DBLAMPERSAND: 200;
212
+ public static readonly DIK_NUMPAD_DBLVERTICALBAR: 202;
213
+ public static readonly DIK_NUMPAD_DECIMAL: 220;
214
+ public static readonly DIK_NUMPAD_E: 192;
215
+ public static readonly DIK_NUMPAD_EXCLAM: 207;
216
+ public static readonly DIK_NUMPAD_F: 193;
217
+ public static readonly DIK_NUMPAD_GREATER: 198;
218
+ public static readonly DIK_NUMPAD_HASH: 204;
219
+ public static readonly DIK_NUMPAD_HEXADECIMAL: 221;
220
+ public static readonly DIK_NUMPAD_LEFTBRACE: 184;
221
+ public static readonly DIK_NUMPAD_LEFTPAREN: 182;
222
+ public static readonly DIK_NUMPAD_LESS: 197;
223
+ public static readonly DIK_NUMPAD_MAIL: 265;
224
+ public static readonly DIK_NUMPAD_MEDIASELECT: 263;
225
+ public static readonly DIK_NUMPAD_MEMADD: 211;
226
+ public static readonly DIK_NUMPAD_MEMCLEAR: 210;
227
+ public static readonly DIK_NUMPAD_MEMDIVIDE: 214;
228
+ public static readonly DIK_NUMPAD_MEMMULTIPLY: 213;
229
+ public static readonly DIK_NUMPAD_MEMRECALL: 209;
230
+ public static readonly DIK_NUMPAD_MEMSTORE: 208;
231
+ public static readonly DIK_NUMPAD_MEMSUBTRACT: 212;
232
+ public static readonly DIK_NUMPAD_OCTAL: 219;
233
+ public static readonly DIK_NUMPAD_PERCENT: 196;
234
+ public static readonly DIK_NUMPAD_PLUSMINUS: 215;
235
+ public static readonly DIK_NUMPAD_POWER: 195;
236
+ public static readonly DIK_NUMPAD_RIGHTBRACE: 185;
237
+ public static readonly DIK_NUMPAD_RIGHTPAREN: 183;
238
+ public static readonly DIK_NUMPAD_SPACE: 205;
239
+ public static readonly DIK_NUMPAD_TAB: 186;
240
+ public static readonly DIK_NUMPAD_VERTICALBAR: 201;
241
+ public static readonly DIK_NUMPAD_WWW: 264;
242
+ public static readonly DIK_NUMPAD_XOR: 194;
243
+ public static readonly DIK_O: 18;
244
+ public static readonly DIK_OPER: 161;
245
+ public static readonly DIK_OUT: 160;
246
+ public static readonly DIK_P: 19;
247
+ public static readonly DIK_PASTE: 125;
248
+ public static readonly DIK_PAUSE: 72;
249
+ public static readonly DIK_PERIOD: 55;
250
+ public static readonly DIK_PGDN: 75;
251
+ public static readonly DIK_PGUP: 78;
252
+ public static readonly DIK_POWER: 102;
253
+ public static readonly DIK_PRINTSCREEN: 70;
254
+ public static readonly DIK_PRIOR: 157;
255
+ public static readonly DIK_Q: 20;
256
+ public static readonly DIK_R: 21;
257
+ public static readonly DIK_RBRACKET: 48;
258
+ public static readonly DIK_RCONTROL: 228;
259
+ public static readonly DIK_REDO: 121;
260
+ public static readonly DIK_RETURN2: 158;
261
+ public static readonly DIK_RETURN: 40;
262
+ public static readonly DIK_RIGHT: 79;
263
+ public static readonly DIK_RMENU: 230;
264
+ public static readonly DIK_RSHIFT: 229;
265
+ public static readonly DIK_RWIN: 231;
266
+ public static readonly DIK_S: 22;
267
+ public static readonly DIK_SCROLL: 71;
268
+ public static readonly DIK_SELECT: 119;
269
+ public static readonly DIK_SEMICOLON: 51;
270
+ public static readonly DIK_SEPARATOR: 159;
271
+ public static readonly DIK_SLASH: 56;
272
+ public static readonly DIK_SLEEP: 282;
273
+ public static readonly DIK_SPACE: 44;
274
+ public static readonly DIK_STOP: 120;
275
+ public static readonly DIK_SUBTRACT: 86;
276
+ public static readonly DIK_T: 23;
277
+ public static readonly DIK_TAB: 43;
278
+ public static readonly DIK_THOUSANDSSEPARATOR: 178;
279
+ public static readonly DIK_U: 24;
280
+ public static readonly DIK_UNDO: 122;
281
+ public static readonly DIK_UP: 82;
282
+ public static readonly DIK_V: 25;
283
+ public static readonly DIK_VOLUMEDOWN: 129;
284
+ public static readonly DIK_VOLUMEUP: 128;
285
+ public static readonly DIK_W: 26;
286
+ public static readonly DIK_X: 27;
287
+ public static readonly DIK_Y: 28;
288
+ public static readonly DIK_YEN: 137;
289
+ public static readonly DIK_Z: 29;
290
+ public static readonly DIK_ZENHANKAKU: 148;
291
+ public static readonly GAMEPAD_A: 518;
292
+ public static readonly GAMEPAD_B: 519;
293
+ public static readonly GAMEPAD_BACK: 522;
294
+ public static readonly GAMEPAD_DPAD_DOWN: 530;
295
+ public static readonly GAMEPAD_DPAD_LEFT: 531;
296
+ public static readonly GAMEPAD_DPAD_RIGHT: 532;
297
+ public static readonly GAMEPAD_DPAD_UP: 529;
298
+ public static readonly GAMEPAD_GUIDE: 523;
299
+ public static readonly GAMEPAD_LEFTSHOULDER: 527;
300
+ public static readonly GAMEPAD_LEFTSTICK: 525;
301
+ public static readonly GAMEPAD_RIGHTSHOULDER: 528;
302
+ public static readonly GAMEPAD_RIGHTSTICK: 526;
303
+ public static readonly GAMEPAD_START: 524;
304
+ public static readonly GAMEPAD_X: 520;
305
+ public static readonly GAMEPAD_Y: 521;
306
+ public static readonly MOUSE_1: 513;
307
+ public static readonly MOUSE_2: 515;
308
+ public static readonly MOUSE_3: 514;
309
+ public static readonly MOUSE_4: 516;
310
+ public static readonly MOUSE_5: 517;
311
+
312
+ protected constructor();
313
+ }
314
+
315
+ /**
316
+ * @group xr_ui_event
317
+ */
318
+ type TXR_DIK_key_name = EnumeratedStaticsKeys<typeof DIK_keys>;
319
+
320
+ /**
321
+ * @group xr_ui_event
322
+ */
323
+ type TXR_DIK_key = EnumeratedStaticsValues<typeof DIK_keys>;
324
+
325
+ /**
326
+ * @source C++ class key_bindings
327
+ * @customConstructor key_bindings
328
+ * @group xr_ui_event
329
+ */
330
+ export class key_bindings {
331
+ public static readonly kACCEL: 7;
332
+ public static readonly kBACK: 10;
333
+ public static readonly kBUY: 52;
334
+ public static readonly kCAM_1: 16;
335
+ public static readonly kCAM_2: 17;
336
+ public static readonly kCAM_3: 18;
337
+ public static readonly kCAM_ZOOM_IN: 20;
338
+ public static readonly kCAM_ZOOM_OUT: 21;
339
+ public static readonly kCHAT: 46;
340
+ public static readonly kCONSOLE: 50;
341
+ public static readonly kCROUCH: 5;
342
+ public static readonly kDOWN: 3;
343
+ public static readonly kDROP: 43;
344
+ public static readonly kFWD: 9;
345
+ public static readonly kINVENTORY: 51;
346
+ public static readonly kJUMP: 4;
347
+ public static readonly kLEFT: 0;
348
+ public static readonly kL_LOOKOUT: 13;
349
+ public static readonly kL_STRAFE: 11;
350
+ public static readonly kNIGHT_VISION: 24;
351
+ public static readonly kQUIT: 49;
352
+ public static readonly kRIGHT: 1;
353
+ public static readonly kR_LOOKOUT: 14;
354
+ public static readonly kR_STRAFE: 12;
355
+ public static readonly kSCORES: 45;
356
+ public static readonly kSCREENSHOT: 48;
357
+ public static readonly kSKIN: 53;
358
+ public static readonly kTEAM: 54;
359
+ public static readonly kTORCH: 23;
360
+ public static readonly kUP: 2;
361
+ public static readonly kUSE: 44;
362
+ public static readonly kWPN_1: 26;
363
+ public static readonly kWPN_2: 27;
364
+ public static readonly kWPN_3: 28;
365
+ public static readonly kWPN_4: 29;
366
+ public static readonly kWPN_5: 30;
367
+ public static readonly kWPN_6: 31;
368
+ public static readonly kWPN_FIRE: 34;
369
+ public static readonly kWPN_FUNC: 39;
370
+ public static readonly kWPN_NEXT: 33;
371
+ public static readonly kWPN_RELOAD: 38;
372
+ public static readonly kWPN_ZOOM: 35;
373
+ }
374
+
375
+ /**
376
+ * Transforms dik key enumeration code to key binding code.
377
+ *
378
+ * @group xr_ui_event
379
+ */
380
+ export function dik_to_bind(this: void, keycode: i32): i32;
381
+
382
+ }