-
Notifications
You must be signed in to change notification settings - Fork 1
/
scar-api.chunk14.lua
999 lines (695 loc) · 15.4 KB
/
scar-api.chunk14.lua
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
---@undocumented
---@vararg any
function UI_CreateEventCueClickable (...) end
---@undocumented
---@vararg any
function UI_CreateMinimapBlipOnEGroup (...) end
---@undocumented
---@vararg any
function UI_CreateMinimapBlipOnEntity (...) end
---@undocumented
---@vararg any
function UI_CreateMinimapBlipOnMarker (...) end
---@undocumented
---@vararg any
function UI_CreateMinimapBlipOnPos (...) end
---@undocumented
---@vararg any
function UI_CreateMinimapBlipOnSGroup (...) end
---@undocumented
---@vararg any
function UI_CreateMinimapBlipOnSquad (...) end
---@undocumented
---@vararg any
function UI_DeleteMinimapBlipInternal (...) end
---@undocumented
---@vararg any
function UI_FlashMinimap (...) end
---@undocumented
---@vararg any
function UI_FlashResourceItem (...) end
---@undocumented
---@vararg any
function UI_ForceHudArrowOnObjective (...) end
---@undocumented
---@vararg any
function UI_GetAllowLoadAndSave (...) end
---@undocumented
---@vararg any
function UI_MessageBoxReset (...) end
---@undocumented
---@vararg any
function UI_MessageBoxShow (...) end
---@undocumented
---@vararg any
function UI_SetCompany (...) end
---@undocumented
---@vararg any
function UnsavedEventRule_AddPlayerEvent (...) end
---@undocumented
---@vararg any
function UnsavedEventRule_AddRuleIDEvent (...) end
---@undocumented
---@vararg any
function UnsavedTimeRule_AddIntervalEx (...) end
---@undocumented
---@vararg any
function UnsavedTimeRule_AddOneShot (...) end
---@undocumented
---@vararg any
function WaveDefense_GetWave (...) end
---@undocumented
---@vararg any
function WaveDefense_Init (...) end
---@undocumented
---@vararg any
function WaveDefense_NextWave (...) end
---@undocumented
---@vararg any
function WaveDefense_PreviousWave (...) end
---@undocumented
---@vararg any
function WaveDefense_SelectSpawns (...) end
---@undocumented
---@vararg any
function WaveDefense_SetCommandSGroup (...) end
---@undocumented
---@vararg any
function WaveDefense_SetObjectives (...) end
---@undocumented
---@vararg any
function WaveDefense_SetWave (...) end
---@undocumented
---@vararg any
function WaveDefense_SpawnWave (...) end
---@undocumented
---@vararg any
function WaveManager_DisableWaveManager (...) end
---@undocumented
---@vararg any
function WaveManager_InitilizeData (...) end
---@undocumented
---@vararg any
function WCNone_CheckSurrender (...) end
---@undocumented
---@vararg any
function WCNone_DelayedWin (...) end
---@undocumented
---@vararg any
function WCNone_GameOver (...) end
---@undocumented
---@vararg any
function Vector_Normalize (...) end
---@undocumented
---@vararg any
function View_DownArrow (...) end
---@undocumented
---@vararg any
function View_DrawItem (...) end
---@undocumented
---@vararg any
function View_Focus (...) end
---@undocumented
---@vararg any
function View_Init (...) end
---@undocumented
---@vararg any
function View_LeftArrow (...) end
---@undocumented
---@vararg any
function View_Manager (...) end
---@undocumented
---@vararg any
function View_RightArrow (...) end
---@undocumented
---@vararg any
function View_ToggleDisplay (...) end
---@undocumented
---@vararg any
function View_UpArrow (...) end
---@undocumented
---@vararg any
function WinCondition_CheckAnnihilation (...) end
---@undocumented
---@vararg any
function VIS_ToggleDebugDeferredPasses (...) end
---@undocumented
---@vararg any
function VIS_ToggleTopDownView (...) end
---@undocumented
---@vararg any
function VIS_ToggleTrackView (...) end
---@undocumented
---@vararg any
function WithdrawFromMap (...) end
---@undocumented
---@vararg any
function WM_GetCallbackData (...) end
---@undocumented
---@vararg any
function WM_GetHordeAttackData (...) end
---@undocumented
---@vararg any
function WM_GetRallyGoalData (...) end
---@undocumented
---@vararg any
function WM_GetRandomizeData (...) end
---@undocumented
---@vararg any
function WM_GetSpawnerData (...) end
---@undocumented
---@vararg any
function WM_GetSustainedAttackData (...) end
---@undocumented
---@vararg any
function WM_GetWaveWarningData (...) end
---@undocumented
---@vararg any
function WM_SetCallbackData (...) end
---@undocumented
---@vararg any
function WM_SetHordeAttackData (...) end
---@undocumented
---@vararg any
function WM_SetRallyGoalData (...) end
---@undocumented
---@vararg any
function WM_SetRandomizeData (...) end
---@undocumented
---@vararg any
function WM_SetSpawnerData (...) end
---@undocumented
---@vararg any
function WM_SetSustainedAttackData (...) end
---@undocumented
---@vararg any
function WM_SetWaveWarningData (...) end
---@undocumented
---@vararg any
function WMPrint (...) end
---@undocumented
---@vararg any
function World_GetEnviroCount (...) end
---@undocumented
---@vararg any
function World_GetEnviroName (...) end
---@undocumented
---@vararg any
function World_GetPossibleEntitiesBlueprint (...) end
---@undocumented
---@vararg any
function World_GetPossibleEntitiesCount (...) end
---@undocumented
---@vararg any
function World_Intersect (...) end
---@undocumented
---@vararg any
function VPAnnihilate_RemoveAllRules (...) end
---@undocumented
---@vararg any
function VPTicker_DelayedWin (...) end
---@undocumented
---@vararg any
function VPTicker_FinalTickerWarningReminder (...) end
---@undocumented
---@vararg any
function VPTicker_GameOver (...) end
---@undocumented
---@vararg any
function VPTicker_GameOverLose (...) end
---@undocumented
---@vararg any
function VPTicker_GameOverTie (...) end
---@undocumented
---@vararg any
function VPTicker_GetTeamTickerFromPlayerID (...) end
---@undocumented
---@vararg any
function VPTicker_GetTeamTickers (...) end
---@undocumented
---@vararg any
function VPTicker_GetTeamVictoryPoints (...) end
---@undocumented
---@vararg any
function VPTicker_MainRule (...) end
---@undocumented
---@vararg any
function VPTicker_OnInit (...) end
---@undocumented
---@vararg any
function VPTicker_PointReminder (...) end
---@undocumented
---@vararg any
function VPTicker_PublishLoseReminder (...) end
---@undocumented
---@vararg any
function VPTicker_SetAllTeamTickers (...) end
---@undocumented
---@vararg any
function VPTicker_SetTeamTickers (...) end
---@undocumented
---@vararg any
function VPTicker_UpdateTickers (...) end
---@undocumented
---@vararg any
function VPTicker_VictoryBalanceReminder (...) end
---@undocumented
---@vararg any
function VPTicker_VictorySpeechReminder (...) end
---@undocumented
---@vararg any
function VPVictoryMessage (...) end
---@type userdata
AII_LocalHumanTakeover = {}
---@type userdata
AII_None = {}
---@type userdata
AII_Normal = {}
---@type userdata
AII_RemoteAITakeover = {}
---@type userdata
AII_RemoteHumanTakeover = {}
---@type userdata
AITacticTargetPreference_Best = {}
---@type userdata
AITacticTargetPreference_HighDamage = {}
---@type userdata
AITacticTargetPreference_LowHealth = {}
---@type userdata
AITacticTargetPreference_Near = {}
---@type userdata
AITacticTargetPreference_NearAndBest = {}
---@type userdata
AITacticTargetPreference_None = {}
---@type userdata
AITacticTargetPreference_Support = {}
---@type userdata
BFS_Burning = {}
---@type userdata
BFS_NotOnFire = {}
---@type userdata
BFS_Smoking = {}
---@type userdata
BIS_Icon = {}
---@type userdata
BIS_IconState = {}
---@type userdata
BS_Defend = {}
---@type userdata
BS_FinishIncompleteStructure = {}
---@type userdata
BS_ForwardDefense = {}
---@type userdata
BS_Mines = {}
---@type userdata
BS_NearAnchor = {}
---@type userdata
BS_OuterAnchor = {}
---@type userdata
BS_Secure = {}
---@type userdata
BT_AttackHere = {}
---@type userdata
BT_CaptureHere = {}
---@type userdata
BT_Combat = {}
---@type userdata
BT_DefendHere = {}
---@type userdata
BT_General = {}
---@type userdata
BT_ObjectiveBonus = {}
---@type userdata
BT_ObjectivePrimary = {}
---@type userdata
BT_ObjectiveSecondary = {}
---@type userdata
BT_RallyPoint = {}
---@type userdata
BT_Reveal = {}
---@type userdata
BT_SectorArtillery = {}
---@type userdata
CANPRODUCE_Disabled = {}
---@type userdata
CANPRODUCE_Error = {}
---@type userdata
CANPRODUCE_NoItem = {}
---@type userdata
CANPRODUCE_NoResources = {}
---@type userdata
CANPRODUCE_Ok = {}
---@type userdata
CANPRODUCE_OutOfReinforceRadius = {}
---@type userdata
CANPRODUCE_OutOfTerritory = {}
---@type userdata
CANPRODUCE_PopulationCapFull = {}
---@type userdata
CANPRODUCE_PrerequisitesItem = {}
---@type userdata
CANPRODUCE_PrerequisitesProducer = {}
---@type userdata
CANPRODUCE_ProductionItemFull = {}
---@type userdata
CANPRODUCE_ProductionQueueFull = {}
---@type userdata
CANPRODUCE_UpgradeItemFull = {}
---@type userdata
CHECK_BOTH = {}
---@type userdata
CHECK_IN_FOW = {}
---@type userdata
CHECK_OFFCAMERA = {}
---@type userdata
CMD_Ability = {}
---@type userdata
CMD_Attack = {}
---@type userdata
CMD_AttackForced = {}
---@type userdata
CMD_AttackFromHold = {}
---@type userdata
CMD_AttackMove = {}
---@type userdata
CMD_AttackStop = {}
---@type userdata
CMD_BuildEntity = {}
---@type userdata
CMD_BuildSquad = {}
---@type userdata
CMD_BuildStructure = {}
---@type userdata
CMD_CancelProduction = {}
---@type userdata
CMD_Capture = {}
---@type userdata
CMD_Casualty = {}
---@type userdata
CMD_ChooseResource = {}
---@type userdata
CMD_Death = {}
---@type userdata
CMD_DefaultAction = {}
---@type userdata
CMD_DefuseMine = {}
---@type userdata
CMD_Destroy = {}
---@type userdata
CMD_Evacuate = {}
---@type userdata
CMD_Face = {}
---@type userdata
CMD_Fidget = {}
---@type userdata
CMD_Halt = {}
---@type userdata
CMD_InstantBuildSquad = {}
---@type userdata
CMD_InstantDeath = {}
---@type userdata
CMD_InstantUpgrade = {}
---@type userdata
CMD_Load = {}
---@type userdata
CMD_Move = {}
---@type userdata
CMD_Paradrop = {}
---@type userdata
CMD_PlaceCharge = {}
---@type userdata
CMD_Projectile = {}
---@type userdata
CMD_RallyPoint = {}
---@type userdata
CMD_RescueCasualty = {}
---@type userdata
CMD_SetHoldHeading = {}
---@type userdata
CMD_Stop = {}
---@type userdata
CMD_Unload = {}
---@type userdata
CMD_UnloadSquads = {}
---@type userdata
CMD_Upgrade = {}
---@type userdata
CMD_Vault = {}
---@type userdata
COMBAT_Attack = {}
---@type userdata
COMBAT_Default = {}
---@type userdata
COMBAT_Defend = {}
---@type userdata
Crush_Heavy = {}
---@type userdata
Crush_Light = {}
---@type userdata
Crush_Medium = {}
---@type userdata
Crush_Off = {}
---@type userdata
CT_Medic = {}
---@type userdata
CT_Personnel = {}
---@type userdata
CT_Vehicle = {}
---@type userdata
CT_VehicleBack = {}
---@type userdata
CT_VehicleCrewShocked = {}
---@type userdata
CT_VehicleDriverInjured = {}
---@type userdata
CT_VehicleEngineBurning = {}
---@type userdata
CT_VehicleEngineGreen = {}
---@type userdata
CT_VehicleEngineRed = {}
---@type userdata
CT_VehicleEngineYellow = {}
---@type userdata
CT_VehicleExhaustDamaged = {}
---@type userdata
CT_VehicleFront = {}
---@type userdata
CT_VehicleGunnerInjured = {}
---@type userdata
CT_VehicleKillCommander = {}
---@type userdata
CT_VehicleLeft = {}
---@type userdata
CT_VehicleLoseTreadsOrWheels = {}
---@type userdata
CT_VehicleOpticsDamaged = {}
---@type userdata
CT_VehicleOutOfControl = {}
---@type userdata
CT_VehiclePrimaryWeapon = {}
---@type userdata
CT_VehicleRight = {}
---@type userdata
CT_VehicleSecondaryWeapon = {}
---@type userdata
DB_Button1 = {}
---@type userdata
DB_Button2 = {}
---@type userdata
DB_Button3 = {}
---@type userdata
DB_Close = {}
---@type userdata
DC_Default = {}
---@type userdata
DC_Iconographic = {}
---@type userdata
DEATHREASON_DEATH_AS_DRIVER = {}
---@type userdata
DEATHREASON_FREEZE = {}
---@type userdata
DEATHREASON_NORMAL = {}
---@type userdata
DEATHREASON_SUBMERGE = {}
---@type userdata
DEBUG_COMBATZONES = {}
---@type userdata
DEBUG_SELECTOR = {}
---@type userdata
FN_LuaTableQuery = {}
---@type userdata
FN_OnActivate = {}
---@type userdata
FN_OnCounterDisplay = {}
---@type userdata
FN_OnSelect = {}
---@type userdata
FN_OnShow = {}
---@type userdata
GE_AbilityComplete = {}
---@type userdata
GE_AbilityExecuted = {}
---@type userdata
GE_AbilityRecharged = {}
---@type userdata
GE_AccessoryWeaponFired = {}
---@type userdata
GE_AIPlayer_Migrated = {}
---@type userdata
GE_AIPlayer_ObjectiveNotification = {}
---@type userdata
GE_AITakeOver = {}
---@type userdata
GE_ArtilleryFired = {}
---@type userdata
GE_AttentionChange = {}
---@type userdata
GE_BoobyTrapTriggered = {}
---@type userdata
GE_BroadcastMessage = {}
---@type userdata
GE_BuildItemComplete = {}
---@type userdata
GE_BuildItemStart = {}
---@type userdata
GE_CasualtySquadSpawned = {}
---@type userdata
GE_CasualtyStatus = {}
---@type userdata
GE_CompleteIntelBulletinTask = {}
---@type userdata
GE_ConstructionComplete = {}
---@type userdata
GE_ConstructionFenceComplete = {}
---@type userdata
GE_ConstructionFieldComplete = {}
---@type userdata
GE_ConstructionPlanComplete = {}
---@type userdata
GE_ConstructionStart = {}
---@type userdata
GE_CriticalDamage = {}
---@type userdata
GE_CriticalRepaired = {}
---@type userdata
GE_CustomUIEvent = {}
---@type userdata
GE_DamageArea = {}
---@type userdata
GE_DefaultCommandIssued = {}
---@type userdata
GE_DriverDecrewed = {}
---@type userdata
GE_DriverRecrewed = {}
---@type userdata
GE_EnemyTerritoryEntered = {}
---@type userdata
GE_EntityAbandoned = {}
---@type userdata
GE_EntityCommandIssued = {}
---@type userdata
GE_EntityCrushed = {}
---@type userdata
GE_EntityKilled = {}
---@type userdata
GE_EntityParadropComplete = {}
---@type userdata
GE_EntityParadropStart = {}
---@type userdata
GE_EntityRecrewed = {}
---@type userdata
GE_FieldSupportChange = {}
---@type userdata
GE_FlankKilled = {}
---@type userdata
GE_GameOver = {}
---@type userdata
GE_GameStart = {}
---@type userdata
GE_Garrison = {}
---@type userdata
GE_GarrisonSquad = {}
---@type userdata
GE_ImportantUnitSighted = {}
---@type userdata
GE_InfoPointActivated = {}
---@type userdata
GE_ItemAvailabilityChanged = {}
---@type userdata
GE_LOSMove = {}
---@type userdata
GE_MineDefused = {}
---@type userdata
GE_MoveFailed = {}
---@type userdata
GE_NonGlobalCamoDetected = {}
---@type userdata
GE_OccupiedBuildingChangedOwner = {}
---@type userdata
GE_PathFound = {}
---@type userdata
GE_Ping = {}
---@type userdata
GE_PlannedStructureCancelled = {}
---@type userdata
GE_PlannedStructurePlaced = {}
---@type userdata
GE_PlayerBeingAttacked = {}
---@type userdata
GE_PlayerCheat = {}
---@type userdata
GE_PlayerCommanderSelected = {}
---@type userdata
GE_PlayerCommandIssued = {}
---@type userdata
GE_PlayerDonation = {}
---@type userdata
GE_PlayerDropped = {}
---@type userdata
GE_PlayerHostMigrated = {}
---@type userdata
GE_PlayerKicked = {}
---@type userdata
GE_PlayerKilled = {}
---@type userdata
GE_PlayerLagComplaint = {}
---@type userdata
GE_PlayerLose = {}
---@type userdata
GE_PlayerNameChanged = {}
---@type userdata
GE_PlayerObjectiveChanged = {}
---@type userdata
GE_PlayerObjectiveCreated = {}
---@type userdata
GE_PlayerObjectiveDeleted = {}
---@type userdata
GE_PlayerPhaseUp = {}
---@type userdata
GE_PlayerPingOfShame = {}
---@type userdata
GE_PlayerPingOfShameLocal = {}
---@type userdata
GE_PlayerResourcesAwarded = {}
---@type userdata
GE_PlayerSkipNIS = {}
---@type userdata
GE_PlayerSurrendered = {}
---@type userdata
GE_PlayerWin = {}
---@type userdata
GE_ProjectileFired = {}
---@type userdata
GE_ProjectileLanded = {}
---@type userdata
GE_RebuiltEntityCreated = {}
---@type userdata
GE_ReinforcementCreated = {}
---@type userdata
GE_ResourceDepleted = {}
---@type userdata
GE_SectorLinkProviderChanged = {}
---@type userdata
GE_SectorOutOfLink = {}
---@type userdata
GE_SpawnActionComplete = {}