-
Notifications
You must be signed in to change notification settings - Fork 7
/
UjAPI.j
4560 lines (4209 loc) · 375 KB
/
UjAPI.j
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//============================================================================
// Native types. All native functions take extended handle types when
// possible to help prevent passing bad values to native functions
//
type projectiletype extends handle
type minimapicon extends handle
type mappedfield extends handle
type mappedtype extends handle
type attachmenttype extends mappedtype
type bonetype extends attachmenttype
type animtype extends mapdatatype
type subanimtype extends animtype
type cursoranimtype extends mapdatatype
type war3image extends agent
type sprite extends war3image
type projectile extends war3image
type doodad extends war3image
type framehandle extends agent
type commandbuttoneffect extends handle
type originframetype extends handle
type framepointtype extends handle
type textaligntype extends handle
type frameeventtype extends handle
type oskeytype extends handle
type mousebuttontype extends handle
type agentdatafield extends handle
type abilityintegerfield extends agentdatafield
type abilityrealfield extends agentdatafield
type abilitybooleanfield extends agentdatafield
type abilitystringfield extends agentdatafield
type abilityintegerlevelfield extends abilityintegerfield
type abilityreallevelfield extends abilityrealfield
type abilitybooleanlevelfield extends abilitybooleanfield
type abilitystringlevelfield extends abilitystringfield
type abilityintegerlevelarrayfield extends abilityintegerlevelfield
type abilityreallevelarrayfield extends abilityreallevelfield
type abilitybooleanlevelarrayfield extends abilitybooleanlevelfield
type abilitystringlevelarrayfield extends abilitystringlevelfield
type destructablestringfield extends agentdatafield
type itemintegerfield extends agentdatafield
type itemrealfield extends agentdatafield
type itembooleanfield extends agentdatafield
type itemstringfield extends agentdatafield
type unitintegerfield extends agentdatafield
type unitrealfield extends agentdatafield
type unitbooleanfield extends agentdatafield
type unitstringfield extends agentdatafield
type unitweaponintegerfield extends agentdatafield
type unitweaponrealfield extends agentdatafield
type unitweaponbooleanfield extends agentdatafield
type unitweaponstringfield extends agentdatafield
type flagtype extends handle
type layoutstyleflag extends flagtype
type gridstyleflag extends flagtype
type layerstyleflag extends flagtype
type controlstyleflag extends flagtype
type framestate extends flagtype
type abilitytype extends flagtype
type movetype extends flagtype
type pathingaitype extends flagtype
type collisiontype extends flagtype
type targetflag extends flagtype
type pathingflag extends flagtype
type armortype extends handle
type heroattribute extends handle
type defensetype extends handle
type regentype extends handle
type unitcategory extends handle
type timetype extends handle
type variabletype extends handle
type renderstage extends handle
type connectiontype extends handle
type jassthread extends handle
type handlelist extends agent
type textfilehandle extends agent
type orderhandle extends agent
type tradestate extends handle
constant native ConvertProjectileType takes integer i returns projectiletype
constant native ConvertMappedField takes integer i returns mappedfield
constant native ConvertAttachmentType takes integer i returns attachmenttype
constant native ConvertBoneType takes integer i returns bonetype
constant native ConvertAnimType takes integer i returns animtype
constant native ConvertSubAnimType takes integer i returns subanimtype
constant native ConvertCursorAnimType takes integer i returns cursoranimtype
constant native ConvertOriginFrameType takes integer i returns originframetype
constant native ConvertFramePointType takes integer i returns framepointtype
constant native ConvertTextAlignType takes integer i returns textaligntype
constant native ConvertFrameEventType takes integer i returns frameeventtype
constant native ConvertOsKeyType takes integer i returns oskeytype
constant native ConvertMouseButtonType takes integer i returns mousebuttontype
constant native ConvertAbilityIntegerField takes integer i returns abilityintegerfield
constant native ConvertAbilityRealField takes integer i returns abilityrealfield
constant native ConvertAbilityBooleanField takes integer i returns abilitybooleanfield
constant native ConvertAbilityStringField takes integer i returns abilitystringfield
constant native ConvertAbilityIntegerLevelField takes integer i returns abilityintegerlevelfield
constant native ConvertAbilityRealLevelField takes integer i returns abilityreallevelfield
constant native ConvertAbilityBooleanLevelField takes integer i returns abilitybooleanlevelfield
constant native ConvertAbilityStringLevelField takes integer i returns abilitystringlevelfield
constant native ConvertAbilityIntegerLevelArrayField takes integer i returns abilityintegerlevelarrayfield
constant native ConvertAbilityRealLevelArrayField takes integer i returns abilityreallevelarrayfield
constant native ConvertAbilityBooleanLevelArrayField takes integer i returns abilitybooleanlevelarrayfield
constant native ConvertAbilityStringLevelArrayField takes integer i returns abilitystringlevelarrayfield
constant native ConvertDestructableStringField takes integer i returns destructablestringfield
constant native ConvertItemIntegerField takes integer i returns itemintegerfield
constant native ConvertItemRealField takes integer i returns itemrealfield
constant native ConvertItemBooleanField takes integer i returns itembooleanfield
constant native ConvertItemStringField takes integer i returns itemstringfield
constant native ConvertUnitIntegerField takes integer i returns unitintegerfield
constant native ConvertUnitRealField takes integer i returns unitrealfield
constant native ConvertUnitBooleanField takes integer i returns unitbooleanfield
constant native ConvertUnitStringField takes integer i returns unitstringfield
constant native ConvertUnitWeaponIntegerField takes integer i returns unitweaponintegerfield
constant native ConvertUnitWeaponRealField takes integer i returns unitweaponrealfield
constant native ConvertUnitWeaponBooleanField takes integer i returns unitweaponbooleanfield
constant native ConvertUnitWeaponStringField takes integer i returns unitweaponstringfield
constant native ConvertMoveType takes integer i returns movetype
constant native ConvertPathingAIType takes integer i returns pathingaitype
constant native ConvertCollisionType takes integer i returns collisiontype
constant native ConvertTargetFlag takes integer i returns targetflag
constant native ConvertArmorType takes integer i returns armortype
constant native ConvertHeroAttribute takes integer i returns heroattribute
constant native ConvertDefenseType takes integer i returns defensetype
constant native ConvertRegenType takes integer i returns regentype
constant native ConvertUnitCategory takes integer i returns unitcategory
constant native ConvertPathingFlag takes integer i returns pathingflag
constant native ConvertTimeType takes integer i returns timetype
constant native ConvertVariableType takes integer i returns variabletype
constant native ConvertRenderStage takes integer i returns renderstage
constant native ConvertLayoutStyleFlag takes integer i returns layoutstyleflag
constant native ConvertGridStyleFlag takes integer i returns gridstyleflag
constant native ConvertLayerStyleFlag takes integer i returns layerstyleflag
constant native ConvertControlStyleFlag takes integer i returns controlstyleflag
constant native ConvertFrameState takes integer i returns framestate
constant native ConvertAbilityType takes integer i returns abilitytype
constant native ConvertConnectionType takes integer i returns connectiontype
constant native ConvertTradeState takes integer i returns tradestate
constant native GetJassArrayLimit takes nothing returns integer
constant native GetTextTagLimit takes nothing returns integer
globals
//===================================================
// Game Constants
//===================================================
constant integer JASS_MAX_ARRAY_SIZE = GetJassArrayLimit( ) // Previously was hardcoded 262144, this is subject to change if needed.
constant integer TEXT_TAG_MAX_SIZE = GetTextTagLimit( ) // Original 100 limit raised to 1024, this is subject to change if needed.
constant raritycontrol RARITY_QUEUE = ConvertRarityControl(2)
constant fogstate FOG_OF_WAR_RECT = ConvertFogState(8)
constant fogstate FOG_OF_WAR_RADIUS = ConvertFogState(16)
constant fogstate FOG_OF_WAR_RADIUS_LOCATION = ConvertFogState(32)
constant fogstate FOG_OF_WAR_STARTED = ConvertFogState(64)
constant fogstate FOG_OF_WAR_USE_SHARED_VISION = ConvertFogState(128)
constant fogstate FOG_OF_WAR_AFTER_UNITS = ConvertFogState(256)
constant mappedfield MAPPED_FIELD_ATTACHMENT = ConvertMappedField(0)
constant mappedfield MAPPED_FIELD_BONE = ConvertMappedField(1)
constant mappedfield MAPPED_FIELD_ANIMATION = ConvertMappedField(2)
constant mappedfield MAPPED_FIELD_SUB_ANIMATION = ConvertMappedField(3)
constant mappedfield MAPPED_CURSOR_SUB_ANIMATION = ConvertMappedField(4)
constant attachmenttype ATTACHMENT_TYPE_CHEST = ConvertAttachmentType('ches')
constant attachmenttype ATTACHMENT_TYPE_FEET = ConvertAttachmentType('feet')
constant attachmenttype ATTACHMENT_TYPE_FOOT = ConvertAttachmentType('foot')
constant attachmenttype ATTACHMENT_TYPE_HAND = ConvertAttachmentType('hand')
constant attachmenttype ATTACHMENT_TYPE_HEAD = ConvertAttachmentType('head')
constant attachmenttype ATTACHMENT_TYPE_ORIGIN = ConvertAttachmentType('orig')
constant attachmenttype ATTACHMENT_TYPE_OVERHEAD = ConvertAttachmentType('over')
constant attachmenttype ATTACHMENT_TYPE_SPRITE = ConvertAttachmentType('spri')
constant attachmenttype ATTACHMENT_TYPE_WEAPON = ConvertAttachmentType('weap')
constant attachmenttype ATTACHMENT_TYPE_ALTERNATE = ConvertAttachmentType('alte')
constant attachmenttype ATTACHMENT_TYPE_LEFT = ConvertAttachmentType('left')
constant attachmenttype ATTACHMENT_TYPE_RIGHT = ConvertAttachmentType('righ')
constant attachmenttype ATTACHMENT_TYPE_MOUNT = ConvertAttachmentType('moun')
constant attachmenttype ATTACHMENT_TYPE_REAR = ConvertAttachmentType('rear')
constant attachmenttype ATTACHMENT_TYPE_SMART = ConvertAttachmentType('smar')
constant attachmenttype ATTACHMENT_TYPE_FIRST = ConvertAttachmentType('firs')
constant attachmenttype ATTACHMENT_TYPE_SECOND = ConvertAttachmentType('seco')
constant attachmenttype ATTACHMENT_TYPE_THIRD = ConvertAttachmentType('thir')
constant attachmenttype ATTACHMENT_TYPE_FOURTH = ConvertAttachmentType('four')
constant attachmenttype ATTACHMENT_TYPE_FIFTH = ConvertAttachmentType('fift')
constant attachmenttype ATTACHMENT_TYPE_SIXTH = ConvertAttachmentType('sixt')
constant attachmenttype ATTACHMENT_TYPE_SMALL = ConvertAttachmentType('smal')
constant attachmenttype ATTACHMENT_TYPE_MEDIUM = ConvertAttachmentType('medi')
constant attachmenttype ATTACHMENT_TYPE_LARGE = ConvertAttachmentType('larg')
constant attachmenttype ATTACHMENT_TYPE_GOLD = ConvertAttachmentType('gold')
constant attachmenttype ATTACHMENT_TYPE_RALLYPOINT = ConvertAttachmentType('rall')
constant attachmenttype ATTACHMENT_TYPE_EAT_TREE = ConvertAttachmentType('eatt')
constant bonetype BONE_TYPE_CHEST = ConvertBoneType('ches')
constant bonetype BONE_TYPE_FOOT = ConvertBoneType('foot')
constant bonetype BONE_TYPE_HAND = ConvertBoneType('hand')
constant bonetype BONE_TYPE_HEAD = ConvertBoneType('head')
constant bonetype BONE_TYPE_TURRET = ConvertBoneType('turr')
constant bonetype BONE_TYPE_ALTERNATE = ConvertBoneType('alte')
constant bonetype BONE_TYPE_LEFT = ConvertBoneType('left')
constant bonetype BONE_TYPE_RIGHT = ConvertBoneType('righ')
constant bonetype BONE_TYPE_MOUNT = ConvertBoneType('moun')
constant bonetype BONE_TYPE_SMART = ConvertBoneType('smar')
constant animtype ANIM_TYPE_BIRTH = ConvertAnimType(0)
constant animtype ANIM_TYPE_DEATH = ConvertAnimType(1)
constant animtype ANIM_TYPE_DECAY = ConvertAnimType(2)
constant animtype ANIM_TYPE_DISSIPATE = ConvertAnimType(3)
constant animtype ANIM_TYPE_STAND = ConvertAnimType(4)
constant animtype ANIM_TYPE_WALK = ConvertAnimType(5)
constant animtype ANIM_TYPE_ATTACK = ConvertAnimType(6)
constant animtype ANIM_TYPE_MORPH = ConvertAnimType(7)
constant animtype ANIM_TYPE_SLEEP = ConvertAnimType(8)
constant animtype ANIM_TYPE_SPELL = ConvertAnimType(9)
constant animtype ANIM_TYPE_PORTRAIT = ConvertAnimType(10)
constant subanimtype SUBANIM_TYPE_ROOTED = ConvertSubAnimType(11)
constant subanimtype SUBANIM_TYPE_ALTERNATE_EX = ConvertSubAnimType(12)
constant subanimtype SUBANIM_TYPE_LOOPING = ConvertSubAnimType(13)
constant subanimtype SUBANIM_TYPE_SLAM = ConvertSubAnimType(14)
constant subanimtype SUBANIM_TYPE_THROW = ConvertSubAnimType(15)
constant subanimtype SUBANIM_TYPE_SPIKED = ConvertSubAnimType(16)
constant subanimtype SUBANIM_TYPE_FAST = ConvertSubAnimType(17)
constant subanimtype SUBANIM_TYPE_SPIN = ConvertSubAnimType(18)
constant subanimtype SUBANIM_TYPE_READY = ConvertSubAnimType(19)
constant subanimtype SUBANIM_TYPE_CHANNEL = ConvertSubAnimType(20)
constant subanimtype SUBANIM_TYPE_DEFEND = ConvertSubAnimType(21)
constant subanimtype SUBANIM_TYPE_VICTORY = ConvertSubAnimType(22)
constant subanimtype SUBANIM_TYPE_TURN = ConvertSubAnimType(23)
constant subanimtype SUBANIM_TYPE_LEFT = ConvertSubAnimType(24)
constant subanimtype SUBANIM_TYPE_RIGHT = ConvertSubAnimType(25)
constant subanimtype SUBANIM_TYPE_FIRE = ConvertSubAnimType(26)
constant subanimtype SUBANIM_TYPE_FLESH = ConvertSubAnimType(27)
constant subanimtype SUBANIM_TYPE_HIT = ConvertSubAnimType(28)
constant subanimtype SUBANIM_TYPE_WOUNDED = ConvertSubAnimType(29)
constant subanimtype SUBANIM_TYPE_LIGHT = ConvertSubAnimType(30)
constant subanimtype SUBANIM_TYPE_MODERATE = ConvertSubAnimType(31)
constant subanimtype SUBANIM_TYPE_SEVERE = ConvertSubAnimType(32)
constant subanimtype SUBANIM_TYPE_CRITICAL = ConvertSubAnimType(33)
constant subanimtype SUBANIM_TYPE_COMPLETE = ConvertSubAnimType(34)
constant subanimtype SUBANIM_TYPE_GOLD = ConvertSubAnimType(35)
constant subanimtype SUBANIM_TYPE_LUMBER = ConvertSubAnimType(36)
constant subanimtype SUBANIM_TYPE_WORK = ConvertSubAnimType(37)
constant subanimtype SUBANIM_TYPE_TALK = ConvertSubAnimType(38)
constant subanimtype SUBANIM_TYPE_FIRST = ConvertSubAnimType(39)
constant subanimtype SUBANIM_TYPE_SECOND = ConvertSubAnimType(40)
constant subanimtype SUBANIM_TYPE_THIRD = ConvertSubAnimType(41)
constant subanimtype SUBANIM_TYPE_FOURTH = ConvertSubAnimType(42)
constant subanimtype SUBANIM_TYPE_FIFTH = ConvertSubAnimType(43)
constant subanimtype SUBANIM_TYPE_ONE = ConvertSubAnimType(44)
constant subanimtype SUBANIM_TYPE_TWO = ConvertSubAnimType(45)
constant subanimtype SUBANIM_TYPE_THREE = ConvertSubAnimType(46)
constant subanimtype SUBANIM_TYPE_FOUR = ConvertSubAnimType(47)
constant subanimtype SUBANIM_TYPE_FIVE = ConvertSubAnimType(48)
constant subanimtype SUBANIM_TYPE_SMALL = ConvertSubAnimType(49)
constant subanimtype SUBANIM_TYPE_MEDIUM = ConvertSubAnimType(50)
constant subanimtype SUBANIM_TYPE_LARGE = ConvertSubAnimType(51)
constant subanimtype SUBANIM_TYPE_UPGRADE = ConvertSubAnimType(52)
constant subanimtype SUBANIM_TYPE_DRAIN = ConvertSubAnimType(53)
constant subanimtype SUBANIM_TYPE_FILL = ConvertSubAnimType(54)
constant subanimtype SUBANIM_TYPE_CHAINLIGHTNING = ConvertSubAnimType(55)
constant subanimtype SUBANIM_TYPE_EATTREE = ConvertSubAnimType(56)
constant subanimtype SUBANIM_TYPE_PUKE = ConvertSubAnimType(57)
constant subanimtype SUBANIM_TYPE_FLAIL = ConvertSubAnimType(58)
constant subanimtype SUBANIM_TYPE_OFF = ConvertSubAnimType(59)
constant subanimtype SUBANIM_TYPE_SWIM = ConvertSubAnimType(60)
constant subanimtype SUBANIM_TYPE_ENTANGLE = ConvertSubAnimType(61)
constant subanimtype SUBANIM_TYPE_BERSERK = ConvertSubAnimType(62)
constant cursoranimtype CURSORANIM_TYPE_NORMAL = ConvertCursorAnimType(0)
constant cursoranimtype CURSORANIM_TYPE_SELECT = ConvertCursorAnimType(1)
constant cursoranimtype CURSORANIM_TYPE_TARGET = ConvertCursorAnimType(2)
constant cursoranimtype CURSORANIM_TYPE_TARGET_SELECT = ConvertCursorAnimType(3)
constant cursoranimtype CURSORANIM_TYPE_INVALID_TARGET = ConvertCursorAnimType(4)
constant cursoranimtype CURSORANIM_TYPE_HOLD_ITEM = ConvertCursorAnimType(5)
constant cursoranimtype CURSORANIM_TYPE_SCROLL = ConvertCursorAnimType(6)
constant cursoranimtype CURSORANIM_TYPE_LEFT = ConvertCursorAnimType(7)
constant cursoranimtype CURSORANIM_TYPE_RIGHT = ConvertCursorAnimType(8)
constant cursoranimtype CURSORANIM_TYPE_UP = ConvertCursorAnimType(9)
constant cursoranimtype CURSORANIM_TYPE_DOWN = ConvertCursorAnimType(10)
//===================================================
// For use with TriggerRegisterWidgetEvent
//===================================================
constant widgetevent EVENT_WIDGET_DAMAGING = ConvertWidgetEvent(400)
constant widgetevent EVENT_WIDGET_DAMAGED = ConvertWidgetEvent(401)
//===================================================
// For use with TriggerRegisterGameEvent
//===================================================
constant gameevent EVENT_GAME_AGENT_DESTROYED = ConvertGameEvent(800)
constant gameevent EVENT_GAME_AGENT_ARRIVAL = ConvertGameEvent(801)
constant gameevent EVENT_GAME_AGENT_CANT_PATH = ConvertGameEvent(802)
constant gameevent EVENT_GAME_AGENT_WARP_START = ConvertGameEvent(803)
constant gameevent EVENT_GAME_AGENT_WARP_END = ConvertGameEvent(804)
constant gameevent EVENT_GAME_WIDGET_DAMAGING = ConvertGameEvent(805)
constant gameevent EVENT_GAME_WIDGET_DAMAGED = ConvertGameEvent(806)
constant gameevent EVENT_GAME_WIDGET_DEATH = ConvertGameEvent(807)
constant gameevent EVENT_GAME_HACK_DETECTED = ConvertGameEvent(850)
//===================================================
// For use with TriggerRegisterPlayerEvent
//===================================================
constant playerevent EVENT_PLAYER_MOUSE_DOWN = ConvertPlayerEvent(305)
constant playerevent EVENT_PLAYER_MOUSE_UP = ConvertPlayerEvent(306)
constant playerevent EVENT_PLAYER_MOUSE_MOVE = ConvertPlayerEvent(307)
constant playerevent EVENT_PLAYER_SYNC_DATA = ConvertPlayerEvent(309) // currently not active
constant playerevent EVENT_PLAYER_KEY = ConvertPlayerEvent(311)
constant playerevent EVENT_PLAYER_KEY_DOWN = ConvertPlayerEvent(312)
constant playerevent EVENT_PLAYER_KEY_UP = ConvertPlayerEvent(313)
constant playerevent EVENT_PLAYER_WIDGET_TRACK = ConvertPlayerEvent(320)
constant playerevent EVENT_PLAYER_WIDGET_GHOST_TRACK = ConvertPlayerEvent(321)
constant playerevent EVENT_PLAYER_WIDGET_CLICK = ConvertPlayerEvent(322)
constant playerevent EVENT_PLAYER_WIDGET_GHOST_CLICK = ConvertPlayerEvent(323)
constant playerevent EVENT_PLAYER_TERRAIN_CLICK = ConvertPlayerEvent(324)
constant playerevent EVENT_PLAYER_TRADE_RESOURCE = ConvertPlayerEvent(350)
//===================================================
// For use with TriggerRegisterPlayerUnitEvent
//===================================================
constant playerunitevent EVENT_PLAYER_UNIT_DAMAGED = ConvertPlayerUnitEvent(308)
constant playerunitevent EVENT_PLAYER_UNIT_DAMAGING = ConvertPlayerUnitEvent(315)
constant playerunitevent EVENT_PLAYER_UNIT_ATTACK_FINISHED = ConvertPlayerUnitEvent(317)
constant playerunitevent EVENT_PLAYER_UNIT_DECAY_FINISHED = ConvertPlayerUnitEvent(319)
constant playerunitevent EVENT_PLAYER_UNIT_REINCARNATION_START = ConvertPlayerUnitEvent(325)
constant playerunitevent EVENT_PLAYER_UNIT_REINCARNATION_END = ConvertPlayerUnitEvent(327)
constant playerunitevent EVENT_PLAYER_UNIT_REVIVED = ConvertPlayerUnitEvent(329)
//===================================================
// For use with TriggerRegisterUnitEvent
//===================================================
constant unitevent EVENT_UNIT_DAMAGING = ConvertUnitEvent(314)
constant unitevent EVENT_UNIT_ATTACK_FINISHED = ConvertUnitEvent(316)
constant unitevent EVENT_UNIT_DECAY_FINISHED = ConvertUnitEvent(318)
constant unitevent EVENT_UNIT_REINCARNATION_START = ConvertUnitEvent(326)
constant unitevent EVENT_UNIT_REINCARNATION_END = ConvertUnitEvent(328)
constant unitevent EVENT_UNIT_REVIVED = ConvertUnitEvent(330)
//===================================================
// For use with TriggerRegisterPlayerUnitEvent
//===================================================
constant playerunitevent EVENT_PLAYER_UNIT_BUFF_RECEIVED = ConvertPlayerUnitEvent(500)
constant playerunitevent EVENT_PLAYER_UNIT_BUFF_REFRESHED = ConvertPlayerUnitEvent(501)
constant playerunitevent EVENT_PLAYER_UNIT_BUFF_ENDED = ConvertPlayerUnitEvent(502)
constant playerunitevent EVENT_PLAYER_UNIT_BUFF_REMOVED = ConvertPlayerUnitEvent(508)
constant playerunitevent EVENT_PLAYER_UNIT_ABILITY_ADDED = ConvertPlayerUnitEvent(503)
constant playerunitevent EVENT_PLAYER_UNIT_ABILITY_REMOVED = ConvertPlayerUnitEvent(504)
constant playerunitevent EVENT_PLAYER_UNIT_ABILITY_AUTOCAST_ON = ConvertPlayerUnitEvent(505)
constant playerunitevent EVENT_PLAYER_UNIT_ABILITY_AUTOCAST_OFF = ConvertPlayerUnitEvent(506)
constant playerunitevent EVENT_PLAYER_UNIT_ABILITY_LEVEL_CHANGED = ConvertPlayerUnitEvent(507)
constant playerunitevent EVENT_PLAYER_UNIT_PROJECTILE_LAUNCH = ConvertPlayerUnitEvent(600)
constant playerunitevent EVENT_PLAYER_UNIT_PROJECTILE_HIT = ConvertPlayerUnitEvent(601)
//===================================================
// For use with TriggerRegisterUnitEvent
//===================================================
constant unitevent EVENT_UNIT_BUFF_RECEIVED = ConvertUnitEvent(510)
constant unitevent EVENT_UNIT_BUFF_REFRESHED = ConvertUnitEvent(511)
constant unitevent EVENT_UNIT_BUFF_ENDED = ConvertUnitEvent(512)
constant unitevent EVENT_UNIT_BUFF_REMOVED = ConvertUnitEvent(518)
constant unitevent EVENT_UNIT_ABILITY_ADDED = ConvertUnitEvent(513)
constant unitevent EVENT_UNIT_ABILITY_REMOVED = ConvertUnitEvent(514)
constant unitevent EVENT_UNIT_ABILITY_AUTOCAST_ON = ConvertUnitEvent(515)
constant unitevent EVENT_UNIT_ABILITY_AUTOCAST_OFF = ConvertUnitEvent(516)
constant unitevent EVENT_UNIT_ABILITY_LEVEL_CHANGED = ConvertUnitEvent(517)
constant unitevent EVENT_UNIT_PROJECTILE_LAUNCH = ConvertUnitEvent(610)
constant unitevent EVENT_UNIT_PROJECTILE_HIT = ConvertUnitEvent(611)
//===================================================
// Projectile Type Constants for use with IsProjectileType()
//===================================================
constant projectiletype PROJECTILE_TYPE_BULLET = ConvertProjectileType(0)
constant projectiletype PROJECTILE_TYPE_MISSILE = ConvertProjectileType(1)
constant projectiletype PROJECTILE_TYPE_ARTILLERY = ConvertProjectileType(2)
constant projectiletype PROJECTILE_TYPE_VISIBLE = ConvertProjectileType(4)
constant projectiletype PROJECTILE_TYPE_DEAD = ConvertProjectileType(5)
//===================================================
// Animatable Camera Fields
//===================================================
constant camerafield CAMERA_FIELD_NEARZ = ConvertCameraField(7)
constant camerafield CAMERA_FIELD_LOCAL_PITCH = ConvertCameraField(8)
constant camerafield CAMERA_FIELD_LOCAL_YAW = ConvertCameraField(9)
constant camerafield CAMERA_FIELD_LOCAL_ROLL = ConvertCameraField(10) // not implemented yet...
//===================================================
// Custom UI API constants
//===================================================
constant originframetype ORIGIN_FRAME_GAME_UI = ConvertOriginFrameType(0)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON = ConvertOriginFrameType(1)
constant originframetype ORIGIN_FRAME_HERO_BAR = ConvertOriginFrameType(2)
constant originframetype ORIGIN_FRAME_HERO_BUTTON = ConvertOriginFrameType(3)
constant originframetype ORIGIN_FRAME_HERO_HP_BAR = ConvertOriginFrameType(4)
constant originframetype ORIGIN_FRAME_HERO_MANA_BAR = ConvertOriginFrameType(5)
constant originframetype ORIGIN_FRAME_HERO_BUTTON_INDICATOR = ConvertOriginFrameType(6)
constant originframetype ORIGIN_FRAME_ITEM_BUTTON = ConvertOriginFrameType(7)
constant originframetype ORIGIN_FRAME_MINIMAP = ConvertOriginFrameType(8)
constant originframetype ORIGIN_FRAME_MINIMAP_BUTTON = ConvertOriginFrameType(9)
constant originframetype ORIGIN_FRAME_SYSTEM_BUTTON = ConvertOriginFrameType(10)
constant originframetype ORIGIN_FRAME_TOOLTIP = ConvertOriginFrameType(11)
constant originframetype ORIGIN_FRAME_UBERTOOLTIP = ConvertOriginFrameType(12)
constant originframetype ORIGIN_FRAME_CHAT_MSG = ConvertOriginFrameType(13)
constant originframetype ORIGIN_FRAME_UNIT_MSG = ConvertOriginFrameType(14)
constant originframetype ORIGIN_FRAME_TOP_MSG = ConvertOriginFrameType(15)
constant originframetype ORIGIN_FRAME_PORTRAIT = ConvertOriginFrameType(16)
constant originframetype ORIGIN_FRAME_WORLD_FRAME = ConvertOriginFrameType(17)
constant originframetype ORIGIN_FRAME_CONSOLE_UI = ConvertOriginFrameType(18)
constant originframetype ORIGIN_FRAME_PORTRAIT_TEXT = ConvertOriginFrameType(19)
constant originframetype ORIGIN_FRAME_BUFF_BAR = ConvertOriginFrameType(20)
constant originframetype ORIGIN_FRAME_BUFF_BAR_TEXT = ConvertOriginFrameType(21)
constant originframetype ORIGIN_FRAME_BUFF_BAR_INDICATOR = ConvertOriginFrameType(22)
constant originframetype ORIGIN_FRAME_TIME_OF_DAY_INDICATOR = ConvertOriginFrameType(23)
constant originframetype ORIGIN_FRAME_LEADERBOARD = ConvertOriginFrameType(24)
constant originframetype ORIGIN_FRAME_MULTIBOARD = ConvertOriginFrameType(25)
constant originframetype ORIGIN_FRAME_INFO_BAR = ConvertOriginFrameType(26)
constant originframetype ORIGIN_FRAME_COMMAND_BAR = ConvertOriginFrameType(27)
constant originframetype ORIGIN_FRAME_RESOURCE_BAR = ConvertOriginFrameType(28)
constant originframetype ORIGIN_FRAME_RESOURCE_BAR_TEXTURE = ConvertOriginFrameType(29)
constant originframetype ORIGIN_FRAME_RESOURCE_BAR_TEXT = ConvertOriginFrameType(30)
constant originframetype ORIGIN_FRAME_UPPERBUTTON_BAR = ConvertOriginFrameType(31)
constant originframetype ORIGIN_FRAME_UPPERBUTTON_BAR_BUTTON = ConvertOriginFrameType(32)
constant originframetype ORIGIN_FRAME_PEON_BAR = ConvertOriginFrameType(33)
constant originframetype ORIGIN_FRAME_PLAYER_MESSAGE = ConvertOriginFrameType(34)
constant originframetype ORIGIN_FRAME_UNIT_MESSAGE = ConvertOriginFrameType(35)
constant originframetype ORIGIN_FRAME_CHAT_MESSAGE = ConvertOriginFrameType(36)
constant originframetype ORIGIN_FRAME_TOP_MESSAGE = ConvertOriginFrameType(37)
constant originframetype ORIGIN_FRAME_CHAT_EDITBAR = ConvertOriginFrameType(38)
constant originframetype ORIGIN_FRAME_CINEMATIC_PANEL = ConvertOriginFrameType(39)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_COOLDOWN_INDICATOR = ConvertOriginFrameType(40)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_AUTOCAST_FRAME = ConvertOriginFrameType(41)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_CHARGES_FRAME = ConvertOriginFrameType(42)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_CHARGES_TEXT = ConvertOriginFrameType(43)
constant originframetype ORIGIN_FRAME_CURSOR_FRAME = ConvertOriginFrameType(44)
constant originframetype ORIGIN_FRAME_INVENTORY_COVER_FRAME = ConvertOriginFrameType(45)
constant originframetype ORIGIN_FRAME_UNIT_TIP = ConvertOriginFrameType(46)
constant originframetype ORIGIN_FRAME_ITEM_BUTTON_COOLDOWN_INDICATOR = ConvertOriginFrameType(47)
constant originframetype ORIGIN_FRAME_ITEM_BUTTON_AUTOCAST_FRAME = ConvertOriginFrameType(48)
constant originframetype ORIGIN_FRAME_ITEM_BUTTON_CHARGES_FRAME = ConvertOriginFrameType(49)
constant originframetype ORIGIN_FRAME_ITEM_BUTTON_CHARGES_TEXT = ConvertOriginFrameType(50)
constant originframetype ORIGIN_FRAME_TRAINABLE_BUTTON = ConvertOriginFrameType(51)
constant originframetype ORIGIN_FRAME_CARGO_BUTTON = ConvertOriginFrameType(52)
constant originframetype ORIGIN_FRAME_GROUP_BUTTON = ConvertOriginFrameType(53)
constant originframetype ORIGIN_FRAME_FPS_TEXT = ConvertOriginFrameType(54)
constant originframetype ORIGIN_FRAME_MEMORY_TEXT = ConvertOriginFrameType(55)
constant framepointtype FRAMEPOINT_TOPLEFT = ConvertFramePointType(0)
constant framepointtype FRAMEPOINT_TOP = ConvertFramePointType(1)
constant framepointtype FRAMEPOINT_TOPRIGHT = ConvertFramePointType(2)
constant framepointtype FRAMEPOINT_LEFT = ConvertFramePointType(3)
constant framepointtype FRAMEPOINT_CENTER = ConvertFramePointType(4)
constant framepointtype FRAMEPOINT_RIGHT = ConvertFramePointType(5)
constant framepointtype FRAMEPOINT_BOTTOMLEFT = ConvertFramePointType(6)
constant framepointtype FRAMEPOINT_BOTTOM = ConvertFramePointType(7)
constant framepointtype FRAMEPOINT_BOTTOMRIGHT = ConvertFramePointType(8)
constant textaligntype TEXT_JUSTIFY_TOP = ConvertTextAlignType(0)
constant textaligntype TEXT_JUSTIFY_MIDDLE = ConvertTextAlignType(1)
constant textaligntype TEXT_JUSTIFY_BOTTOM = ConvertTextAlignType(2)
constant textaligntype TEXT_JUSTIFY_LEFT = ConvertTextAlignType(3)
constant textaligntype TEXT_JUSTIFY_CENTER = ConvertTextAlignType(4)
constant textaligntype TEXT_JUSTIFY_RIGHT = ConvertTextAlignType(5)
constant frameeventtype FRAMEEVENT_CONTROL_CLICK = ConvertFrameEventType(1)
constant frameeventtype FRAMEEVENT_MOUSE_ENTER = ConvertFrameEventType(2)
constant frameeventtype FRAMEEVENT_MOUSE_LEAVE = ConvertFrameEventType(3)
constant frameeventtype FRAMEEVENT_MOUSE_UP = ConvertFrameEventType(4)
constant frameeventtype FRAMEEVENT_MOUSE_DOWN = ConvertFrameEventType(5)
constant frameeventtype FRAMEEVENT_MOUSE_WHEEL = ConvertFrameEventType(6)
constant frameeventtype FRAMEEVENT_CHECKBOX_CHECKED = ConvertFrameEventType(7)
constant frameeventtype FRAMEEVENT_CHECKBOX_UNCHECKED = ConvertFrameEventType(8)
constant frameeventtype FRAMEEVENT_EDITBOX_TEXT_CHANGED = ConvertFrameEventType(9)
constant frameeventtype FRAMEEVENT_POPUPMENU_ITEM_CHANGED = ConvertFrameEventType(10) // This also works with CListBox and CMenu
constant frameeventtype FRAMEEVENT_FRAME_ITEM_CHANGED = ConvertFrameEventType(10) // More streamlined version, as not only CPopupMenu can have ITEM_CHANGED events.
constant frameeventtype FRAMEEVENT_MOUSE_DOUBLECLICK = ConvertFrameEventType(11)
constant frameeventtype FRAMEEVENT_SPRITE_ANIM_UPDATE = ConvertFrameEventType(12)
constant frameeventtype FRAMEEVENT_SLIDER_VALUE_CHANGED = ConvertFrameEventType(13)
constant frameeventtype FRAMEEVENT_DIALOG_CANCEL = ConvertFrameEventType(14)
constant frameeventtype FRAMEEVENT_DIALOG_ACCEPT = ConvertFrameEventType(15)
constant frameeventtype FRAMEEVENT_EDITBOX_ENTER = ConvertFrameEventType(16)
constant frameeventtype FRAMEEVENT_CHECKBOX_CHANGED = ConvertFrameEventType(17)
constant frameeventtype FRAMEEVENT_CONTROL_RELEASE = ConvertFrameEventType(18)
constant frameeventtype FRAMEEVENT_CONTROL_DRAG = ConvertFrameEventType(19)
//===================================================
// OS Key constants
//===================================================
constant oskeytype OSKEY_LBUTTON = ConvertOsKeyType(0x01)
constant oskeytype OSKEY_RBUTTON = ConvertOsKeyType(0x02)
constant oskeytype OSKEY_CANCEL = ConvertOsKeyType(0x03)
constant oskeytype OSKEY_MBUTTON = ConvertOsKeyType(0x04)
constant oskeytype OSKEY_XBUTTON1 = ConvertOsKeyType(0x05)
constant oskeytype OSKEY_XBUTTON2 = ConvertOsKeyType(0x06)
constant oskeytype OSKEY_UNDEFINED = ConvertOsKeyType(0x07)
constant oskeytype OSKEY_BACKSPACE = ConvertOsKeyType(0x08)
constant oskeytype OSKEY_TAB = ConvertOsKeyType(0x09)
constant oskeytype OSKEY_CLEAR = ConvertOsKeyType(0x0C)
constant oskeytype OSKEY_RETURN = ConvertOsKeyType(0x0D)
constant oskeytype OSKEY_SHIFT = ConvertOsKeyType(0x10)
constant oskeytype OSKEY_CONTROL = ConvertOsKeyType(0x11)
constant oskeytype OSKEY_ALT = ConvertOsKeyType(0x12)
constant oskeytype OSKEY_PAUSE = ConvertOsKeyType(0x13)
constant oskeytype OSKEY_CAPSLOCK = ConvertOsKeyType(0x14)
constant oskeytype OSKEY_KANA = ConvertOsKeyType(0x15)
constant oskeytype OSKEY_HANGUL = ConvertOsKeyType(0x15)
constant oskeytype OSKEY_JUNJA = ConvertOsKeyType(0x17)
constant oskeytype OSKEY_FINAL = ConvertOsKeyType(0x18)
constant oskeytype OSKEY_HANJA = ConvertOsKeyType(0x19)
constant oskeytype OSKEY_KANJI = ConvertOsKeyType(0x19)
constant oskeytype OSKEY_ESCAPE = ConvertOsKeyType(0x1B)
constant oskeytype OSKEY_CONVERT = ConvertOsKeyType(0x1C)
constant oskeytype OSKEY_NONCONVERT = ConvertOsKeyType(0x1D)
constant oskeytype OSKEY_ACCEPT = ConvertOsKeyType(0x1E)
constant oskeytype OSKEY_MODECHANGE = ConvertOsKeyType(0x1F)
constant oskeytype OSKEY_SPACE = ConvertOsKeyType(0x20)
constant oskeytype OSKEY_PAGEUP = ConvertOsKeyType(0x21)
constant oskeytype OSKEY_PAGEDOWN = ConvertOsKeyType(0x22)
constant oskeytype OSKEY_END = ConvertOsKeyType(0x23)
constant oskeytype OSKEY_HOME = ConvertOsKeyType(0x24)
constant oskeytype OSKEY_LEFT = ConvertOsKeyType(0x25)
constant oskeytype OSKEY_UP = ConvertOsKeyType(0x26)
constant oskeytype OSKEY_RIGHT = ConvertOsKeyType(0x27)
constant oskeytype OSKEY_DOWN = ConvertOsKeyType(0x28)
constant oskeytype OSKEY_SELECT = ConvertOsKeyType(0x29)
constant oskeytype OSKEY_PRINT = ConvertOsKeyType(0x2A)
constant oskeytype OSKEY_EXECUTE = ConvertOsKeyType(0x2B)
constant oskeytype OSKEY_PRINTSCREEN = ConvertOsKeyType(0x2C)
constant oskeytype OSKEY_INSERT = ConvertOsKeyType(0x2D)
constant oskeytype OSKEY_DELETE = ConvertOsKeyType(0x2E)
constant oskeytype OSKEY_HELP = ConvertOsKeyType(0x2F)
constant oskeytype OSKEY_0 = ConvertOsKeyType(0x30)
constant oskeytype OSKEY_1 = ConvertOsKeyType(0x31)
constant oskeytype OSKEY_2 = ConvertOsKeyType(0x32)
constant oskeytype OSKEY_3 = ConvertOsKeyType(0x33)
constant oskeytype OSKEY_4 = ConvertOsKeyType(0x34)
constant oskeytype OSKEY_5 = ConvertOsKeyType(0x35)
constant oskeytype OSKEY_6 = ConvertOsKeyType(0x36)
constant oskeytype OSKEY_7 = ConvertOsKeyType(0x37)
constant oskeytype OSKEY_8 = ConvertOsKeyType(0x38)
constant oskeytype OSKEY_9 = ConvertOsKeyType(0x39)
constant oskeytype OSKEY_A = ConvertOsKeyType(0x41)
constant oskeytype OSKEY_B = ConvertOsKeyType(0x42)
constant oskeytype OSKEY_C = ConvertOsKeyType(0x43)
constant oskeytype OSKEY_D = ConvertOsKeyType(0x44)
constant oskeytype OSKEY_E = ConvertOsKeyType(0x45)
constant oskeytype OSKEY_F = ConvertOsKeyType(0x46)
constant oskeytype OSKEY_G = ConvertOsKeyType(0x47)
constant oskeytype OSKEY_H = ConvertOsKeyType(0x48)
constant oskeytype OSKEY_I = ConvertOsKeyType(0x49)
constant oskeytype OSKEY_J = ConvertOsKeyType(0x4A)
constant oskeytype OSKEY_K = ConvertOsKeyType(0x4B)
constant oskeytype OSKEY_L = ConvertOsKeyType(0x4C)
constant oskeytype OSKEY_M = ConvertOsKeyType(0x4D)
constant oskeytype OSKEY_N = ConvertOsKeyType(0x4E)
constant oskeytype OSKEY_O = ConvertOsKeyType(0x4F)
constant oskeytype OSKEY_P = ConvertOsKeyType(0x50)
constant oskeytype OSKEY_Q = ConvertOsKeyType(0x51)
constant oskeytype OSKEY_R = ConvertOsKeyType(0x52)
constant oskeytype OSKEY_S = ConvertOsKeyType(0x53)
constant oskeytype OSKEY_T = ConvertOsKeyType(0x54)
constant oskeytype OSKEY_U = ConvertOsKeyType(0x55)
constant oskeytype OSKEY_V = ConvertOsKeyType(0x56)
constant oskeytype OSKEY_W = ConvertOsKeyType(0x57)
constant oskeytype OSKEY_X = ConvertOsKeyType(0x58)
constant oskeytype OSKEY_Y = ConvertOsKeyType(0x59)
constant oskeytype OSKEY_Z = ConvertOsKeyType(0x5A)
constant oskeytype OSKEY_LMETA = ConvertOsKeyType(0x5B)
constant oskeytype OSKEY_RMETA = ConvertOsKeyType(0x5C)
constant oskeytype OSKEY_APPS = ConvertOsKeyType(0x5D)
constant oskeytype OSKEY_SLEEP = ConvertOsKeyType(0x5F)
constant oskeytype OSKEY_NUMPAD0 = ConvertOsKeyType(0x60)
constant oskeytype OSKEY_NUMPAD1 = ConvertOsKeyType(0x61)
constant oskeytype OSKEY_NUMPAD2 = ConvertOsKeyType(0x62)
constant oskeytype OSKEY_NUMPAD3 = ConvertOsKeyType(0x63)
constant oskeytype OSKEY_NUMPAD4 = ConvertOsKeyType(0x64)
constant oskeytype OSKEY_NUMPAD5 = ConvertOsKeyType(0x65)
constant oskeytype OSKEY_NUMPAD6 = ConvertOsKeyType(0x66)
constant oskeytype OSKEY_NUMPAD7 = ConvertOsKeyType(0x67)
constant oskeytype OSKEY_NUMPAD8 = ConvertOsKeyType(0x68)
constant oskeytype OSKEY_NUMPAD9 = ConvertOsKeyType(0x69)
constant oskeytype OSKEY_MULTIPLY = ConvertOsKeyType(0x6A)
constant oskeytype OSKEY_ADD = ConvertOsKeyType(0x6B)
constant oskeytype OSKEY_SEPARATOR = ConvertOsKeyType(0x6C)
constant oskeytype OSKEY_SUBTRACT = ConvertOsKeyType(0x6D)
constant oskeytype OSKEY_DECIMAL = ConvertOsKeyType(0x6E)
constant oskeytype OSKEY_DIVIDE = ConvertOsKeyType(0x6F)
constant oskeytype OSKEY_F1 = ConvertOsKeyType(0x70)
constant oskeytype OSKEY_F2 = ConvertOsKeyType(0x71)
constant oskeytype OSKEY_F3 = ConvertOsKeyType(0x72)
constant oskeytype OSKEY_F4 = ConvertOsKeyType(0x73)
constant oskeytype OSKEY_F5 = ConvertOsKeyType(0x74)
constant oskeytype OSKEY_F6 = ConvertOsKeyType(0x75)
constant oskeytype OSKEY_F7 = ConvertOsKeyType(0x76)
constant oskeytype OSKEY_F8 = ConvertOsKeyType(0x77)
constant oskeytype OSKEY_F9 = ConvertOsKeyType(0x78)
constant oskeytype OSKEY_F10 = ConvertOsKeyType(0x79)
constant oskeytype OSKEY_F11 = ConvertOsKeyType(0x7A)
constant oskeytype OSKEY_F12 = ConvertOsKeyType(0x7B)
constant oskeytype OSKEY_F13 = ConvertOsKeyType(0x7C)
constant oskeytype OSKEY_F14 = ConvertOsKeyType(0x7D)
constant oskeytype OSKEY_F15 = ConvertOsKeyType(0x7E)
constant oskeytype OSKEY_F16 = ConvertOsKeyType(0x7F)
constant oskeytype OSKEY_F17 = ConvertOsKeyType(0x80)
constant oskeytype OSKEY_F18 = ConvertOsKeyType(0x81)
constant oskeytype OSKEY_F19 = ConvertOsKeyType(0x82)
constant oskeytype OSKEY_F20 = ConvertOsKeyType(0x83)
constant oskeytype OSKEY_F21 = ConvertOsKeyType(0x84)
constant oskeytype OSKEY_F22 = ConvertOsKeyType(0x85)
constant oskeytype OSKEY_F23 = ConvertOsKeyType(0x86)
constant oskeytype OSKEY_F24 = ConvertOsKeyType(0x87)
constant oskeytype OSKEY_NUMLOCK = ConvertOsKeyType(0x90)
constant oskeytype OSKEY_SCROLLLOCK = ConvertOsKeyType(0x91)
constant oskeytype OSKEY_OEM_NEC_EQUAL = ConvertOsKeyType(0x92)
constant oskeytype OSKEY_OEM_FJ_JISHO = ConvertOsKeyType(0x92)
constant oskeytype OSKEY_OEM_FJ_MASSHOU = ConvertOsKeyType(0x93)
constant oskeytype OSKEY_OEM_FJ_TOUROKU = ConvertOsKeyType(0x94)
constant oskeytype OSKEY_OEM_FJ_LOYA = ConvertOsKeyType(0x95)
constant oskeytype OSKEY_OEM_FJ_ROYA = ConvertOsKeyType(0x96)
constant oskeytype OSKEY_LSHIFT = ConvertOsKeyType(0xA0)
constant oskeytype OSKEY_RSHIFT = ConvertOsKeyType(0xA1)
constant oskeytype OSKEY_LCONTROL = ConvertOsKeyType(0xA2)
constant oskeytype OSKEY_RCONTROL = ConvertOsKeyType(0xA3)
constant oskeytype OSKEY_LALT = ConvertOsKeyType(0xA4)
constant oskeytype OSKEY_RALT = ConvertOsKeyType(0xA5)
constant oskeytype OSKEY_BROWSER_BACK = ConvertOsKeyType(0xA6)
constant oskeytype OSKEY_BROWSER_FORWARD = ConvertOsKeyType(0xA7)
constant oskeytype OSKEY_BROWSER_REFRESH = ConvertOsKeyType(0xA8)
constant oskeytype OSKEY_BROWSER_STOP = ConvertOsKeyType(0xA9)
constant oskeytype OSKEY_BROWSER_SEARCH = ConvertOsKeyType(0xAA)
constant oskeytype OSKEY_BROWSER_FAVORITES = ConvertOsKeyType(0xAB)
constant oskeytype OSKEY_BROWSER_HOME = ConvertOsKeyType(0xAC)
constant oskeytype OSKEY_VOLUME_MUTE = ConvertOsKeyType(0xAD)
constant oskeytype OSKEY_VOLUME_DOWN = ConvertOsKeyType(0xAE)
constant oskeytype OSKEY_VOLUME_UP = ConvertOsKeyType(0xAF)
constant oskeytype OSKEY_MEDIA_NEXT_TRACK = ConvertOsKeyType(0xB0)
constant oskeytype OSKEY_MEDIA_PREV_TRACK = ConvertOsKeyType(0xB1)
constant oskeytype OSKEY_MEDIA_STOP = ConvertOsKeyType(0xB2)
constant oskeytype OSKEY_MEDIA_PLAY_PAUSE = ConvertOsKeyType(0xB3)
constant oskeytype OSKEY_LAUNCH_MAIL = ConvertOsKeyType(0xB4)
constant oskeytype OSKEY_LAUNCH_MEDIA_SELECT = ConvertOsKeyType(0xB5)
constant oskeytype OSKEY_LAUNCH_APP1 = ConvertOsKeyType(0xB6)
constant oskeytype OSKEY_LAUNCH_APP2 = ConvertOsKeyType(0xB7)
constant oskeytype OSKEY_OEM_1 = ConvertOsKeyType(0xBA)
constant oskeytype OSKEY_OEM_PLUS = ConvertOsKeyType(0xBB)
constant oskeytype OSKEY_OEM_COMMA = ConvertOsKeyType(0xBC)
constant oskeytype OSKEY_OEM_MINUS = ConvertOsKeyType(0xBD)
constant oskeytype OSKEY_OEM_PERIOD = ConvertOsKeyType(0xBE)
constant oskeytype OSKEY_OEM_2 = ConvertOsKeyType(0xBF)
constant oskeytype OSKEY_OEM_3 = ConvertOsKeyType(0xC0)
constant oskeytype OSKEY_OEM_4 = ConvertOsKeyType(0xDB)
constant oskeytype OSKEY_OEM_5 = ConvertOsKeyType(0xDC)
constant oskeytype OSKEY_OEM_6 = ConvertOsKeyType(0xDD)
constant oskeytype OSKEY_OEM_7 = ConvertOsKeyType(0xDE)
constant oskeytype OSKEY_OEM_8 = ConvertOsKeyType(0xDF)
constant oskeytype OSKEY_OEM_AX = ConvertOsKeyType(0xE1)
constant oskeytype OSKEY_OEM_102 = ConvertOsKeyType(0xE2)
constant oskeytype OSKEY_ICO_HELP = ConvertOsKeyType(0xE3)
constant oskeytype OSKEY_ICO_00 = ConvertOsKeyType(0xE4)
constant oskeytype OSKEY_PROCESSKEY = ConvertOsKeyType(0xE5)
constant oskeytype OSKEY_ICO_CLEAR = ConvertOsKeyType(0xE6)
constant oskeytype OSKEY_PACKET = ConvertOsKeyType(0xE7)
constant oskeytype OSKEY_OEM_RESET = ConvertOsKeyType(0xE9)
constant oskeytype OSKEY_OEM_JUMP = ConvertOsKeyType(0xEA)
constant oskeytype OSKEY_OEM_PA1 = ConvertOsKeyType(0xEB)
constant oskeytype OSKEY_OEM_PA2 = ConvertOsKeyType(0xEC)
constant oskeytype OSKEY_OEM_PA3 = ConvertOsKeyType(0xED)
constant oskeytype OSKEY_OEM_WSCTRL = ConvertOsKeyType(0xEE)
constant oskeytype OSKEY_OEM_CUSEL = ConvertOsKeyType(0xEF)