warscript 0.0.1-dev.f9efacb → 0.0.1-dev.fa24390
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.
- package/attributes.d.ts +5 -0
- package/attributes.lua +8 -1
- package/config.d.ts +5 -0
- package/config.lua +10 -0
- package/core/types/effect.d.ts +14 -6
- package/core/types/effect.lua +131 -35
- package/core/types/order.d.ts +1 -0
- package/core/types/order.lua +11 -1
- package/core/types/sound.d.ts +17 -24
- package/core/types/sound.lua +99 -24
- package/core/types/timer.d.ts +6 -7
- package/core/types/timer.lua +18 -21
- package/core/util.d.ts +1 -1
- package/core/util.lua +12 -1
- package/decl/native.d.ts +840 -786
- package/engine/behaviour/ability/always-enabled.d.ts +7 -0
- package/engine/behaviour/ability/always-enabled.lua +31 -0
- package/engine/behaviour/ability/apply-buff.d.ts +5 -0
- package/engine/behaviour/ability/apply-buff.lua +32 -0
- package/engine/behaviour/ability/apply-unit-behavior.lua +1 -0
- package/engine/behaviour/ability/damage.d.ts +9 -3
- package/engine/behaviour/ability/damage.lua +26 -38
- package/engine/behaviour/ability/emulate-impact.d.ts +6 -0
- package/engine/behaviour/ability/emulate-impact.lua +35 -0
- package/engine/behaviour/ability/instant-impact.d.ts +2 -2
- package/engine/behaviour/ability/instant-impact.lua +4 -19
- package/engine/behaviour/ability/on-command-impact.d.ts +8 -0
- package/engine/behaviour/ability/on-command-impact.lua +25 -0
- package/engine/behaviour/ability/remove-buffs.d.ts +16 -0
- package/engine/behaviour/ability/remove-buffs.lua +28 -0
- package/engine/behaviour/ability.d.ts +20 -4
- package/engine/behaviour/ability.lua +111 -38
- package/engine/behaviour/unit.d.ts +2 -0
- package/engine/buff.d.ts +62 -42
- package/engine/buff.lua +312 -234
- package/engine/internal/ability.d.ts +15 -2
- package/engine/internal/ability.lua +84 -4
- package/engine/internal/item/ability.lua +106 -0
- package/engine/internal/item.d.ts +4 -3
- package/engine/internal/item.lua +56 -25
- package/engine/internal/mechanics/ability-duration.lua +1 -1
- package/engine/internal/misc/ability-disable-counter.d.ts +2 -0
- package/engine/internal/misc/ability-disable-counter.lua +13 -0
- package/engine/internal/misc/damage-metadata-by-target.d.ts +2 -0
- package/engine/internal/misc/damage-metadata-by-target.lua +5 -0
- package/engine/internal/object-data/auto-attack-speed-increase.d.ts +1 -1
- package/engine/internal/object-data/auto-attack-speed-increase.lua +2 -0
- package/engine/internal/object-data/evasion-probability.d.ts +2 -0
- package/engine/internal/object-data/evasion-probability.lua +16 -0
- package/engine/internal/unit/ability.d.ts +10 -1
- package/engine/internal/unit/ability.lua +36 -14
- package/engine/internal/unit/add-item-to-slot-init.d.ts +2 -0
- package/engine/internal/unit/add-item-to-slot-init.lua +23 -0
- package/engine/internal/unit/add-item-to-slot.d.ts +2 -0
- package/engine/internal/unit/add-item-to-slot.lua +52 -0
- package/engine/internal/unit/bonus.d.ts +2 -0
- package/engine/internal/unit/bonus.lua +17 -0
- package/engine/internal/unit/ignore-events-items.d.ts +2 -0
- package/engine/internal/unit/ignore-events-items.lua +5 -0
- package/engine/internal/unit/item.lua +6 -12
- package/engine/internal/unit/main-selected.d.ts +6 -0
- package/engine/internal/unit/main-selected.lua +12 -1
- package/engine/internal/unit+damage.d.ts +2 -11
- package/engine/internal/unit+damage.lua +10 -14
- package/engine/internal/unit+spellSteal.lua +1 -2
- package/engine/internal/unit.d.ts +25 -5
- package/engine/internal/unit.lua +195 -61
- package/engine/internal/utility.lua +12 -0
- package/engine/lightning.d.ts +12 -5
- package/engine/lightning.lua +48 -14
- package/engine/object-data/auxiliary/animation-name.d.ts +1 -0
- package/engine/object-data/auxiliary/animation-name.lua +16 -0
- package/engine/object-data/auxiliary/attachment-preset.d.ts +7 -2
- package/engine/object-data/auxiliary/attachment-preset.lua +4 -3
- package/engine/object-data/auxiliary/attack-type.d.ts +7 -8
- package/engine/object-data/auxiliary/attack-type.lua +42 -0
- package/engine/object-data/auxiliary/movement-type.d.ts +7 -7
- package/engine/object-data/auxiliary/movement-type.lua +22 -0
- package/engine/object-data/auxiliary/sound-eax.d.ts +10 -0
- package/engine/object-data/auxiliary/sound-eax.lua +2 -0
- package/engine/object-data/auxiliary/sound-preset-name.d.ts +5 -1
- package/engine/object-data/auxiliary/tech-tree-dependency.d.ts +1 -1
- package/engine/object-data/auxiliary/unit-attribute.d.ts +6 -0
- package/engine/object-data/auxiliary/unit-attribute.lua +9 -0
- package/engine/object-data/entry/ability-type/berserk.d.ts +2 -0
- package/engine/object-data/entry/ability-type/berserk.lua +13 -0
- package/engine/object-data/entry/ability-type/blank-configurable.lua +12 -1
- package/engine/object-data/entry/ability-type/carrion-swarm.d.ts +14 -0
- package/engine/object-data/entry/ability-type/carrion-swarm.lua +65 -0
- package/engine/object-data/entry/ability-type/disease-cloud.lua +2 -2
- package/engine/object-data/entry/ability-type/engineering-upgrade.lua +2 -2
- package/engine/object-data/entry/ability-type/ensnare.d.ts +12 -0
- package/engine/object-data/entry/ability-type/ensnare.lua +52 -0
- package/engine/object-data/entry/ability-type/feral-spirit.lua +2 -2
- package/engine/object-data/entry/ability-type/permanent-invisibility.d.ts +8 -0
- package/engine/object-data/entry/ability-type/permanent-invisibility.lua +26 -0
- package/engine/object-data/entry/ability-type/phase-shift.d.ts +10 -0
- package/engine/object-data/entry/ability-type/phase-shift.lua +39 -0
- package/engine/object-data/entry/ability-type/phoenix-morph.lua +4 -4
- package/engine/object-data/entry/ability-type/raise-dead.d.ts +17 -0
- package/engine/object-data/entry/ability-type/raise-dead.lua +78 -0
- package/engine/object-data/entry/ability-type/shock-wave.d.ts +4 -0
- package/engine/object-data/entry/ability-type/shock-wave.lua +26 -0
- package/engine/object-data/entry/ability-type/slow-poison.d.ts +10 -0
- package/engine/object-data/entry/ability-type/slow-poison.lua +58 -0
- package/engine/object-data/entry/ability-type/summon-quilbeast.lua +2 -2
- package/engine/object-data/entry/ability-type/summon-water-elemental.lua +2 -2
- package/engine/object-data/entry/ability-type/web.d.ts +12 -0
- package/engine/object-data/entry/ability-type/web.lua +52 -0
- package/engine/object-data/entry/ability-type.d.ts +19 -17
- package/engine/object-data/entry/ability-type.lua +89 -33
- package/engine/object-data/entry/buff-type/applicable.lua +18 -37
- package/engine/object-data/entry/buff-type.d.ts +6 -12
- package/engine/object-data/entry/buff-type.lua +13 -29
- package/engine/object-data/entry/destructible-type.d.ts +1 -1
- package/engine/object-data/entry/item-type.d.ts +3 -1
- package/engine/object-data/entry/item-type.lua +15 -2
- package/engine/object-data/entry/lightning-type.d.ts +1 -1
- package/engine/object-data/entry/sound-preset.d.ts +33 -0
- package/engine/object-data/entry/sound-preset.lua +140 -0
- package/engine/object-data/entry/unit-type.d.ts +10 -3
- package/engine/object-data/entry/unit-type.lua +155 -92
- package/engine/object-data/entry/upgrade.d.ts +1 -1
- package/engine/object-data/entry/upgrade.lua +4 -4
- package/engine/object-data/entry.d.ts +16 -14
- package/engine/object-data/entry.lua +60 -32
- package/engine/object-data/utility/object-data-entry-id-generator.lua +7 -0
- package/engine/object-field/ability.d.ts +10 -4
- package/engine/object-field/ability.lua +3 -0
- package/engine/object-field/unit.d.ts +46 -3
- package/engine/object-field/unit.lua +173 -7
- package/engine/object-field.d.ts +11 -3
- package/engine/object-field.lua +162 -76
- package/engine/standard/entries/buff-type.d.ts +3 -0
- package/engine/standard/entries/buff-type.lua +3 -0
- package/engine/standard/entries/sound-preset.d.ts +10 -0
- package/engine/standard/entries/sound-preset.lua +10 -0
- package/engine/standard/fields/ability.d.ts +2 -0
- package/engine/standard/fields/ability.lua +2 -0
- package/engine/unit.d.ts +1 -0
- package/engine/unit.lua +1 -0
- package/objutil/buff.lua +1 -2
- package/objutil/unit.lua +8 -0
- package/package.json +2 -2
- package/utility/arrays.d.ts +9 -1
- package/utility/arrays.lua +37 -3
- package/utility/functions.d.ts +1 -0
- package/utility/functions.lua +1 -0
- package/utility/lazy.d.ts +2 -0
- package/utility/lazy.lua +14 -0
- package/utility/linked-set.d.ts +1 -0
- package/utility/linked-set.lua +3 -0
- package/utility/lua-maps.d.ts +3 -0
- package/utility/lua-maps.lua +16 -0
- package/utility/lua-sets.d.ts +1 -0
- package/utility/lua-sets.lua +3 -0
- package/utility/reflection.lua +11 -7
package/decl/native.d.ts
CHANGED
|
@@ -252,15 +252,18 @@ declare interface jitemtype extends jhandle {
|
|
|
252
252
|
declare interface jtexttag extends jhandle {
|
|
253
253
|
__jtexttag: never
|
|
254
254
|
}
|
|
255
|
-
declare
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
255
|
+
declare type jattacktype = symbol &
|
|
256
|
+
jhandle & {
|
|
257
|
+
__jattacktype: never
|
|
258
|
+
}
|
|
259
|
+
declare type jdamagetype = symbol &
|
|
260
|
+
jhandle & {
|
|
261
|
+
__jdamagetype: never
|
|
262
|
+
}
|
|
263
|
+
declare type jweapontype = symbol &
|
|
264
|
+
jhandle & {
|
|
265
|
+
__jweapontype: never
|
|
266
|
+
}
|
|
264
267
|
declare interface jsoundtype extends jhandle {
|
|
265
268
|
__jsoundtype: never
|
|
266
269
|
}
|
|
@@ -303,9 +306,10 @@ declare interface jtextaligntype extends jhandle {
|
|
|
303
306
|
declare interface jframeeventtype extends jhandle {
|
|
304
307
|
__jframeeventtype: never
|
|
305
308
|
}
|
|
306
|
-
declare type joskeytype = symbol &
|
|
307
|
-
|
|
308
|
-
|
|
309
|
+
declare type joskeytype = symbol &
|
|
310
|
+
jhandle & {
|
|
311
|
+
__joskeytype: never
|
|
312
|
+
}
|
|
309
313
|
declare interface jabilityintegerfield extends jhandle {
|
|
310
314
|
__jabilityintegerfield: never
|
|
311
315
|
}
|
|
@@ -2217,7 +2221,7 @@ declare function SetStartLocPrio(
|
|
|
2217
2221
|
whichStartLoc: number,
|
|
2218
2222
|
prioSlotIndex: number,
|
|
2219
2223
|
otherStartLocIndex: number,
|
|
2220
|
-
priority: jstartlocprio
|
|
2224
|
+
priority: jstartlocprio,
|
|
2221
2225
|
): void
|
|
2222
2226
|
declare function GetStartLocPrioSlot(whichStartLoc: number, prioSlotIndex: number): number
|
|
2223
2227
|
declare function GetStartLocPrio(whichStartLoc: number, prioSlotIndex: number): jstartlocprio
|
|
@@ -2226,7 +2230,7 @@ declare function SetEnemyStartLocPrio(
|
|
|
2226
2230
|
whichStartLoc: number,
|
|
2227
2231
|
prioSlotIndex: number,
|
|
2228
2232
|
otherStartLocIndex: number,
|
|
2229
|
-
priority: jstartlocprio
|
|
2233
|
+
priority: jstartlocprio,
|
|
2230
2234
|
): void
|
|
2231
2235
|
declare function SetGameTypeSupported(whichGameType: jgametype, value: boolean): void
|
|
2232
2236
|
declare function SetMapFlag(whichMapFlag: jmapflag, value: boolean): void
|
|
@@ -2256,17 +2260,17 @@ declare function SetPlayerAlliance(
|
|
|
2256
2260
|
sourcePlayer: jplayer,
|
|
2257
2261
|
otherPlayer: jplayer,
|
|
2258
2262
|
whichAllianceSetting: jalliancetype,
|
|
2259
|
-
value: boolean
|
|
2263
|
+
value: boolean,
|
|
2260
2264
|
): void
|
|
2261
2265
|
declare function SetPlayerTaxRate(
|
|
2262
2266
|
sourcePlayer: jplayer,
|
|
2263
2267
|
otherPlayer: jplayer,
|
|
2264
2268
|
whichResource: jplayerstate,
|
|
2265
|
-
rate: number
|
|
2269
|
+
rate: number,
|
|
2266
2270
|
): void
|
|
2267
2271
|
declare function SetPlayerRacePreference(
|
|
2268
2272
|
whichPlayer: jplayer,
|
|
2269
|
-
whichRacePreference: jracepreference
|
|
2273
|
+
whichRacePreference: jracepreference,
|
|
2270
2274
|
): void
|
|
2271
2275
|
declare function SetPlayerRaceSelectable(whichPlayer: jplayer, value: boolean): void
|
|
2272
2276
|
declare function SetPlayerController(whichPlayer: jplayer, controlType: jmapcontrol): void
|
|
@@ -2281,7 +2285,7 @@ declare function GetPlayerSlotState(whichPlayer: jplayer): jplayerslotstate
|
|
|
2281
2285
|
declare function GetPlayerTaxRate(
|
|
2282
2286
|
sourcePlayer: jplayer,
|
|
2283
2287
|
otherPlayer: jplayer,
|
|
2284
|
-
whichResource: jplayerstate
|
|
2288
|
+
whichResource: jplayerstate,
|
|
2285
2289
|
): number
|
|
2286
2290
|
declare function IsPlayerRacePrefSet(whichPlayer: jplayer, pref: jracepreference): boolean
|
|
2287
2291
|
declare function GetPlayerName(whichPlayer: jplayer): string
|
|
@@ -2291,7 +2295,7 @@ declare function TimerStart(
|
|
|
2291
2295
|
whichTimer: jtimer,
|
|
2292
2296
|
timeout: number,
|
|
2293
2297
|
periodic: boolean,
|
|
2294
|
-
handlerFunc?: () => void
|
|
2298
|
+
handlerFunc?: () => void,
|
|
2295
2299
|
): void
|
|
2296
2300
|
declare function TimerGetElapsed(whichTimer: jtimer): number
|
|
2297
2301
|
declare function TimerGetRemaining(whichTimer: jtimer): number
|
|
@@ -2312,33 +2316,33 @@ declare function GroupEnumUnitsOfType(whichGroup: jgroup, unitname: string, filt
|
|
|
2312
2316
|
declare function GroupEnumUnitsOfPlayer(
|
|
2313
2317
|
whichGroup: jgroup,
|
|
2314
2318
|
whichPlayer: jplayer,
|
|
2315
|
-
filter: jboolexpr
|
|
2319
|
+
filter: jboolexpr,
|
|
2316
2320
|
): void
|
|
2317
2321
|
declare function GroupEnumUnitsOfTypeCounted(
|
|
2318
2322
|
whichGroup: jgroup,
|
|
2319
2323
|
unitname: string,
|
|
2320
2324
|
filter: jboolexpr,
|
|
2321
|
-
countLimit: number
|
|
2325
|
+
countLimit: number,
|
|
2322
2326
|
): void
|
|
2323
2327
|
declare function GroupEnumUnitsInRect(whichGroup: jgroup, r: jrect, filter: jboolexpr): void
|
|
2324
2328
|
declare function GroupEnumUnitsInRectCounted(
|
|
2325
2329
|
whichGroup: jgroup,
|
|
2326
2330
|
r: jrect,
|
|
2327
2331
|
filter: jboolexpr,
|
|
2328
|
-
countLimit: number
|
|
2332
|
+
countLimit: number,
|
|
2329
2333
|
): void
|
|
2330
2334
|
declare function GroupEnumUnitsInRange(
|
|
2331
2335
|
whichGroup: jgroup,
|
|
2332
2336
|
x: number,
|
|
2333
2337
|
y: number,
|
|
2334
2338
|
radius: number,
|
|
2335
|
-
filter: jboolexpr
|
|
2339
|
+
filter: jboolexpr,
|
|
2336
2340
|
): void
|
|
2337
2341
|
declare function GroupEnumUnitsInRangeOfLoc(
|
|
2338
2342
|
whichGroup: jgroup,
|
|
2339
2343
|
whichLocation: jlocation,
|
|
2340
2344
|
radius: number,
|
|
2341
|
-
filter: jboolexpr
|
|
2345
|
+
filter: jboolexpr,
|
|
2342
2346
|
): void
|
|
2343
2347
|
declare function GroupEnumUnitsInRangeCounted(
|
|
2344
2348
|
whichGroup: jgroup,
|
|
@@ -2346,19 +2350,19 @@ declare function GroupEnumUnitsInRangeCounted(
|
|
|
2346
2350
|
y: number,
|
|
2347
2351
|
radius: number,
|
|
2348
2352
|
filter: jboolexpr,
|
|
2349
|
-
countLimit: number
|
|
2353
|
+
countLimit: number,
|
|
2350
2354
|
): void
|
|
2351
2355
|
declare function GroupEnumUnitsInRangeOfLocCounted(
|
|
2352
2356
|
whichGroup: jgroup,
|
|
2353
2357
|
whichLocation: jlocation,
|
|
2354
2358
|
radius: number,
|
|
2355
2359
|
filter: jboolexpr,
|
|
2356
|
-
countLimit: number
|
|
2360
|
+
countLimit: number,
|
|
2357
2361
|
): void
|
|
2358
2362
|
declare function GroupEnumUnitsSelected(
|
|
2359
2363
|
whichGroup: jgroup,
|
|
2360
2364
|
whichPlayer: jplayer,
|
|
2361
|
-
filter?: jboolexpr
|
|
2365
|
+
filter?: jboolexpr,
|
|
2362
2366
|
): void
|
|
2363
2367
|
declare function GroupImmediateOrder(whichGroup: jgroup, order: string): boolean
|
|
2364
2368
|
declare function GroupImmediateOrderById(whichGroup: jgroup, order: number): boolean
|
|
@@ -2366,24 +2370,24 @@ declare function GroupPointOrder(whichGroup: jgroup, order: string, x: number, y
|
|
|
2366
2370
|
declare function GroupPointOrderLoc(
|
|
2367
2371
|
whichGroup: jgroup,
|
|
2368
2372
|
order: string,
|
|
2369
|
-
whichLocation: jlocation
|
|
2373
|
+
whichLocation: jlocation,
|
|
2370
2374
|
): boolean
|
|
2371
2375
|
declare function GroupPointOrderById(
|
|
2372
2376
|
whichGroup: jgroup,
|
|
2373
2377
|
order: number,
|
|
2374
2378
|
x: number,
|
|
2375
|
-
y: number
|
|
2379
|
+
y: number,
|
|
2376
2380
|
): boolean
|
|
2377
2381
|
declare function GroupPointOrderByIdLoc(
|
|
2378
2382
|
whichGroup: jgroup,
|
|
2379
2383
|
order: number,
|
|
2380
|
-
whichLocation: jlocation
|
|
2384
|
+
whichLocation: jlocation,
|
|
2381
2385
|
): boolean
|
|
2382
2386
|
declare function GroupTargetOrder(whichGroup: jgroup, order: string, targetWidget: jwidget): boolean
|
|
2383
2387
|
declare function GroupTargetOrderById(
|
|
2384
2388
|
whichGroup: jgroup,
|
|
2385
2389
|
order: number,
|
|
2386
|
-
targetWidget: jwidget
|
|
2390
|
+
targetWidget: jwidget,
|
|
2387
2391
|
): boolean
|
|
2388
2392
|
declare function ForGroup(whichGroup: jgroup, callback?: () => void): void
|
|
2389
2393
|
declare function FirstOfGroup(whichGroup: jgroup): junit
|
|
@@ -2397,7 +2401,7 @@ declare function ForceEnumPlayers(whichForce: jforce, filter: jboolexpr): void
|
|
|
2397
2401
|
declare function ForceEnumPlayersCounted(
|
|
2398
2402
|
whichForce: jforce,
|
|
2399
2403
|
filter: jboolexpr,
|
|
2400
|
-
countLimit: number
|
|
2404
|
+
countLimit: number,
|
|
2401
2405
|
): void
|
|
2402
2406
|
declare function ForceEnumAllies(whichForce: jforce, whichPlayer: jplayer, filter: jboolexpr): void
|
|
2403
2407
|
declare function ForceEnumEnemies(whichForce: jforce, whichPlayer: jplayer, filter: jboolexpr): void
|
|
@@ -2410,7 +2414,7 @@ declare function SetRect(
|
|
|
2410
2414
|
minx: number,
|
|
2411
2415
|
miny: number,
|
|
2412
2416
|
maxx: number,
|
|
2413
|
-
maxy: number
|
|
2417
|
+
maxy: number,
|
|
2414
2418
|
): void
|
|
2415
2419
|
declare function SetRectFromLoc(whichRect: jrect, min: jlocation, max: jlocation): void
|
|
2416
2420
|
declare function MoveRectTo(whichRect: jrect, newCenterX: number, newCenterY: number): void
|
|
@@ -2473,42 +2477,42 @@ declare function TriggerRegisterVariableEvent(
|
|
|
2473
2477
|
whichTrigger: jtrigger,
|
|
2474
2478
|
varName: string,
|
|
2475
2479
|
opcode: jlimitop,
|
|
2476
|
-
limitval: number
|
|
2480
|
+
limitval: number,
|
|
2477
2481
|
): jevent
|
|
2478
2482
|
declare function TriggerRegisterTimerEvent(
|
|
2479
2483
|
whichTrigger: jtrigger,
|
|
2480
2484
|
timeout: number,
|
|
2481
|
-
periodic: boolean
|
|
2485
|
+
periodic: boolean,
|
|
2482
2486
|
): jevent
|
|
2483
2487
|
declare function TriggerRegisterTimerExpireEvent(whichTrigger: jtrigger, t: jtimer): jevent
|
|
2484
2488
|
declare function TriggerRegisterGameStateEvent(
|
|
2485
2489
|
whichTrigger: jtrigger,
|
|
2486
2490
|
whichState: jgamestate,
|
|
2487
2491
|
opcode: jlimitop,
|
|
2488
|
-
limitval: number
|
|
2492
|
+
limitval: number,
|
|
2489
2493
|
): jevent
|
|
2490
2494
|
declare function TriggerRegisterDialogEvent(whichTrigger: jtrigger, whichDialog: jdialog): jevent
|
|
2491
2495
|
declare function TriggerRegisterDialogButtonEvent(
|
|
2492
2496
|
whichTrigger: jtrigger,
|
|
2493
|
-
whichButton: jbutton
|
|
2497
|
+
whichButton: jbutton,
|
|
2494
2498
|
): jevent
|
|
2495
2499
|
declare function GetEventGameState(): jgamestate
|
|
2496
2500
|
declare function TriggerRegisterGameEvent(
|
|
2497
2501
|
whichTrigger: jtrigger,
|
|
2498
|
-
whichGameEvent: jgameevent
|
|
2502
|
+
whichGameEvent: jgameevent,
|
|
2499
2503
|
): jevent
|
|
2500
2504
|
declare function GetWinningPlayer(): jplayer
|
|
2501
2505
|
declare function TriggerRegisterEnterRegion(
|
|
2502
2506
|
whichTrigger: jtrigger,
|
|
2503
2507
|
whichRegion: jregion,
|
|
2504
|
-
filter?: jboolexpr
|
|
2508
|
+
filter?: jboolexpr,
|
|
2505
2509
|
): jevent
|
|
2506
2510
|
declare function GetTriggeringRegion(): jregion
|
|
2507
2511
|
declare function GetEnteringUnit(): junit
|
|
2508
2512
|
declare function TriggerRegisterLeaveRegion(
|
|
2509
2513
|
whichTrigger: jtrigger,
|
|
2510
2514
|
whichRegion: jregion,
|
|
2511
|
-
filter?: jboolexpr
|
|
2515
|
+
filter?: jboolexpr,
|
|
2512
2516
|
): jevent
|
|
2513
2517
|
declare function GetLeavingUnit(): junit
|
|
2514
2518
|
declare function TriggerRegisterTrackableHitEvent(whichTrigger: jtrigger, t: jtrackable): jevent
|
|
@@ -2516,11 +2520,11 @@ declare function TriggerRegisterTrackableTrackEvent(whichTrigger: jtrigger, t: j
|
|
|
2516
2520
|
declare function TriggerRegisterCommandEvent(
|
|
2517
2521
|
whichTrigger: jtrigger,
|
|
2518
2522
|
whichAbility: number,
|
|
2519
|
-
order: string
|
|
2523
|
+
order: string,
|
|
2520
2524
|
): jevent
|
|
2521
2525
|
declare function TriggerRegisterUpgradeCommandEvent(
|
|
2522
2526
|
whichTrigger: jtrigger,
|
|
2523
|
-
whichUpgrade: number
|
|
2527
|
+
whichUpgrade: number,
|
|
2524
2528
|
): jevent
|
|
2525
2529
|
declare function GetTriggeringTrackable(): jtrackable
|
|
2526
2530
|
declare function GetClickedButton(): jbutton
|
|
@@ -2533,14 +2537,14 @@ declare function GetSaveBasicFilename(): string
|
|
|
2533
2537
|
declare function TriggerRegisterPlayerEvent(
|
|
2534
2538
|
whichTrigger: jtrigger,
|
|
2535
2539
|
whichPlayer: jplayer,
|
|
2536
|
-
whichPlayerEvent: jplayerevent
|
|
2540
|
+
whichPlayerEvent: jplayerevent,
|
|
2537
2541
|
): jevent
|
|
2538
2542
|
declare function GetTriggerPlayer(): jplayer
|
|
2539
2543
|
declare function TriggerRegisterPlayerUnitEvent(
|
|
2540
2544
|
whichTrigger: jtrigger,
|
|
2541
2545
|
whichPlayer: jplayer,
|
|
2542
2546
|
whichPlayerUnitEvent: jplayerunitevent,
|
|
2543
|
-
filter: jboolexpr
|
|
2547
|
+
filter: jboolexpr,
|
|
2544
2548
|
): jevent
|
|
2545
2549
|
declare function GetLevelingUnit(): junit
|
|
2546
2550
|
declare function GetLearningUnit(): junit
|
|
@@ -2599,21 +2603,21 @@ declare function GetSpellTargetUnit(): junit | undefined
|
|
|
2599
2603
|
declare function TriggerRegisterPlayerAllianceChange(
|
|
2600
2604
|
whichTrigger: jtrigger,
|
|
2601
2605
|
whichPlayer: jplayer,
|
|
2602
|
-
whichAlliance: jalliancetype
|
|
2606
|
+
whichAlliance: jalliancetype,
|
|
2603
2607
|
): jevent
|
|
2604
2608
|
declare function TriggerRegisterPlayerStateEvent(
|
|
2605
2609
|
whichTrigger: jtrigger,
|
|
2606
2610
|
whichPlayer: jplayer,
|
|
2607
2611
|
whichState: jplayerstate,
|
|
2608
2612
|
opcode: jlimitop,
|
|
2609
|
-
limitval: number
|
|
2613
|
+
limitval: number,
|
|
2610
2614
|
): jevent
|
|
2611
2615
|
declare function GetEventPlayerState(): jplayerstate
|
|
2612
2616
|
declare function TriggerRegisterPlayerChatEvent(
|
|
2613
2617
|
whichTrigger: jtrigger,
|
|
2614
2618
|
whichPlayer: jplayer,
|
|
2615
2619
|
chatMessageToDetect: string,
|
|
2616
|
-
exactMatchOnly: boolean
|
|
2620
|
+
exactMatchOnly: boolean,
|
|
2617
2621
|
): jevent
|
|
2618
2622
|
declare function GetEventPlayerChatString(): string
|
|
2619
2623
|
declare function GetEventPlayerChatStringMatched(): string
|
|
@@ -2624,13 +2628,13 @@ declare function TriggerRegisterUnitStateEvent(
|
|
|
2624
2628
|
whichUnit: junit,
|
|
2625
2629
|
whichState: junitstate,
|
|
2626
2630
|
opcode: jlimitop,
|
|
2627
|
-
limitval: number
|
|
2631
|
+
limitval: number,
|
|
2628
2632
|
): jevent
|
|
2629
2633
|
declare function GetEventUnitState(): junitstate
|
|
2630
2634
|
declare function TriggerRegisterUnitEvent(
|
|
2631
2635
|
whichTrigger: jtrigger,
|
|
2632
2636
|
whichUnit: junit,
|
|
2633
|
-
whichEvent: junitevent
|
|
2637
|
+
whichEvent: junitevent,
|
|
2634
2638
|
): jevent
|
|
2635
2639
|
declare function GetEventDamage(): number
|
|
2636
2640
|
declare function GetEventDamageSource(): junit | undefined
|
|
@@ -2639,22 +2643,22 @@ declare function TriggerRegisterFilterUnitEvent(
|
|
|
2639
2643
|
whichTrigger: jtrigger,
|
|
2640
2644
|
whichUnit: junit,
|
|
2641
2645
|
whichEvent: junitevent,
|
|
2642
|
-
filter: jboolexpr
|
|
2646
|
+
filter: jboolexpr,
|
|
2643
2647
|
): jevent
|
|
2644
2648
|
declare function GetEventTargetUnit(): junit
|
|
2645
2649
|
declare function TriggerRegisterUnitInRange(
|
|
2646
2650
|
whichTrigger: jtrigger,
|
|
2647
2651
|
whichUnit: junit,
|
|
2648
2652
|
range: number,
|
|
2649
|
-
filter: jboolexpr
|
|
2653
|
+
filter: jboolexpr,
|
|
2650
2654
|
): jevent
|
|
2651
2655
|
declare function TriggerAddCondition(
|
|
2652
2656
|
whichTrigger: jtrigger,
|
|
2653
|
-
condition: jboolexpr
|
|
2657
|
+
condition: jboolexpr,
|
|
2654
2658
|
): jtriggercondition
|
|
2655
2659
|
declare function TriggerRemoveCondition(
|
|
2656
2660
|
whichTrigger: jtrigger,
|
|
2657
|
-
whichCondition: jtriggercondition
|
|
2661
|
+
whichCondition: jtriggercondition,
|
|
2658
2662
|
): void
|
|
2659
2663
|
declare function TriggerClearConditions(whichTrigger: jtrigger): void
|
|
2660
2664
|
declare function TriggerAddAction(whichTrigger: jtrigger, actionFunc?: () => void): jtriggeraction
|
|
@@ -2678,7 +2682,7 @@ declare function CreateDestructable(
|
|
|
2678
2682
|
y: number,
|
|
2679
2683
|
face: number,
|
|
2680
2684
|
scale: number,
|
|
2681
|
-
variation: number
|
|
2685
|
+
variation: number,
|
|
2682
2686
|
): jdestructable
|
|
2683
2687
|
declare function CreateDestructableZ(
|
|
2684
2688
|
objectid: number,
|
|
@@ -2687,7 +2691,7 @@ declare function CreateDestructableZ(
|
|
|
2687
2691
|
z: number,
|
|
2688
2692
|
face: number,
|
|
2689
2693
|
scale: number,
|
|
2690
|
-
variation: number
|
|
2694
|
+
variation: number,
|
|
2691
2695
|
): jdestructable
|
|
2692
2696
|
declare function CreateDeadDestructable(
|
|
2693
2697
|
objectid: number,
|
|
@@ -2695,7 +2699,7 @@ declare function CreateDeadDestructable(
|
|
|
2695
2699
|
y: number,
|
|
2696
2700
|
face: number,
|
|
2697
2701
|
scale: number,
|
|
2698
|
-
variation: number
|
|
2702
|
+
variation: number,
|
|
2699
2703
|
): jdestructable
|
|
2700
2704
|
declare function CreateDeadDestructableZ(
|
|
2701
2705
|
objectid: number,
|
|
@@ -2704,13 +2708,17 @@ declare function CreateDeadDestructableZ(
|
|
|
2704
2708
|
z: number,
|
|
2705
2709
|
face: number,
|
|
2706
2710
|
scale: number,
|
|
2707
|
-
variation: number
|
|
2711
|
+
variation: number,
|
|
2708
2712
|
): jdestructable
|
|
2709
2713
|
declare function RemoveDestructable(d: jdestructable): void
|
|
2710
2714
|
declare function KillDestructable(d: jdestructable): void
|
|
2711
2715
|
declare function SetDestructableInvulnerable(d: jdestructable, flag: boolean): void
|
|
2712
2716
|
declare function IsDestructableInvulnerable(d: jdestructable): boolean
|
|
2713
|
-
declare function EnumDestructablesInRect(
|
|
2717
|
+
declare function EnumDestructablesInRect(
|
|
2718
|
+
r: jrect,
|
|
2719
|
+
filter?: jboolexpr,
|
|
2720
|
+
actionFunc?: () => void,
|
|
2721
|
+
): void
|
|
2714
2722
|
declare function GetDestructableTypeId(d: jdestructable): number
|
|
2715
2723
|
declare function GetDestructableX(d: jdestructable): number
|
|
2716
2724
|
declare function GetDestructableY(d: jdestructable): number
|
|
@@ -2758,32 +2766,38 @@ declare function GetItemCharges(whichItem: jitem): number
|
|
|
2758
2766
|
declare function SetItemCharges(whichItem: jitem, charges: number): void
|
|
2759
2767
|
declare function GetItemUserData(whichItem: jitem): number
|
|
2760
2768
|
declare function SetItemUserData(whichItem: jitem, data: number): void
|
|
2761
|
-
declare function CreateUnit(
|
|
2769
|
+
declare function CreateUnit(
|
|
2770
|
+
id: jplayer,
|
|
2771
|
+
unitid: number,
|
|
2772
|
+
x: number,
|
|
2773
|
+
y: number,
|
|
2774
|
+
face: number,
|
|
2775
|
+
): junit | null
|
|
2762
2776
|
declare function CreateUnitByName(
|
|
2763
2777
|
whichPlayer: jplayer,
|
|
2764
2778
|
unitname: string,
|
|
2765
2779
|
x: number,
|
|
2766
2780
|
y: number,
|
|
2767
|
-
face: number
|
|
2781
|
+
face: number,
|
|
2768
2782
|
): junit
|
|
2769
2783
|
declare function CreateUnitAtLoc(
|
|
2770
2784
|
id: jplayer,
|
|
2771
2785
|
unitid: number,
|
|
2772
2786
|
whichLocation: jlocation,
|
|
2773
|
-
face: number
|
|
2787
|
+
face: number,
|
|
2774
2788
|
): junit
|
|
2775
2789
|
declare function CreateUnitAtLocByName(
|
|
2776
2790
|
id: jplayer,
|
|
2777
2791
|
unitname: string,
|
|
2778
2792
|
whichLocation: jlocation,
|
|
2779
|
-
face: number
|
|
2793
|
+
face: number,
|
|
2780
2794
|
): junit
|
|
2781
2795
|
declare function CreateCorpse(
|
|
2782
2796
|
whichPlayer: jplayer,
|
|
2783
2797
|
unitid: number,
|
|
2784
2798
|
x: number,
|
|
2785
2799
|
y: number,
|
|
2786
|
-
face: number
|
|
2800
|
+
face: number,
|
|
2787
2801
|
): junit
|
|
2788
2802
|
declare function KillUnit(whichUnit: junit): void
|
|
2789
2803
|
declare function RemoveUnit(whichUnit: junit): void
|
|
@@ -2815,7 +2829,7 @@ declare function SetUnitScale(
|
|
|
2815
2829
|
whichUnit: junit,
|
|
2816
2830
|
scaleX: number,
|
|
2817
2831
|
scaleY: number,
|
|
2818
|
-
scaleZ: number
|
|
2832
|
+
scaleZ: number,
|
|
2819
2833
|
): void
|
|
2820
2834
|
declare function SetUnitTimeScale(whichUnit: junit, timeScale: number): void
|
|
2821
2835
|
declare function SetUnitBlendTime(whichUnit: junit, blendTime: number): void
|
|
@@ -2824,7 +2838,7 @@ declare function SetUnitVertexColor(
|
|
|
2824
2838
|
red: number,
|
|
2825
2839
|
green: number,
|
|
2826
2840
|
blue: number,
|
|
2827
|
-
alpha: number
|
|
2841
|
+
alpha: number,
|
|
2828
2842
|
): void
|
|
2829
2843
|
declare function QueueUnitAnimation(whichUnit: junit, whichAnimation: string): void
|
|
2830
2844
|
declare function SetUnitAnimation(whichUnit: junit, whichAnimation: string): void
|
|
@@ -2832,12 +2846,12 @@ declare function SetUnitAnimationByIndex(whichUnit: junit, whichAnimation: numbe
|
|
|
2832
2846
|
declare function SetUnitAnimationWithRarity(
|
|
2833
2847
|
whichUnit: junit,
|
|
2834
2848
|
whichAnimation: string,
|
|
2835
|
-
rarity: jraritycontrol
|
|
2849
|
+
rarity: jraritycontrol,
|
|
2836
2850
|
): void
|
|
2837
2851
|
declare function AddUnitAnimationProperties(
|
|
2838
2852
|
whichUnit: junit,
|
|
2839
2853
|
animProperties: string,
|
|
2840
|
-
add: boolean
|
|
2854
|
+
add: boolean,
|
|
2841
2855
|
): void
|
|
2842
2856
|
declare function SetUnitLookAt(
|
|
2843
2857
|
whichUnit: junit,
|
|
@@ -2845,7 +2859,7 @@ declare function SetUnitLookAt(
|
|
|
2845
2859
|
lookAtTarget: junit,
|
|
2846
2860
|
offsetX: number,
|
|
2847
2861
|
offsetY: number,
|
|
2848
|
-
offsetZ: number
|
|
2862
|
+
offsetZ: number,
|
|
2849
2863
|
): void
|
|
2850
2864
|
declare function ResetUnitLookAt(whichUnit: junit): void
|
|
2851
2865
|
declare function SetUnitRescuable(whichUnit: junit, byWhichPlayer: jplayer, flag: boolean): void
|
|
@@ -2898,7 +2912,7 @@ declare function UnitDropItemPoint(
|
|
|
2898
2912
|
whichUnit: junit,
|
|
2899
2913
|
whichItem: jitem,
|
|
2900
2914
|
x: number,
|
|
2901
|
-
y: number
|
|
2915
|
+
y: number,
|
|
2902
2916
|
): boolean
|
|
2903
2917
|
declare function UnitDropItemSlot(whichUnit: junit, whichItem: jitem, slot: number): boolean
|
|
2904
2918
|
declare function UnitDropItemTarget(whichUnit: junit, whichItem: jitem, target: jwidget): boolean
|
|
@@ -2943,7 +2957,7 @@ declare function IsUnitInRangeXY(whichUnit: junit, x: number, y: number, distanc
|
|
|
2943
2957
|
declare function IsUnitInRangeLoc(
|
|
2944
2958
|
whichUnit: junit,
|
|
2945
2959
|
whichLocation: jlocation,
|
|
2946
|
-
distance: number
|
|
2960
|
+
distance: number,
|
|
2947
2961
|
): boolean
|
|
2948
2962
|
declare function IsUnitHidden(whichUnit: junit): boolean
|
|
2949
2963
|
declare function IsUnitIllusion(whichUnit: junit): boolean
|
|
@@ -2960,12 +2974,12 @@ declare function UnitRemoveAbility(whichUnit: junit, abilityId: number): boolean
|
|
|
2960
2974
|
declare function UnitMakeAbilityPermanent(
|
|
2961
2975
|
whichUnit: junit,
|
|
2962
2976
|
permanent: boolean,
|
|
2963
|
-
abilityId: number
|
|
2977
|
+
abilityId: number,
|
|
2964
2978
|
): boolean
|
|
2965
2979
|
declare function UnitRemoveBuffs(
|
|
2966
2980
|
whichUnit: junit,
|
|
2967
2981
|
removePositive: boolean,
|
|
2968
|
-
removeNegative: boolean
|
|
2982
|
+
removeNegative: boolean,
|
|
2969
2983
|
): void
|
|
2970
2984
|
declare function UnitRemoveBuffsEx(
|
|
2971
2985
|
whichUnit: junit,
|
|
@@ -2975,7 +2989,7 @@ declare function UnitRemoveBuffsEx(
|
|
|
2975
2989
|
physical: boolean,
|
|
2976
2990
|
timedLife: boolean,
|
|
2977
2991
|
aura: boolean,
|
|
2978
|
-
autoDispel: boolean
|
|
2992
|
+
autoDispel: boolean,
|
|
2979
2993
|
): void
|
|
2980
2994
|
declare function UnitHasBuffsEx(
|
|
2981
2995
|
whichUnit: junit,
|
|
@@ -2985,7 +2999,7 @@ declare function UnitHasBuffsEx(
|
|
|
2985
2999
|
physical: boolean,
|
|
2986
3000
|
timedLife: boolean,
|
|
2987
3001
|
aura: boolean,
|
|
2988
|
-
autoDispel: boolean
|
|
3002
|
+
autoDispel: boolean,
|
|
2989
3003
|
): boolean
|
|
2990
3004
|
declare function UnitCountBuffsEx(
|
|
2991
3005
|
whichUnit: junit,
|
|
@@ -2995,7 +3009,7 @@ declare function UnitCountBuffsEx(
|
|
|
2995
3009
|
physical: boolean,
|
|
2996
3010
|
timedLife: boolean,
|
|
2997
3011
|
aura: boolean,
|
|
2998
|
-
autoDispel: boolean
|
|
3012
|
+
autoDispel: boolean,
|
|
2999
3013
|
): number
|
|
3000
3014
|
declare function UnitAddSleep(whichUnit: junit, add: boolean): void
|
|
3001
3015
|
declare function UnitCanSleep(whichUnit: junit): boolean
|
|
@@ -3022,7 +3036,7 @@ declare function UnitDamagePoint(
|
|
|
3022
3036
|
ranged: boolean,
|
|
3023
3037
|
attackType: jattacktype,
|
|
3024
3038
|
damageType: jdamagetype,
|
|
3025
|
-
weaponType: jweapontype
|
|
3039
|
+
weaponType: jweapontype,
|
|
3026
3040
|
): boolean
|
|
3027
3041
|
declare function UnitDamageTarget(
|
|
3028
3042
|
whichUnit: junit,
|
|
@@ -3032,7 +3046,7 @@ declare function UnitDamageTarget(
|
|
|
3032
3046
|
ranged: boolean,
|
|
3033
3047
|
attackType: jattacktype,
|
|
3034
3048
|
damageType: jdamagetype,
|
|
3035
|
-
weaponType: jweapontype
|
|
3049
|
+
weaponType: jweapontype,
|
|
3036
3050
|
): boolean
|
|
3037
3051
|
declare function IssueImmediateOrder(whichUnit: junit, order: string): boolean
|
|
3038
3052
|
declare function IssueImmediateOrderById(whichUnit: junit, order: number): boolean
|
|
@@ -3040,104 +3054,144 @@ declare function IssuePointOrder(whichUnit: junit, order: string, x: number, y:
|
|
|
3040
3054
|
declare function IssuePointOrderLoc(
|
|
3041
3055
|
whichUnit: junit,
|
|
3042
3056
|
order: string,
|
|
3043
|
-
whichLocation: jlocation
|
|
3057
|
+
whichLocation: jlocation,
|
|
3044
3058
|
): boolean
|
|
3045
3059
|
declare function IssuePointOrderById(whichUnit: junit, order: number, x: number, y: number): boolean
|
|
3046
3060
|
declare function IssuePointOrderByIdLoc(
|
|
3047
3061
|
whichUnit: junit,
|
|
3048
3062
|
order: number,
|
|
3049
|
-
whichLocation: jlocation
|
|
3063
|
+
whichLocation: jlocation,
|
|
3050
3064
|
): boolean
|
|
3051
3065
|
declare function IssueTargetOrder(whichUnit: junit, order: string, targetWidget: jwidget): boolean
|
|
3052
3066
|
declare function IssueTargetOrderById(
|
|
3053
3067
|
whichUnit: junit,
|
|
3054
3068
|
order: number,
|
|
3055
|
-
targetWidget: jwidget
|
|
3069
|
+
targetWidget: jwidget,
|
|
3056
3070
|
): boolean
|
|
3057
3071
|
declare function IssueInstantPointOrder(
|
|
3058
3072
|
whichUnit: junit,
|
|
3059
3073
|
order: string,
|
|
3060
3074
|
x: number,
|
|
3061
3075
|
y: number,
|
|
3062
|
-
instantTargetWidget: jwidget
|
|
3076
|
+
instantTargetWidget: jwidget,
|
|
3063
3077
|
): boolean
|
|
3064
3078
|
declare function IssueInstantPointOrderById(
|
|
3065
3079
|
whichUnit: junit,
|
|
3066
3080
|
order: number,
|
|
3067
3081
|
x: number,
|
|
3068
3082
|
y: number,
|
|
3069
|
-
instantTargetWidget: jwidget
|
|
3083
|
+
instantTargetWidget: jwidget,
|
|
3070
3084
|
): boolean
|
|
3071
3085
|
declare function IssueInstantTargetOrder(
|
|
3072
3086
|
whichUnit: junit,
|
|
3073
3087
|
order: string,
|
|
3074
3088
|
targetWidget: jwidget,
|
|
3075
|
-
instantTargetWidget: jwidget
|
|
3089
|
+
instantTargetWidget: jwidget,
|
|
3076
3090
|
): boolean
|
|
3077
3091
|
declare function IssueInstantTargetOrderById(
|
|
3078
3092
|
whichUnit: junit,
|
|
3079
3093
|
order: number,
|
|
3080
3094
|
targetWidget: jwidget,
|
|
3081
|
-
instantTargetWidget: jwidget
|
|
3095
|
+
instantTargetWidget: jwidget,
|
|
3082
3096
|
): boolean
|
|
3083
3097
|
declare function IssueBuildOrder(
|
|
3084
3098
|
whichPeon: junit,
|
|
3085
3099
|
unitToBuild: string,
|
|
3086
3100
|
x: number,
|
|
3087
|
-
y: number
|
|
3101
|
+
y: number,
|
|
3088
3102
|
): boolean
|
|
3089
3103
|
declare function IssueBuildOrderById(
|
|
3090
3104
|
whichPeon: junit,
|
|
3091
3105
|
unitId: number,
|
|
3092
3106
|
x: number,
|
|
3093
|
-
y: number
|
|
3107
|
+
y: number,
|
|
3094
3108
|
): boolean
|
|
3095
3109
|
declare function IssueNeutralImmediateOrder(
|
|
3096
3110
|
forWhichPlayer: jplayer,
|
|
3097
3111
|
neutralStructure: junit,
|
|
3098
|
-
unitToBuild: string
|
|
3112
|
+
unitToBuild: string,
|
|
3099
3113
|
): boolean
|
|
3100
3114
|
declare function IssueNeutralImmediateOrderById(
|
|
3101
3115
|
forWhichPlayer: jplayer,
|
|
3102
3116
|
neutralStructure: junit,
|
|
3103
|
-
unitId: number
|
|
3117
|
+
unitId: number,
|
|
3104
3118
|
): boolean
|
|
3105
3119
|
declare function IssueNeutralPointOrder(
|
|
3106
3120
|
forWhichPlayer: jplayer,
|
|
3107
3121
|
neutralStructure: junit,
|
|
3108
3122
|
unitToBuild: string,
|
|
3109
3123
|
x: number,
|
|
3110
|
-
y: number
|
|
3124
|
+
y: number,
|
|
3111
3125
|
): boolean
|
|
3112
3126
|
declare function IssueNeutralPointOrderById(
|
|
3113
3127
|
forWhichPlayer: jplayer,
|
|
3114
3128
|
neutralStructure: junit,
|
|
3115
3129
|
unitId: number,
|
|
3116
3130
|
x: number,
|
|
3117
|
-
y: number
|
|
3131
|
+
y: number,
|
|
3118
3132
|
): boolean
|
|
3119
3133
|
declare function IssueNeutralTargetOrder(
|
|
3120
3134
|
forWhichPlayer: jplayer,
|
|
3121
3135
|
neutralStructure: junit,
|
|
3122
3136
|
unitToBuild: string,
|
|
3123
|
-
target: jwidget
|
|
3137
|
+
target: jwidget,
|
|
3124
3138
|
): boolean
|
|
3125
3139
|
declare function IssueNeutralTargetOrderById(
|
|
3126
3140
|
forWhichPlayer: jplayer,
|
|
3127
3141
|
neutralStructure: junit,
|
|
3128
3142
|
unitId: number,
|
|
3129
|
-
target: jwidget
|
|
3143
|
+
target: jwidget,
|
|
3130
3144
|
): boolean
|
|
3131
3145
|
declare function GetUnitCurrentOrder(whichUnit: junit): number
|
|
3132
3146
|
declare function BlzQueueImmediateOrderById(whichUnit: junit, order: number): boolean
|
|
3133
|
-
declare function BlzQueuePointOrderById(
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
declare function
|
|
3140
|
-
|
|
3147
|
+
declare function BlzQueuePointOrderById(
|
|
3148
|
+
whichUnit: junit,
|
|
3149
|
+
order: number,
|
|
3150
|
+
x: number,
|
|
3151
|
+
y: number,
|
|
3152
|
+
): boolean
|
|
3153
|
+
declare function BlzQueueTargetOrderById(
|
|
3154
|
+
whichUnit: junit,
|
|
3155
|
+
order: number,
|
|
3156
|
+
targetWidget: jwidget,
|
|
3157
|
+
): boolean
|
|
3158
|
+
declare function BlzQueueInstantPointOrderById(
|
|
3159
|
+
whichUnit: junit,
|
|
3160
|
+
order: number,
|
|
3161
|
+
x: number,
|
|
3162
|
+
y: number,
|
|
3163
|
+
instantTargetWidget: jwidget,
|
|
3164
|
+
): boolean
|
|
3165
|
+
declare function BlzQueueInstantTargetOrderById(
|
|
3166
|
+
whichUnit: junit,
|
|
3167
|
+
order: number,
|
|
3168
|
+
targetWidget: jwidget,
|
|
3169
|
+
instantTargetWidget: jwidget,
|
|
3170
|
+
): boolean
|
|
3171
|
+
declare function BlzQueueBuildOrderById(
|
|
3172
|
+
whichPeon: junit,
|
|
3173
|
+
unitId: number,
|
|
3174
|
+
x: number,
|
|
3175
|
+
y: number,
|
|
3176
|
+
): boolean
|
|
3177
|
+
declare function BlzQueueNeutralImmediateOrderById(
|
|
3178
|
+
forWhichPlayer: jplayer,
|
|
3179
|
+
neutralStructure: junit,
|
|
3180
|
+
unitId: number,
|
|
3181
|
+
): boolean
|
|
3182
|
+
declare function BlzQueueNeutralPointOrderById(
|
|
3183
|
+
forWhichPlayer: jplayer,
|
|
3184
|
+
neutralStructure: junit,
|
|
3185
|
+
unitId: number,
|
|
3186
|
+
x: number,
|
|
3187
|
+
y: number,
|
|
3188
|
+
): boolean
|
|
3189
|
+
declare function BlzQueueNeutralTargetOrderById(
|
|
3190
|
+
forWhichPlayer: jplayer,
|
|
3191
|
+
neutralStructure: junit,
|
|
3192
|
+
unitId: number,
|
|
3193
|
+
target: jwidget,
|
|
3194
|
+
): boolean
|
|
3141
3195
|
// returns the number of orders the unit currently has queued up
|
|
3142
3196
|
declare function BlzGetUnitOrderCount(whichUnit: junit): number
|
|
3143
3197
|
// clears either all orders or only queued up orders
|
|
@@ -3157,14 +3211,14 @@ declare function AddItemToStock(
|
|
|
3157
3211
|
whichUnit: junit,
|
|
3158
3212
|
itemId: number,
|
|
3159
3213
|
currentStock: number,
|
|
3160
|
-
stockMax: number
|
|
3214
|
+
stockMax: number,
|
|
3161
3215
|
): void
|
|
3162
3216
|
declare function AddUnitToAllStock(unitId: number, currentStock: number, stockMax: number): void
|
|
3163
3217
|
declare function AddUnitToStock(
|
|
3164
3218
|
whichUnit: junit,
|
|
3165
3219
|
unitId: number,
|
|
3166
3220
|
currentStock: number,
|
|
3167
|
-
stockMax: number
|
|
3221
|
+
stockMax: number,
|
|
3168
3222
|
): void
|
|
3169
3223
|
declare function RemoveItemFromAllStock(itemId: number): void
|
|
3170
3224
|
declare function RemoveItemFromStock(whichUnit: junit, itemId: number): void
|
|
@@ -3195,7 +3249,7 @@ declare function GetPlayerTypedUnitCount(
|
|
|
3195
3249
|
whichPlayer: jplayer,
|
|
3196
3250
|
unitName: string,
|
|
3197
3251
|
includeIncomplete: boolean,
|
|
3198
|
-
includeUpgrades: boolean
|
|
3252
|
+
includeUpgrades: boolean,
|
|
3199
3253
|
): number
|
|
3200
3254
|
declare function GetPlayerStructureCount(whichPlayer: jplayer, includeIncomplete: boolean): number
|
|
3201
3255
|
declare function GetPlayerState(whichPlayer: jplayer, whichPlayerState: jplayerstate): number
|
|
@@ -3203,7 +3257,7 @@ declare function GetPlayerScore(whichPlayer: jplayer, whichPlayerScore: jplayers
|
|
|
3203
3257
|
declare function GetPlayerAlliance(
|
|
3204
3258
|
sourcePlayer: jplayer,
|
|
3205
3259
|
otherPlayer: jplayer,
|
|
3206
|
-
whichAllianceSetting: jalliancetype
|
|
3260
|
+
whichAllianceSetting: jalliancetype,
|
|
3207
3261
|
): boolean
|
|
3208
3262
|
declare function GetPlayerHandicap(whichPlayer: jplayer): number
|
|
3209
3263
|
declare function GetPlayerHandicapXP(whichPlayer: jplayer): number
|
|
@@ -3216,36 +3270,36 @@ declare function SetPlayerHandicapDamage(whichPlayer: jplayer, handicap: number)
|
|
|
3216
3270
|
declare function SetPlayerTechMaxAllowed(
|
|
3217
3271
|
whichPlayer: jplayer,
|
|
3218
3272
|
techid: number,
|
|
3219
|
-
maximum: number
|
|
3273
|
+
maximum: number,
|
|
3220
3274
|
): void
|
|
3221
3275
|
declare function GetPlayerTechMaxAllowed(whichPlayer: jplayer, techid: number): number
|
|
3222
3276
|
declare function AddPlayerTechResearched(whichPlayer: jplayer, techid: number, levels: number): void
|
|
3223
3277
|
declare function SetPlayerTechResearched(
|
|
3224
3278
|
whichPlayer: jplayer,
|
|
3225
3279
|
techid: number,
|
|
3226
|
-
setToLevel: number
|
|
3280
|
+
setToLevel: number,
|
|
3227
3281
|
): void
|
|
3228
3282
|
declare function GetPlayerTechResearched(
|
|
3229
3283
|
whichPlayer: jplayer,
|
|
3230
3284
|
techid: number,
|
|
3231
|
-
specificonly: boolean
|
|
3285
|
+
specificonly: boolean,
|
|
3232
3286
|
): boolean
|
|
3233
3287
|
declare function GetPlayerTechCount(
|
|
3234
3288
|
whichPlayer: jplayer,
|
|
3235
3289
|
techid: number,
|
|
3236
|
-
specificonly: boolean
|
|
3290
|
+
specificonly: boolean,
|
|
3237
3291
|
): number
|
|
3238
3292
|
declare function SetPlayerUnitsOwner(whichPlayer: jplayer, newOwner: number): void
|
|
3239
3293
|
declare function CripplePlayer(whichPlayer: jplayer, toWhichPlayers: jforce, flag: boolean): void
|
|
3240
3294
|
declare function SetPlayerAbilityAvailable(
|
|
3241
3295
|
whichPlayer: jplayer,
|
|
3242
3296
|
abilid: number,
|
|
3243
|
-
avail: boolean
|
|
3297
|
+
avail: boolean,
|
|
3244
3298
|
): void
|
|
3245
3299
|
declare function SetPlayerState(
|
|
3246
3300
|
whichPlayer: jplayer,
|
|
3247
3301
|
whichPlayerState: jplayerstate,
|
|
3248
|
-
value: number
|
|
3302
|
+
value: number,
|
|
3249
3303
|
): void
|
|
3250
3304
|
declare function RemovePlayer(whichPlayer: jplayer, gameResult: jplayergameresult): void
|
|
3251
3305
|
declare function CachePlayerHeroData(whichPlayer: jplayer): void
|
|
@@ -3253,7 +3307,7 @@ declare function SetFogStateRect(
|
|
|
3253
3307
|
forWhichPlayer: jplayer,
|
|
3254
3308
|
whichState: jfogstate,
|
|
3255
3309
|
where: jrect,
|
|
3256
|
-
useSharedVision: boolean
|
|
3310
|
+
useSharedVision: boolean,
|
|
3257
3311
|
): void
|
|
3258
3312
|
declare function SetFogStateRadius(
|
|
3259
3313
|
forWhichPlayer: jplayer,
|
|
@@ -3261,14 +3315,14 @@ declare function SetFogStateRadius(
|
|
|
3261
3315
|
centerx: number,
|
|
3262
3316
|
centerY: number,
|
|
3263
3317
|
radius: number,
|
|
3264
|
-
useSharedVision: boolean
|
|
3318
|
+
useSharedVision: boolean,
|
|
3265
3319
|
): void
|
|
3266
3320
|
declare function SetFogStateRadiusLoc(
|
|
3267
3321
|
forWhichPlayer: jplayer,
|
|
3268
3322
|
whichState: jfogstate,
|
|
3269
3323
|
center: jlocation,
|
|
3270
3324
|
radius: number,
|
|
3271
|
-
useSharedVision: boolean
|
|
3325
|
+
useSharedVision: boolean,
|
|
3272
3326
|
): void
|
|
3273
3327
|
declare function FogMaskEnable(enable: boolean): void
|
|
3274
3328
|
declare function IsFogMaskEnabled(): boolean
|
|
@@ -3279,7 +3333,7 @@ declare function CreateFogModifierRect(
|
|
|
3279
3333
|
whichState: jfogstate,
|
|
3280
3334
|
where: jrect,
|
|
3281
3335
|
useSharedVision: boolean,
|
|
3282
|
-
afterUnits: boolean
|
|
3336
|
+
afterUnits: boolean,
|
|
3283
3337
|
): jfogmodifier
|
|
3284
3338
|
declare function CreateFogModifierRadius(
|
|
3285
3339
|
forWhichPlayer: jplayer,
|
|
@@ -3288,7 +3342,7 @@ declare function CreateFogModifierRadius(
|
|
|
3288
3342
|
centerY: number,
|
|
3289
3343
|
radius: number,
|
|
3290
3344
|
useSharedVision: boolean,
|
|
3291
|
-
afterUnits: boolean
|
|
3345
|
+
afterUnits: boolean,
|
|
3292
3346
|
): jfogmodifier
|
|
3293
3347
|
declare function CreateFogModifierRadiusLoc(
|
|
3294
3348
|
forWhichPlayer: jplayer,
|
|
@@ -3296,7 +3350,7 @@ declare function CreateFogModifierRadiusLoc(
|
|
|
3296
3350
|
center: jlocation,
|
|
3297
3351
|
radius: number,
|
|
3298
3352
|
useSharedVision: boolean,
|
|
3299
|
-
afterUnits: boolean
|
|
3353
|
+
afterUnits: boolean,
|
|
3300
3354
|
): jfogmodifier
|
|
3301
3355
|
declare function DestroyFogModifier(whichFogModifier: jfogmodifier): void
|
|
3302
3356
|
declare function FogModifierStart(whichFogModifier: jfogmodifier): void
|
|
@@ -3328,7 +3382,7 @@ declare function SetTutorialCleared(cleared: boolean): void
|
|
|
3328
3382
|
declare function SetMissionAvailable(
|
|
3329
3383
|
campaignNumber: number,
|
|
3330
3384
|
missionNumber: number,
|
|
3331
|
-
available: boolean
|
|
3385
|
+
available: boolean,
|
|
3332
3386
|
): void
|
|
3333
3387
|
declare function SetCampaignAvailable(campaignNumber: number, available: boolean): void
|
|
3334
3388
|
declare function SetOpCinematicAvailable(campaignNumber: number, available: boolean): void
|
|
@@ -3347,7 +3401,7 @@ declare function DialogAddQuitButton(
|
|
|
3347
3401
|
whichDialog: jdialog,
|
|
3348
3402
|
doScoreScreen: boolean,
|
|
3349
3403
|
buttonText: string,
|
|
3350
|
-
hotkey: number
|
|
3404
|
+
hotkey: number,
|
|
3351
3405
|
): jbutton
|
|
3352
3406
|
declare function DialogDisplay(whichPlayer: jplayer, whichDialog: jdialog, flag: boolean): void
|
|
3353
3407
|
declare function ReloadGameCachesFromDisk(): boolean
|
|
@@ -3357,26 +3411,26 @@ declare function StoreInteger(
|
|
|
3357
3411
|
cache: jgamecache,
|
|
3358
3412
|
missionKey: string,
|
|
3359
3413
|
key: string,
|
|
3360
|
-
value: number
|
|
3414
|
+
value: number,
|
|
3361
3415
|
): void
|
|
3362
3416
|
declare function StoreReal(cache: jgamecache, missionKey: string, key: string, value: number): void
|
|
3363
3417
|
declare function StoreBoolean(
|
|
3364
3418
|
cache: jgamecache,
|
|
3365
3419
|
missionKey: string,
|
|
3366
3420
|
key: string,
|
|
3367
|
-
value: boolean
|
|
3421
|
+
value: boolean,
|
|
3368
3422
|
): void
|
|
3369
3423
|
declare function StoreUnit(
|
|
3370
3424
|
cache: jgamecache,
|
|
3371
3425
|
missionKey: string,
|
|
3372
3426
|
key: string,
|
|
3373
|
-
whichUnit: junit
|
|
3427
|
+
whichUnit: junit,
|
|
3374
3428
|
): boolean
|
|
3375
3429
|
declare function StoreString(
|
|
3376
3430
|
cache: jgamecache,
|
|
3377
3431
|
missionKey: string,
|
|
3378
3432
|
key: string,
|
|
3379
|
-
value: string
|
|
3433
|
+
value: string,
|
|
3380
3434
|
): boolean
|
|
3381
3435
|
declare function SyncStoredInteger(cache: jgamecache, missionKey: string, key: string): void
|
|
3382
3436
|
declare function SyncStoredReal(cache: jgamecache, missionKey: string, key: string): void
|
|
@@ -3406,272 +3460,272 @@ declare function RestoreUnit(
|
|
|
3406
3460
|
forWhichPlayer: jplayer,
|
|
3407
3461
|
x: number,
|
|
3408
3462
|
y: number,
|
|
3409
|
-
facing: number
|
|
3463
|
+
facing: number,
|
|
3410
3464
|
): junit
|
|
3411
3465
|
declare function InitHashtable(): jhashtable
|
|
3412
3466
|
declare function SaveInteger(
|
|
3413
3467
|
table: jhashtable,
|
|
3414
3468
|
parentKey: number,
|
|
3415
3469
|
childKey: number,
|
|
3416
|
-
value: number
|
|
3470
|
+
value: number,
|
|
3417
3471
|
): void
|
|
3418
3472
|
declare function SaveReal(
|
|
3419
3473
|
table: jhashtable,
|
|
3420
3474
|
parentKey: number,
|
|
3421
3475
|
childKey: number,
|
|
3422
|
-
value: number
|
|
3476
|
+
value: number,
|
|
3423
3477
|
): void
|
|
3424
3478
|
declare function SaveBoolean(
|
|
3425
3479
|
table: jhashtable,
|
|
3426
3480
|
parentKey: number,
|
|
3427
3481
|
childKey: number,
|
|
3428
|
-
value: boolean
|
|
3482
|
+
value: boolean,
|
|
3429
3483
|
): void
|
|
3430
3484
|
declare function SaveStr(
|
|
3431
3485
|
table: jhashtable,
|
|
3432
3486
|
parentKey: number,
|
|
3433
3487
|
childKey: number,
|
|
3434
|
-
value: string
|
|
3488
|
+
value: string,
|
|
3435
3489
|
): boolean
|
|
3436
3490
|
declare function SavePlayerHandle(
|
|
3437
3491
|
table: jhashtable,
|
|
3438
3492
|
parentKey: number,
|
|
3439
3493
|
childKey: number,
|
|
3440
|
-
whichPlayer: jplayer
|
|
3494
|
+
whichPlayer: jplayer,
|
|
3441
3495
|
): boolean
|
|
3442
3496
|
declare function SaveWidgetHandle(
|
|
3443
3497
|
table: jhashtable,
|
|
3444
3498
|
parentKey: number,
|
|
3445
3499
|
childKey: number,
|
|
3446
|
-
whichWidget: jwidget
|
|
3500
|
+
whichWidget: jwidget,
|
|
3447
3501
|
): boolean
|
|
3448
3502
|
declare function SaveDestructableHandle(
|
|
3449
3503
|
table: jhashtable,
|
|
3450
3504
|
parentKey: number,
|
|
3451
3505
|
childKey: number,
|
|
3452
|
-
whichDestructable: jdestructable
|
|
3506
|
+
whichDestructable: jdestructable,
|
|
3453
3507
|
): boolean
|
|
3454
3508
|
declare function SaveItemHandle(
|
|
3455
3509
|
table: jhashtable,
|
|
3456
3510
|
parentKey: number,
|
|
3457
3511
|
childKey: number,
|
|
3458
|
-
whichItem: jitem
|
|
3512
|
+
whichItem: jitem,
|
|
3459
3513
|
): boolean
|
|
3460
3514
|
declare function SaveUnitHandle(
|
|
3461
3515
|
table: jhashtable,
|
|
3462
3516
|
parentKey: number,
|
|
3463
3517
|
childKey: number,
|
|
3464
|
-
whichUnit: junit
|
|
3518
|
+
whichUnit: junit,
|
|
3465
3519
|
): boolean
|
|
3466
3520
|
declare function SaveAbilityHandle(
|
|
3467
3521
|
table: jhashtable,
|
|
3468
3522
|
parentKey: number,
|
|
3469
3523
|
childKey: number,
|
|
3470
|
-
whichAbility: jability
|
|
3524
|
+
whichAbility: jability,
|
|
3471
3525
|
): boolean
|
|
3472
3526
|
declare function SaveTimerHandle(
|
|
3473
3527
|
table: jhashtable,
|
|
3474
3528
|
parentKey: number,
|
|
3475
3529
|
childKey: number,
|
|
3476
|
-
whichTimer: jtimer
|
|
3530
|
+
whichTimer: jtimer,
|
|
3477
3531
|
): boolean
|
|
3478
3532
|
declare function SaveTriggerHandle(
|
|
3479
3533
|
table: jhashtable,
|
|
3480
3534
|
parentKey: number,
|
|
3481
3535
|
childKey: number,
|
|
3482
|
-
whichTrigger: jtrigger
|
|
3536
|
+
whichTrigger: jtrigger,
|
|
3483
3537
|
): boolean
|
|
3484
3538
|
declare function SaveTriggerConditionHandle(
|
|
3485
3539
|
table: jhashtable,
|
|
3486
3540
|
parentKey: number,
|
|
3487
3541
|
childKey: number,
|
|
3488
|
-
whichTriggercondition: jtriggercondition
|
|
3542
|
+
whichTriggercondition: jtriggercondition,
|
|
3489
3543
|
): boolean
|
|
3490
3544
|
declare function SaveTriggerActionHandle(
|
|
3491
3545
|
table: jhashtable,
|
|
3492
3546
|
parentKey: number,
|
|
3493
3547
|
childKey: number,
|
|
3494
|
-
whichTriggeraction: jtriggeraction
|
|
3548
|
+
whichTriggeraction: jtriggeraction,
|
|
3495
3549
|
): boolean
|
|
3496
3550
|
declare function SaveTriggerEventHandle(
|
|
3497
3551
|
table: jhashtable,
|
|
3498
3552
|
parentKey: number,
|
|
3499
3553
|
childKey: number,
|
|
3500
|
-
whichEvent: jevent
|
|
3554
|
+
whichEvent: jevent,
|
|
3501
3555
|
): boolean
|
|
3502
3556
|
declare function SaveForceHandle(
|
|
3503
3557
|
table: jhashtable,
|
|
3504
3558
|
parentKey: number,
|
|
3505
3559
|
childKey: number,
|
|
3506
|
-
whichForce: jforce
|
|
3560
|
+
whichForce: jforce,
|
|
3507
3561
|
): boolean
|
|
3508
3562
|
declare function SaveGroupHandle(
|
|
3509
3563
|
table: jhashtable,
|
|
3510
3564
|
parentKey: number,
|
|
3511
3565
|
childKey: number,
|
|
3512
|
-
whichGroup: jgroup
|
|
3566
|
+
whichGroup: jgroup,
|
|
3513
3567
|
): boolean
|
|
3514
3568
|
declare function SaveLocationHandle(
|
|
3515
3569
|
table: jhashtable,
|
|
3516
3570
|
parentKey: number,
|
|
3517
3571
|
childKey: number,
|
|
3518
|
-
whichLocation: jlocation
|
|
3572
|
+
whichLocation: jlocation,
|
|
3519
3573
|
): boolean
|
|
3520
3574
|
declare function SaveRectHandle(
|
|
3521
3575
|
table: jhashtable,
|
|
3522
3576
|
parentKey: number,
|
|
3523
3577
|
childKey: number,
|
|
3524
|
-
whichRect: jrect
|
|
3578
|
+
whichRect: jrect,
|
|
3525
3579
|
): boolean
|
|
3526
3580
|
declare function SaveBooleanExprHandle(
|
|
3527
3581
|
table: jhashtable,
|
|
3528
3582
|
parentKey: number,
|
|
3529
3583
|
childKey: number,
|
|
3530
|
-
whichBoolexpr: jboolexpr
|
|
3584
|
+
whichBoolexpr: jboolexpr,
|
|
3531
3585
|
): boolean
|
|
3532
3586
|
declare function SaveSoundHandle(
|
|
3533
3587
|
table: jhashtable,
|
|
3534
3588
|
parentKey: number,
|
|
3535
3589
|
childKey: number,
|
|
3536
|
-
whichSound: jsound
|
|
3590
|
+
whichSound: jsound,
|
|
3537
3591
|
): boolean
|
|
3538
3592
|
declare function SaveEffectHandle(
|
|
3539
3593
|
table: jhashtable,
|
|
3540
3594
|
parentKey: number,
|
|
3541
3595
|
childKey: number,
|
|
3542
|
-
whichEffect: jeffect
|
|
3596
|
+
whichEffect: jeffect,
|
|
3543
3597
|
): boolean
|
|
3544
3598
|
declare function SaveUnitPoolHandle(
|
|
3545
3599
|
table: jhashtable,
|
|
3546
3600
|
parentKey: number,
|
|
3547
3601
|
childKey: number,
|
|
3548
|
-
whichUnitpool: junitpool
|
|
3602
|
+
whichUnitpool: junitpool,
|
|
3549
3603
|
): boolean
|
|
3550
3604
|
declare function SaveItemPoolHandle(
|
|
3551
3605
|
table: jhashtable,
|
|
3552
3606
|
parentKey: number,
|
|
3553
3607
|
childKey: number,
|
|
3554
|
-
whichItempool: jitempool
|
|
3608
|
+
whichItempool: jitempool,
|
|
3555
3609
|
): boolean
|
|
3556
3610
|
declare function SaveQuestHandle(
|
|
3557
3611
|
table: jhashtable,
|
|
3558
3612
|
parentKey: number,
|
|
3559
3613
|
childKey: number,
|
|
3560
|
-
whichQuest: jquest
|
|
3614
|
+
whichQuest: jquest,
|
|
3561
3615
|
): boolean
|
|
3562
3616
|
declare function SaveQuestItemHandle(
|
|
3563
3617
|
table: jhashtable,
|
|
3564
3618
|
parentKey: number,
|
|
3565
3619
|
childKey: number,
|
|
3566
|
-
whichQuestitem: jquestitem
|
|
3620
|
+
whichQuestitem: jquestitem,
|
|
3567
3621
|
): boolean
|
|
3568
3622
|
declare function SaveDefeatConditionHandle(
|
|
3569
3623
|
table: jhashtable,
|
|
3570
3624
|
parentKey: number,
|
|
3571
3625
|
childKey: number,
|
|
3572
|
-
whichDefeatcondition: jdefeatcondition
|
|
3626
|
+
whichDefeatcondition: jdefeatcondition,
|
|
3573
3627
|
): boolean
|
|
3574
3628
|
declare function SaveTimerDialogHandle(
|
|
3575
3629
|
table: jhashtable,
|
|
3576
3630
|
parentKey: number,
|
|
3577
3631
|
childKey: number,
|
|
3578
|
-
whichTimerdialog: jtimerdialog
|
|
3632
|
+
whichTimerdialog: jtimerdialog,
|
|
3579
3633
|
): boolean
|
|
3580
3634
|
declare function SaveLeaderboardHandle(
|
|
3581
3635
|
table: jhashtable,
|
|
3582
3636
|
parentKey: number,
|
|
3583
3637
|
childKey: number,
|
|
3584
|
-
whichLeaderboard: jleaderboard
|
|
3638
|
+
whichLeaderboard: jleaderboard,
|
|
3585
3639
|
): boolean
|
|
3586
3640
|
declare function SaveMultiboardHandle(
|
|
3587
3641
|
table: jhashtable,
|
|
3588
3642
|
parentKey: number,
|
|
3589
3643
|
childKey: number,
|
|
3590
|
-
whichMultiboard: jmultiboard
|
|
3644
|
+
whichMultiboard: jmultiboard,
|
|
3591
3645
|
): boolean
|
|
3592
3646
|
declare function SaveMultiboardItemHandle(
|
|
3593
3647
|
table: jhashtable,
|
|
3594
3648
|
parentKey: number,
|
|
3595
3649
|
childKey: number,
|
|
3596
|
-
whichMultiboarditem: jmultiboarditem
|
|
3650
|
+
whichMultiboarditem: jmultiboarditem,
|
|
3597
3651
|
): boolean
|
|
3598
3652
|
declare function SaveTrackableHandle(
|
|
3599
3653
|
table: jhashtable,
|
|
3600
3654
|
parentKey: number,
|
|
3601
3655
|
childKey: number,
|
|
3602
|
-
whichTrackable: jtrackable
|
|
3656
|
+
whichTrackable: jtrackable,
|
|
3603
3657
|
): boolean
|
|
3604
3658
|
declare function SaveDialogHandle(
|
|
3605
3659
|
table: jhashtable,
|
|
3606
3660
|
parentKey: number,
|
|
3607
3661
|
childKey: number,
|
|
3608
|
-
whichDialog: jdialog
|
|
3662
|
+
whichDialog: jdialog,
|
|
3609
3663
|
): boolean
|
|
3610
3664
|
declare function SaveButtonHandle(
|
|
3611
3665
|
table: jhashtable,
|
|
3612
3666
|
parentKey: number,
|
|
3613
3667
|
childKey: number,
|
|
3614
|
-
whichButton: jbutton
|
|
3668
|
+
whichButton: jbutton,
|
|
3615
3669
|
): boolean
|
|
3616
3670
|
declare function SaveTextTagHandle(
|
|
3617
3671
|
table: jhashtable,
|
|
3618
3672
|
parentKey: number,
|
|
3619
3673
|
childKey: number,
|
|
3620
|
-
whichTexttag: jtexttag
|
|
3674
|
+
whichTexttag: jtexttag,
|
|
3621
3675
|
): boolean
|
|
3622
3676
|
declare function SaveLightningHandle(
|
|
3623
3677
|
table: jhashtable,
|
|
3624
3678
|
parentKey: number,
|
|
3625
3679
|
childKey: number,
|
|
3626
|
-
whichLightning: jlightning
|
|
3680
|
+
whichLightning: jlightning,
|
|
3627
3681
|
): boolean
|
|
3628
3682
|
declare function SaveImageHandle(
|
|
3629
3683
|
table: jhashtable,
|
|
3630
3684
|
parentKey: number,
|
|
3631
3685
|
childKey: number,
|
|
3632
|
-
whichImage: jimage
|
|
3686
|
+
whichImage: jimage,
|
|
3633
3687
|
): boolean
|
|
3634
3688
|
declare function SaveUbersplatHandle(
|
|
3635
3689
|
table: jhashtable,
|
|
3636
3690
|
parentKey: number,
|
|
3637
3691
|
childKey: number,
|
|
3638
|
-
whichUbersplat: jubersplat
|
|
3692
|
+
whichUbersplat: jubersplat,
|
|
3639
3693
|
): boolean
|
|
3640
3694
|
declare function SaveRegionHandle(
|
|
3641
3695
|
table: jhashtable,
|
|
3642
3696
|
parentKey: number,
|
|
3643
3697
|
childKey: number,
|
|
3644
|
-
whichRegion: jregion
|
|
3698
|
+
whichRegion: jregion,
|
|
3645
3699
|
): boolean
|
|
3646
3700
|
declare function SaveFogStateHandle(
|
|
3647
3701
|
table: jhashtable,
|
|
3648
3702
|
parentKey: number,
|
|
3649
3703
|
childKey: number,
|
|
3650
|
-
whichFogState: jfogstate
|
|
3704
|
+
whichFogState: jfogstate,
|
|
3651
3705
|
): boolean
|
|
3652
3706
|
declare function SaveFogModifierHandle(
|
|
3653
3707
|
table: jhashtable,
|
|
3654
3708
|
parentKey: number,
|
|
3655
3709
|
childKey: number,
|
|
3656
|
-
whichFogModifier: jfogmodifier
|
|
3710
|
+
whichFogModifier: jfogmodifier,
|
|
3657
3711
|
): boolean
|
|
3658
3712
|
declare function SaveAgentHandle(
|
|
3659
3713
|
table: jhashtable,
|
|
3660
3714
|
parentKey: number,
|
|
3661
3715
|
childKey: number,
|
|
3662
|
-
whichAgent: jagent
|
|
3716
|
+
whichAgent: jagent,
|
|
3663
3717
|
): boolean
|
|
3664
3718
|
declare function SaveHashtableHandle(
|
|
3665
3719
|
table: jhashtable,
|
|
3666
3720
|
parentKey: number,
|
|
3667
3721
|
childKey: number,
|
|
3668
|
-
whichHashtable: jhashtable
|
|
3722
|
+
whichHashtable: jhashtable,
|
|
3669
3723
|
): boolean
|
|
3670
3724
|
declare function SaveFrameHandle(
|
|
3671
3725
|
table: jhashtable,
|
|
3672
3726
|
parentKey: number,
|
|
3673
3727
|
childKey: number,
|
|
3674
|
-
whichFrameHandle: jframehandle
|
|
3728
|
+
whichFrameHandle: jframehandle,
|
|
3675
3729
|
): boolean
|
|
3676
3730
|
declare function LoadInteger(table: jhashtable, parentKey: number, childKey: number): number
|
|
3677
3731
|
declare function LoadReal(table: jhashtable, parentKey: number, childKey: number): number
|
|
@@ -3682,7 +3736,7 @@ declare function LoadWidgetHandle(table: jhashtable, parentKey: number, childKey
|
|
|
3682
3736
|
declare function LoadDestructableHandle(
|
|
3683
3737
|
table: jhashtable,
|
|
3684
3738
|
parentKey: number,
|
|
3685
|
-
childKey: number
|
|
3739
|
+
childKey: number,
|
|
3686
3740
|
): jdestructable
|
|
3687
3741
|
declare function LoadItemHandle(table: jhashtable, parentKey: number, childKey: number): jitem
|
|
3688
3742
|
declare function LoadUnitHandle(table: jhashtable, parentKey: number, childKey: number): junit
|
|
@@ -3692,78 +3746,78 @@ declare function LoadTriggerHandle(table: jhashtable, parentKey: number, childKe
|
|
|
3692
3746
|
declare function LoadTriggerConditionHandle(
|
|
3693
3747
|
table: jhashtable,
|
|
3694
3748
|
parentKey: number,
|
|
3695
|
-
childKey: number
|
|
3749
|
+
childKey: number,
|
|
3696
3750
|
): jtriggercondition
|
|
3697
3751
|
declare function LoadTriggerActionHandle(
|
|
3698
3752
|
table: jhashtable,
|
|
3699
3753
|
parentKey: number,
|
|
3700
|
-
childKey: number
|
|
3754
|
+
childKey: number,
|
|
3701
3755
|
): jtriggeraction
|
|
3702
3756
|
declare function LoadTriggerEventHandle(
|
|
3703
3757
|
table: jhashtable,
|
|
3704
3758
|
parentKey: number,
|
|
3705
|
-
childKey: number
|
|
3759
|
+
childKey: number,
|
|
3706
3760
|
): jevent
|
|
3707
3761
|
declare function LoadForceHandle(table: jhashtable, parentKey: number, childKey: number): jforce
|
|
3708
3762
|
declare function LoadGroupHandle(table: jhashtable, parentKey: number, childKey: number): jgroup
|
|
3709
3763
|
declare function LoadLocationHandle(
|
|
3710
3764
|
table: jhashtable,
|
|
3711
3765
|
parentKey: number,
|
|
3712
|
-
childKey: number
|
|
3766
|
+
childKey: number,
|
|
3713
3767
|
): jlocation
|
|
3714
3768
|
declare function LoadRectHandle(table: jhashtable, parentKey: number, childKey: number): jrect
|
|
3715
3769
|
declare function LoadBooleanExprHandle(
|
|
3716
3770
|
table: jhashtable,
|
|
3717
3771
|
parentKey: number,
|
|
3718
|
-
childKey: number
|
|
3772
|
+
childKey: number,
|
|
3719
3773
|
): jboolexpr
|
|
3720
3774
|
declare function LoadSoundHandle(table: jhashtable, parentKey: number, childKey: number): jsound
|
|
3721
3775
|
declare function LoadEffectHandle(table: jhashtable, parentKey: number, childKey: number): jeffect
|
|
3722
3776
|
declare function LoadUnitPoolHandle(
|
|
3723
3777
|
table: jhashtable,
|
|
3724
3778
|
parentKey: number,
|
|
3725
|
-
childKey: number
|
|
3779
|
+
childKey: number,
|
|
3726
3780
|
): junitpool
|
|
3727
3781
|
declare function LoadItemPoolHandle(
|
|
3728
3782
|
table: jhashtable,
|
|
3729
3783
|
parentKey: number,
|
|
3730
|
-
childKey: number
|
|
3784
|
+
childKey: number,
|
|
3731
3785
|
): jitempool
|
|
3732
3786
|
declare function LoadQuestHandle(table: jhashtable, parentKey: number, childKey: number): jquest
|
|
3733
3787
|
declare function LoadQuestItemHandle(
|
|
3734
3788
|
table: jhashtable,
|
|
3735
3789
|
parentKey: number,
|
|
3736
|
-
childKey: number
|
|
3790
|
+
childKey: number,
|
|
3737
3791
|
): jquestitem
|
|
3738
3792
|
declare function LoadDefeatConditionHandle(
|
|
3739
3793
|
table: jhashtable,
|
|
3740
3794
|
parentKey: number,
|
|
3741
|
-
childKey: number
|
|
3795
|
+
childKey: number,
|
|
3742
3796
|
): jdefeatcondition
|
|
3743
3797
|
declare function LoadTimerDialogHandle(
|
|
3744
3798
|
table: jhashtable,
|
|
3745
3799
|
parentKey: number,
|
|
3746
|
-
childKey: number
|
|
3800
|
+
childKey: number,
|
|
3747
3801
|
): jtimerdialog
|
|
3748
3802
|
declare function LoadLeaderboardHandle(
|
|
3749
3803
|
table: jhashtable,
|
|
3750
3804
|
parentKey: number,
|
|
3751
|
-
childKey: number
|
|
3805
|
+
childKey: number,
|
|
3752
3806
|
): jleaderboard
|
|
3753
3807
|
declare function LoadMultiboardHandle(
|
|
3754
3808
|
table: jhashtable,
|
|
3755
3809
|
parentKey: number,
|
|
3756
|
-
childKey: number
|
|
3810
|
+
childKey: number,
|
|
3757
3811
|
): jmultiboard
|
|
3758
3812
|
declare function LoadMultiboardItemHandle(
|
|
3759
3813
|
table: jhashtable,
|
|
3760
3814
|
parentKey: number,
|
|
3761
|
-
childKey: number
|
|
3815
|
+
childKey: number,
|
|
3762
3816
|
): jmultiboarditem
|
|
3763
3817
|
declare function LoadTrackableHandle(
|
|
3764
3818
|
table: jhashtable,
|
|
3765
3819
|
parentKey: number,
|
|
3766
|
-
childKey: number
|
|
3820
|
+
childKey: number,
|
|
3767
3821
|
): jtrackable
|
|
3768
3822
|
declare function LoadDialogHandle(table: jhashtable, parentKey: number, childKey: number): jdialog
|
|
3769
3823
|
declare function LoadButtonHandle(table: jhashtable, parentKey: number, childKey: number): jbutton
|
|
@@ -3771,34 +3825,34 @@ declare function LoadTextTagHandle(table: jhashtable, parentKey: number, childKe
|
|
|
3771
3825
|
declare function LoadLightningHandle(
|
|
3772
3826
|
table: jhashtable,
|
|
3773
3827
|
parentKey: number,
|
|
3774
|
-
childKey: number
|
|
3828
|
+
childKey: number,
|
|
3775
3829
|
): jlightning
|
|
3776
3830
|
declare function LoadImageHandle(table: jhashtable, parentKey: number, childKey: number): jimage
|
|
3777
3831
|
declare function LoadUbersplatHandle(
|
|
3778
3832
|
table: jhashtable,
|
|
3779
3833
|
parentKey: number,
|
|
3780
|
-
childKey: number
|
|
3834
|
+
childKey: number,
|
|
3781
3835
|
): jubersplat
|
|
3782
3836
|
declare function LoadRegionHandle(table: jhashtable, parentKey: number, childKey: number): jregion
|
|
3783
3837
|
declare function LoadFogStateHandle(
|
|
3784
3838
|
table: jhashtable,
|
|
3785
3839
|
parentKey: number,
|
|
3786
|
-
childKey: number
|
|
3840
|
+
childKey: number,
|
|
3787
3841
|
): jfogstate
|
|
3788
3842
|
declare function LoadFogModifierHandle(
|
|
3789
3843
|
table: jhashtable,
|
|
3790
3844
|
parentKey: number,
|
|
3791
|
-
childKey: number
|
|
3845
|
+
childKey: number,
|
|
3792
3846
|
): jfogmodifier
|
|
3793
3847
|
declare function LoadHashtableHandle(
|
|
3794
3848
|
table: jhashtable,
|
|
3795
3849
|
parentKey: number,
|
|
3796
|
-
childKey: number
|
|
3850
|
+
childKey: number,
|
|
3797
3851
|
): jhashtable
|
|
3798
3852
|
declare function LoadFrameHandle(
|
|
3799
3853
|
table: jhashtable,
|
|
3800
3854
|
parentKey: number,
|
|
3801
|
-
childKey: number
|
|
3855
|
+
childKey: number,
|
|
3802
3856
|
): jframehandle
|
|
3803
3857
|
declare function HaveSavedInteger(table: jhashtable, parentKey: number, childKey: number): boolean
|
|
3804
3858
|
declare function HaveSavedReal(table: jhashtable, parentKey: number, childKey: number): boolean
|
|
@@ -3823,7 +3877,7 @@ declare function PlaceRandomUnit(
|
|
|
3823
3877
|
forWhichPlayer: jplayer,
|
|
3824
3878
|
x: number,
|
|
3825
3879
|
y: number,
|
|
3826
|
-
facing: number
|
|
3880
|
+
facing: number,
|
|
3827
3881
|
): junit
|
|
3828
3882
|
declare function CreateItemPool(): jitempool
|
|
3829
3883
|
declare function DestroyItemPool(whichItemPool: jitempool): void
|
|
@@ -3845,7 +3899,7 @@ declare function SetTerrainFogEx(
|
|
|
3845
3899
|
density: number,
|
|
3846
3900
|
red: number,
|
|
3847
3901
|
green: number,
|
|
3848
|
-
blue: number
|
|
3902
|
+
blue: number,
|
|
3849
3903
|
): void
|
|
3850
3904
|
declare function DisplayTextToPlayer(toPlayer: jplayer, x: number, y: number, message: string): void
|
|
3851
3905
|
declare function DisplayTimedTextToPlayer(
|
|
@@ -3853,14 +3907,14 @@ declare function DisplayTimedTextToPlayer(
|
|
|
3853
3907
|
x: number,
|
|
3854
3908
|
y: number,
|
|
3855
3909
|
duration: number,
|
|
3856
|
-
message: string
|
|
3910
|
+
message: string,
|
|
3857
3911
|
): void
|
|
3858
3912
|
declare function DisplayTimedTextFromPlayer(
|
|
3859
3913
|
toPlayer: jplayer,
|
|
3860
3914
|
x: number,
|
|
3861
3915
|
y: number,
|
|
3862
3916
|
duration: number,
|
|
3863
|
-
message: string
|
|
3917
|
+
message: string,
|
|
3864
3918
|
): void
|
|
3865
3919
|
declare function ClearTextMessages(): void
|
|
3866
3920
|
declare function SetDayNightModels(terrainDNCFile: string, unitDNCFile: string): void
|
|
@@ -3878,14 +3932,14 @@ declare function UnitAddIndicator(
|
|
|
3878
3932
|
red: number,
|
|
3879
3933
|
green: number,
|
|
3880
3934
|
blue: number,
|
|
3881
|
-
alpha: number
|
|
3935
|
+
alpha: number,
|
|
3882
3936
|
): void
|
|
3883
3937
|
declare function AddIndicator(
|
|
3884
3938
|
whichWidget: jwidget,
|
|
3885
3939
|
red: number,
|
|
3886
3940
|
green: number,
|
|
3887
3941
|
blue: number,
|
|
3888
|
-
alpha: number
|
|
3942
|
+
alpha: number,
|
|
3889
3943
|
): void
|
|
3890
3944
|
declare function PingMinimap(x: number, y: number, duration: number): void
|
|
3891
3945
|
declare function PingMinimapEx(
|
|
@@ -3895,7 +3949,7 @@ declare function PingMinimapEx(
|
|
|
3895
3949
|
red: number,
|
|
3896
3950
|
green: number,
|
|
3897
3951
|
blue: number,
|
|
3898
|
-
extraEffects: boolean
|
|
3952
|
+
extraEffects: boolean,
|
|
3899
3953
|
): void
|
|
3900
3954
|
declare function CreateMinimapIconOnUnit(
|
|
3901
3955
|
whichUnit: junit,
|
|
@@ -3903,7 +3957,7 @@ declare function CreateMinimapIconOnUnit(
|
|
|
3903
3957
|
green: number,
|
|
3904
3958
|
blue: number,
|
|
3905
3959
|
pingPath: string,
|
|
3906
|
-
fogVisibility: jfogstate
|
|
3960
|
+
fogVisibility: jfogstate,
|
|
3907
3961
|
): jminimapicon
|
|
3908
3962
|
declare function CreateMinimapIconAtLoc(
|
|
3909
3963
|
where: jlocation,
|
|
@@ -3911,7 +3965,7 @@ declare function CreateMinimapIconAtLoc(
|
|
|
3911
3965
|
green: number,
|
|
3912
3966
|
blue: number,
|
|
3913
3967
|
pingPath: string,
|
|
3914
|
-
fogVisibility: jfogstate
|
|
3968
|
+
fogVisibility: jfogstate,
|
|
3915
3969
|
): jminimapicon
|
|
3916
3970
|
declare function CreateMinimapIcon(
|
|
3917
3971
|
x: number,
|
|
@@ -3920,14 +3974,14 @@ declare function CreateMinimapIcon(
|
|
|
3920
3974
|
green: number,
|
|
3921
3975
|
blue: number,
|
|
3922
3976
|
pingPath: string,
|
|
3923
|
-
fogVisibility: jfogstate
|
|
3977
|
+
fogVisibility: jfogstate,
|
|
3924
3978
|
): jminimapicon
|
|
3925
3979
|
declare function SkinManagerGetLocalPath(key: string): string
|
|
3926
3980
|
declare function DestroyMinimapIcon(pingId: jminimapicon): void
|
|
3927
3981
|
declare function SetMinimapIconVisible(whichMinimapIcon: jminimapicon, visible: boolean): void
|
|
3928
3982
|
declare function SetMinimapIconOrphanDestroy(
|
|
3929
3983
|
whichMinimapIcon: jminimapicon,
|
|
3930
|
-
doDestroy: boolean
|
|
3984
|
+
doDestroy: boolean,
|
|
3931
3985
|
): void
|
|
3932
3986
|
declare function EnableOcclusion(flag: boolean): void
|
|
3933
3987
|
declare function SetIntroShotText(introText: string): void
|
|
@@ -3950,7 +4004,7 @@ declare function SetTextTagColor(
|
|
|
3950
4004
|
red: number,
|
|
3951
4005
|
green: number,
|
|
3952
4006
|
blue: number,
|
|
3953
|
-
alpha: number
|
|
4007
|
+
alpha: number,
|
|
3954
4008
|
): void
|
|
3955
4009
|
declare function SetTextTagVelocity(t: jtexttag, xvel: number, yvel: number): void
|
|
3956
4010
|
declare function SetTextTagVisibility(t: jtexttag, flag: boolean): void
|
|
@@ -3972,7 +4026,7 @@ declare function CreateTrackable(
|
|
|
3972
4026
|
trackableModelPath: string,
|
|
3973
4027
|
x: number,
|
|
3974
4028
|
y: number,
|
|
3975
|
-
facing: number
|
|
4029
|
+
facing: number,
|
|
3976
4030
|
): jtrackable
|
|
3977
4031
|
declare function CreateQuest(): jquest
|
|
3978
4032
|
declare function DestroyQuest(whichQuest: jquest): void
|
|
@@ -3997,7 +4051,7 @@ declare function CreateDefeatCondition(): jdefeatcondition
|
|
|
3997
4051
|
declare function DestroyDefeatCondition(whichCondition: jdefeatcondition): void
|
|
3998
4052
|
declare function DefeatConditionSetDescription(
|
|
3999
4053
|
whichCondition: jdefeatcondition,
|
|
4000
|
-
description: string
|
|
4054
|
+
description: string,
|
|
4001
4055
|
): void
|
|
4002
4056
|
declare function FlashQuestDialogButton(): void
|
|
4003
4057
|
declare function ForceQuestDialogUpdate(): void
|
|
@@ -4009,21 +4063,21 @@ declare function TimerDialogSetTitleColor(
|
|
|
4009
4063
|
red: number,
|
|
4010
4064
|
green: number,
|
|
4011
4065
|
blue: number,
|
|
4012
|
-
alpha: number
|
|
4066
|
+
alpha: number,
|
|
4013
4067
|
): void
|
|
4014
4068
|
declare function TimerDialogSetTimeColor(
|
|
4015
4069
|
whichDialog: jtimerdialog,
|
|
4016
4070
|
red: number,
|
|
4017
4071
|
green: number,
|
|
4018
4072
|
blue: number,
|
|
4019
|
-
alpha: number
|
|
4073
|
+
alpha: number,
|
|
4020
4074
|
): void
|
|
4021
4075
|
declare function TimerDialogSetSpeed(whichDialog: jtimerdialog, speedMultFactor: number): void
|
|
4022
4076
|
declare function TimerDialogDisplay(whichDialog: jtimerdialog, display: boolean): void
|
|
4023
4077
|
declare function IsTimerDialogDisplayed(whichDialog: jtimerdialog): boolean
|
|
4024
4078
|
declare function TimerDialogSetRealTimeRemaining(
|
|
4025
4079
|
whichDialog: jtimerdialog,
|
|
4026
|
-
timeRemaining: number
|
|
4080
|
+
timeRemaining: number,
|
|
4027
4081
|
): void
|
|
4028
4082
|
declare function CreateLeaderboard(): jleaderboard
|
|
4029
4083
|
declare function DestroyLeaderboard(lb: jleaderboard): void
|
|
@@ -4035,7 +4089,7 @@ declare function LeaderboardAddItem(
|
|
|
4035
4089
|
lb: jleaderboard,
|
|
4036
4090
|
label: string,
|
|
4037
4091
|
value: number,
|
|
4038
|
-
p: jplayer
|
|
4092
|
+
p: jplayer,
|
|
4039
4093
|
): void
|
|
4040
4094
|
declare function LeaderboardRemoveItem(lb: jleaderboard, index: number): void
|
|
4041
4095
|
declare function LeaderboardRemovePlayerItem(lb: jleaderboard, p: jplayer): void
|
|
@@ -4054,21 +4108,21 @@ declare function LeaderboardSetLabelColor(
|
|
|
4054
4108
|
red: number,
|
|
4055
4109
|
green: number,
|
|
4056
4110
|
blue: number,
|
|
4057
|
-
alpha: number
|
|
4111
|
+
alpha: number,
|
|
4058
4112
|
): void
|
|
4059
4113
|
declare function LeaderboardSetValueColor(
|
|
4060
4114
|
lb: jleaderboard,
|
|
4061
4115
|
red: number,
|
|
4062
4116
|
green: number,
|
|
4063
4117
|
blue: number,
|
|
4064
|
-
alpha: number
|
|
4118
|
+
alpha: number,
|
|
4065
4119
|
): void
|
|
4066
4120
|
declare function LeaderboardSetStyle(
|
|
4067
4121
|
lb: jleaderboard,
|
|
4068
4122
|
showLabel: boolean,
|
|
4069
4123
|
showNames: boolean,
|
|
4070
4124
|
showValues: boolean,
|
|
4071
|
-
showIcons: boolean
|
|
4125
|
+
showIcons: boolean,
|
|
4072
4126
|
): void
|
|
4073
4127
|
declare function LeaderboardSetItemValue(lb: jleaderboard, whichItem: number, val: number): void
|
|
4074
4128
|
declare function LeaderboardSetItemLabel(lb: jleaderboard, whichItem: number, val: string): void
|
|
@@ -4077,7 +4131,7 @@ declare function LeaderboardSetItemStyle(
|
|
|
4077
4131
|
whichItem: number,
|
|
4078
4132
|
showLabel: boolean,
|
|
4079
4133
|
showValue: boolean,
|
|
4080
|
-
showIcon: boolean
|
|
4134
|
+
showIcon: boolean,
|
|
4081
4135
|
): void
|
|
4082
4136
|
declare function LeaderboardSetItemLabelColor(
|
|
4083
4137
|
lb: jleaderboard,
|
|
@@ -4085,7 +4139,7 @@ declare function LeaderboardSetItemLabelColor(
|
|
|
4085
4139
|
red: number,
|
|
4086
4140
|
green: number,
|
|
4087
4141
|
blue: number,
|
|
4088
|
-
alpha: number
|
|
4142
|
+
alpha: number,
|
|
4089
4143
|
): void
|
|
4090
4144
|
declare function LeaderboardSetItemValueColor(
|
|
4091
4145
|
lb: jleaderboard,
|
|
@@ -4093,7 +4147,7 @@ declare function LeaderboardSetItemValueColor(
|
|
|
4093
4147
|
red: number,
|
|
4094
4148
|
green: number,
|
|
4095
4149
|
blue: number,
|
|
4096
|
-
alpha: number
|
|
4150
|
+
alpha: number,
|
|
4097
4151
|
): void
|
|
4098
4152
|
declare function CreateMultiboard(): jmultiboard
|
|
4099
4153
|
declare function DestroyMultiboard(lb: jmultiboard): void
|
|
@@ -4109,7 +4163,7 @@ declare function MultiboardSetTitleTextColor(
|
|
|
4109
4163
|
red: number,
|
|
4110
4164
|
green: number,
|
|
4111
4165
|
blue: number,
|
|
4112
|
-
alpha: number
|
|
4166
|
+
alpha: number,
|
|
4113
4167
|
): void
|
|
4114
4168
|
declare function MultiboardGetRowCount(lb: jmultiboard): number
|
|
4115
4169
|
declare function MultiboardGetColumnCount(lb: jmultiboard): number
|
|
@@ -4118,7 +4172,7 @@ declare function MultiboardSetRowCount(lb: jmultiboard, count: number): void
|
|
|
4118
4172
|
declare function MultiboardSetItemsStyle(
|
|
4119
4173
|
lb: jmultiboard,
|
|
4120
4174
|
showValues: boolean,
|
|
4121
|
-
showIcons: boolean
|
|
4175
|
+
showIcons: boolean,
|
|
4122
4176
|
): void
|
|
4123
4177
|
declare function MultiboardSetItemsValue(lb: jmultiboard, value: string): void
|
|
4124
4178
|
declare function MultiboardSetItemsValueColor(
|
|
@@ -4126,7 +4180,7 @@ declare function MultiboardSetItemsValueColor(
|
|
|
4126
4180
|
red: number,
|
|
4127
4181
|
green: number,
|
|
4128
4182
|
blue: number,
|
|
4129
|
-
alpha: number
|
|
4183
|
+
alpha: number,
|
|
4130
4184
|
): void
|
|
4131
4185
|
declare function MultiboardSetItemsWidth(lb: jmultiboard, width: number): void
|
|
4132
4186
|
declare function MultiboardSetItemsIcon(lb: jmultiboard, iconPath: string): void
|
|
@@ -4135,7 +4189,7 @@ declare function MultiboardReleaseItem(mbi: jmultiboarditem): void
|
|
|
4135
4189
|
declare function MultiboardSetItemStyle(
|
|
4136
4190
|
mbi: jmultiboarditem,
|
|
4137
4191
|
showValue: boolean,
|
|
4138
|
-
showIcon: boolean
|
|
4192
|
+
showIcon: boolean,
|
|
4139
4193
|
): void
|
|
4140
4194
|
declare function MultiboardSetItemValue(mbi: jmultiboarditem, val: string): void
|
|
4141
4195
|
declare function MultiboardSetItemValueColor(
|
|
@@ -4143,7 +4197,7 @@ declare function MultiboardSetItemValueColor(
|
|
|
4143
4197
|
red: number,
|
|
4144
4198
|
green: number,
|
|
4145
4199
|
blue: number,
|
|
4146
|
-
alpha: number
|
|
4200
|
+
alpha: number,
|
|
4147
4201
|
): void
|
|
4148
4202
|
declare function MultiboardSetItemWidth(mbi: jmultiboarditem, width: number): void
|
|
4149
4203
|
declare function MultiboardSetItemIcon(mbi: jmultiboarditem, iconFileName: string): void
|
|
@@ -4158,7 +4212,7 @@ declare function SetCameraBounds(
|
|
|
4158
4212
|
x3: number,
|
|
4159
4213
|
y3: number,
|
|
4160
4214
|
x4: number,
|
|
4161
|
-
y4: number
|
|
4215
|
+
y4: number,
|
|
4162
4216
|
): void
|
|
4163
4217
|
declare function StopCamera(): void
|
|
4164
4218
|
declare function ResetToGameCamera(duration: number): void
|
|
@@ -4169,14 +4223,14 @@ declare function PanCameraToTimedWithZ(
|
|
|
4169
4223
|
x: number,
|
|
4170
4224
|
y: number,
|
|
4171
4225
|
zOffsetDest: number,
|
|
4172
|
-
duration: number
|
|
4226
|
+
duration: number,
|
|
4173
4227
|
): void
|
|
4174
4228
|
declare function SetCinematicCamera(cameraModelFile: string): void
|
|
4175
4229
|
declare function SetCameraRotateMode(
|
|
4176
4230
|
x: number,
|
|
4177
4231
|
y: number,
|
|
4178
4232
|
radiansToSweep: number,
|
|
4179
|
-
duration: number
|
|
4233
|
+
duration: number,
|
|
4180
4234
|
): void
|
|
4181
4235
|
declare function SetCameraField(whichField: jcamerafield, value: number, duration: number): void
|
|
4182
4236
|
declare function AdjustCameraField(whichField: jcamerafield, offset: number, duration: number): void
|
|
@@ -4184,7 +4238,7 @@ declare function SetCameraTargetController(
|
|
|
4184
4238
|
whichUnit: junit,
|
|
4185
4239
|
xoffset: number,
|
|
4186
4240
|
yoffset: number,
|
|
4187
|
-
inheritOrientation: boolean
|
|
4241
|
+
inheritOrientation: boolean,
|
|
4188
4242
|
): void
|
|
4189
4243
|
declare function SetCameraOrientController(whichUnit: junit, xoffset: number, yoffset: number): void
|
|
4190
4244
|
declare function CreateCameraSetup(): jcamerasetup
|
|
@@ -4192,14 +4246,14 @@ declare function CameraSetupSetField(
|
|
|
4192
4246
|
whichSetup: jcamerasetup,
|
|
4193
4247
|
whichField: jcamerafield,
|
|
4194
4248
|
value: number,
|
|
4195
|
-
duration: number
|
|
4249
|
+
duration: number,
|
|
4196
4250
|
): void
|
|
4197
4251
|
declare function CameraSetupGetField(whichSetup: jcamerasetup, whichField: jcamerafield): number
|
|
4198
4252
|
declare function CameraSetupSetDestPosition(
|
|
4199
4253
|
whichSetup: jcamerasetup,
|
|
4200
4254
|
x: number,
|
|
4201
4255
|
y: number,
|
|
4202
|
-
duration: number
|
|
4256
|
+
duration: number,
|
|
4203
4257
|
): void
|
|
4204
4258
|
declare function CameraSetupGetDestPositionLoc(whichSetup: jcamerasetup): jlocation
|
|
4205
4259
|
declare function CameraSetupGetDestPositionX(whichSetup: jcamerasetup): number
|
|
@@ -4209,12 +4263,12 @@ declare function CameraSetupApplyWithZ(whichSetup: jcamerasetup, zDestOffset: nu
|
|
|
4209
4263
|
declare function CameraSetupApplyForceDuration(
|
|
4210
4264
|
whichSetup: jcamerasetup,
|
|
4211
4265
|
doPan: boolean,
|
|
4212
|
-
forceDuration: number
|
|
4266
|
+
forceDuration: number,
|
|
4213
4267
|
): void
|
|
4214
4268
|
declare function CameraSetupApplyForceDurationWithZ(
|
|
4215
4269
|
whichSetup: jcamerasetup,
|
|
4216
4270
|
zDestOffset: number,
|
|
4217
|
-
forceDuration: number
|
|
4271
|
+
forceDuration: number,
|
|
4218
4272
|
): void
|
|
4219
4273
|
declare function BlzCameraSetupSetLabel(whichSetup: jcamerasetup, label: string): void
|
|
4220
4274
|
declare function BlzCameraSetupGetLabel(whichSetup: jcamerasetup): string
|
|
@@ -4234,13 +4288,13 @@ declare function SetCineFilterStartColor(
|
|
|
4234
4288
|
red: number,
|
|
4235
4289
|
green: number,
|
|
4236
4290
|
blue: number,
|
|
4237
|
-
alpha: number
|
|
4291
|
+
alpha: number,
|
|
4238
4292
|
): void
|
|
4239
4293
|
declare function SetCineFilterEndColor(
|
|
4240
4294
|
red: number,
|
|
4241
4295
|
green: number,
|
|
4242
4296
|
blue: number,
|
|
4243
|
-
alpha: number
|
|
4297
|
+
alpha: number,
|
|
4244
4298
|
): void
|
|
4245
4299
|
declare function SetCineFilterDuration(duration: number): void
|
|
4246
4300
|
declare function DisplayCineFilter(flag: boolean): void
|
|
@@ -4251,7 +4305,7 @@ declare function SetCinematicScene(
|
|
|
4251
4305
|
speakerTitle: string,
|
|
4252
4306
|
text: string,
|
|
4253
4307
|
sceneDuration: number,
|
|
4254
|
-
voiceoverDuration: number
|
|
4308
|
+
voiceoverDuration: number,
|
|
4255
4309
|
): void
|
|
4256
4310
|
declare function EndCinematicScene(): void
|
|
4257
4311
|
declare function ForceCinematicSubtitles(flag: boolean): void
|
|
@@ -4278,7 +4332,7 @@ declare function CreateSound(
|
|
|
4278
4332
|
stopwhenoutofrange: boolean,
|
|
4279
4333
|
fadeInRate: number,
|
|
4280
4334
|
fadeOutRate: number,
|
|
4281
|
-
eaxSetting: string
|
|
4335
|
+
eaxSetting: string,
|
|
4282
4336
|
): jsound
|
|
4283
4337
|
declare function CreateSoundFilenameWithLabel(
|
|
4284
4338
|
fileName: string,
|
|
@@ -4287,7 +4341,7 @@ declare function CreateSoundFilenameWithLabel(
|
|
|
4287
4341
|
stopwhenoutofrange: boolean,
|
|
4288
4342
|
fadeInRate: number,
|
|
4289
4343
|
fadeOutRate: number,
|
|
4290
|
-
SLKEntryName: string
|
|
4344
|
+
SLKEntryName: string,
|
|
4291
4345
|
): jsound
|
|
4292
4346
|
declare function CreateSoundFromLabel(
|
|
4293
4347
|
soundLabel: string,
|
|
@@ -4295,12 +4349,12 @@ declare function CreateSoundFromLabel(
|
|
|
4295
4349
|
is3D: boolean,
|
|
4296
4350
|
stopwhenoutofrange: boolean,
|
|
4297
4351
|
fadeInRate: number,
|
|
4298
|
-
fadeOutRate: number
|
|
4352
|
+
fadeOutRate: number,
|
|
4299
4353
|
): jsound
|
|
4300
4354
|
declare function CreateMIDISound(
|
|
4301
4355
|
soundLabel: string,
|
|
4302
4356
|
fadeInRate: number,
|
|
4303
|
-
fadeOutRate: number
|
|
4357
|
+
fadeOutRate: number,
|
|
4304
4358
|
): jsound
|
|
4305
4359
|
declare function SetSoundParamsFromLabel(soundHandle: jsound, soundLabel: string): void
|
|
4306
4360
|
declare function SetSoundDistanceCutoff(soundHandle: jsound, cutoff: number): void
|
|
@@ -4313,7 +4367,7 @@ declare function SetSoundConeAngles(
|
|
|
4313
4367
|
soundHandle: jsound,
|
|
4314
4368
|
inside: number,
|
|
4315
4369
|
outside: number,
|
|
4316
|
-
outsideVolume: number
|
|
4370
|
+
outsideVolume: number,
|
|
4317
4371
|
): void
|
|
4318
4372
|
declare function SetSoundConeOrientation(soundHandle: jsound, x: number, y: number, z: number): void
|
|
4319
4373
|
declare function SetSoundPosition(soundHandle: jsound, x: number, y: number, z: number): void
|
|
@@ -4345,19 +4399,19 @@ declare function RegisterStackedSound(
|
|
|
4345
4399
|
soundHandle: jsound,
|
|
4346
4400
|
byPosition: boolean,
|
|
4347
4401
|
rectwidth: number,
|
|
4348
|
-
rectheight: number
|
|
4402
|
+
rectheight: number,
|
|
4349
4403
|
): void
|
|
4350
4404
|
declare function UnregisterStackedSound(
|
|
4351
4405
|
soundHandle: jsound,
|
|
4352
4406
|
byPosition: boolean,
|
|
4353
4407
|
rectwidth: number,
|
|
4354
|
-
rectheight: number
|
|
4408
|
+
rectheight: number,
|
|
4355
4409
|
): void
|
|
4356
4410
|
declare function SetSoundFacialAnimationLabel(soundHandle: jsound, animationLabel: string): boolean
|
|
4357
4411
|
declare function SetSoundFacialAnimationGroupLabel(soundHandle: jsound, groupLabel: string): boolean
|
|
4358
4412
|
declare function SetSoundFacialAnimationSetFilepath(
|
|
4359
4413
|
soundHandle: jsound,
|
|
4360
|
-
animationSetFilepath: string
|
|
4414
|
+
animationSetFilepath: string,
|
|
4361
4415
|
): boolean
|
|
4362
4416
|
declare function SetDialogueSpeakerNameKey(soundHandle: jsound, speakerName: string): boolean
|
|
4363
4417
|
declare function GetDialogueSpeakerNameKey(soundHandle: jsound): string
|
|
@@ -4372,7 +4426,7 @@ declare function TerrainDeformCrater(
|
|
|
4372
4426
|
radius: number,
|
|
4373
4427
|
depth: number,
|
|
4374
4428
|
duration: number,
|
|
4375
|
-
permanent: boolean
|
|
4429
|
+
permanent: boolean,
|
|
4376
4430
|
): jterraindeformation
|
|
4377
4431
|
declare function TerrainDeformRipple(
|
|
4378
4432
|
x: number,
|
|
@@ -4384,7 +4438,7 @@ declare function TerrainDeformRipple(
|
|
|
4384
4438
|
spaceWaves: number,
|
|
4385
4439
|
timeWaves: number,
|
|
4386
4440
|
radiusStartPct: number,
|
|
4387
|
-
limitNeg: boolean
|
|
4441
|
+
limitNeg: boolean,
|
|
4388
4442
|
): jterraindeformation
|
|
4389
4443
|
declare function TerrainDeformWave(
|
|
4390
4444
|
x: number,
|
|
@@ -4396,7 +4450,7 @@ declare function TerrainDeformWave(
|
|
|
4396
4450
|
radius: number,
|
|
4397
4451
|
depth: number,
|
|
4398
4452
|
trailTime: number,
|
|
4399
|
-
count: number
|
|
4453
|
+
count: number,
|
|
4400
4454
|
): jterraindeformation
|
|
4401
4455
|
declare function TerrainDeformRandom(
|
|
4402
4456
|
x: number,
|
|
@@ -4405,7 +4459,7 @@ declare function TerrainDeformRandom(
|
|
|
4405
4459
|
minDelta: number,
|
|
4406
4460
|
maxDelta: number,
|
|
4407
4461
|
duration: number,
|
|
4408
|
-
updateInterval: number
|
|
4462
|
+
updateInterval: number,
|
|
4409
4463
|
): jterraindeformation
|
|
4410
4464
|
declare function TerrainDeformStop(deformation: jterraindeformation, duration: number): void
|
|
4411
4465
|
declare function TerrainDeformStopAll(): void
|
|
@@ -4414,34 +4468,34 @@ declare function AddSpecialEffectLoc(modelName: string, where: jlocation): jeffe
|
|
|
4414
4468
|
declare function AddSpecialEffectTarget(
|
|
4415
4469
|
modelName: string,
|
|
4416
4470
|
targetWidget: jwidget,
|
|
4417
|
-
attachPointName: string
|
|
4471
|
+
attachPointName: string,
|
|
4418
4472
|
): jeffect
|
|
4419
4473
|
declare function DestroyEffect(whichEffect: jeffect): void
|
|
4420
4474
|
declare function AddSpellEffect(
|
|
4421
4475
|
abilityString: string,
|
|
4422
4476
|
t: jeffecttype,
|
|
4423
4477
|
x: number,
|
|
4424
|
-
y: number
|
|
4478
|
+
y: number,
|
|
4425
4479
|
): jeffect
|
|
4426
4480
|
declare function AddSpellEffectLoc(abilityString: string, t: jeffecttype, where: jlocation): jeffect
|
|
4427
4481
|
declare function AddSpellEffectById(
|
|
4428
4482
|
abilityId: number,
|
|
4429
4483
|
t: jeffecttype,
|
|
4430
4484
|
x: number,
|
|
4431
|
-
y: number
|
|
4485
|
+
y: number,
|
|
4432
4486
|
): jeffect
|
|
4433
4487
|
declare function AddSpellEffectByIdLoc(abilityId: number, t: jeffecttype, where: jlocation): jeffect
|
|
4434
4488
|
declare function AddSpellEffectTarget(
|
|
4435
4489
|
modelName: string,
|
|
4436
4490
|
t: jeffecttype,
|
|
4437
4491
|
targetWidget: jwidget,
|
|
4438
|
-
attachPoint: string
|
|
4492
|
+
attachPoint: string,
|
|
4439
4493
|
): jeffect
|
|
4440
4494
|
declare function AddSpellEffectTargetById(
|
|
4441
4495
|
abilityId: number,
|
|
4442
4496
|
t: jeffecttype,
|
|
4443
4497
|
targetWidget: jwidget,
|
|
4444
|
-
attachPoint: string
|
|
4498
|
+
attachPoint: string,
|
|
4445
4499
|
): jeffect
|
|
4446
4500
|
declare function AddLightning(
|
|
4447
4501
|
codeName: string,
|
|
@@ -4449,7 +4503,7 @@ declare function AddLightning(
|
|
|
4449
4503
|
x1: number,
|
|
4450
4504
|
y1: number,
|
|
4451
4505
|
x2: number,
|
|
4452
|
-
y2: number
|
|
4506
|
+
y2: number,
|
|
4453
4507
|
): jlightning
|
|
4454
4508
|
declare function AddLightningEx(
|
|
4455
4509
|
codeName: string,
|
|
@@ -4459,7 +4513,7 @@ declare function AddLightningEx(
|
|
|
4459
4513
|
z1: number,
|
|
4460
4514
|
x2: number,
|
|
4461
4515
|
y2: number,
|
|
4462
|
-
z2: number
|
|
4516
|
+
z2: number,
|
|
4463
4517
|
): jlightning
|
|
4464
4518
|
declare function DestroyLightning(whichBolt: jlightning): boolean
|
|
4465
4519
|
declare function MoveLightning(
|
|
@@ -4468,7 +4522,7 @@ declare function MoveLightning(
|
|
|
4468
4522
|
x1: number,
|
|
4469
4523
|
y1: number,
|
|
4470
4524
|
x2: number,
|
|
4471
|
-
y2: number
|
|
4525
|
+
y2: number,
|
|
4472
4526
|
): boolean
|
|
4473
4527
|
declare function MoveLightningEx(
|
|
4474
4528
|
whichBolt: jlightning,
|
|
@@ -4478,7 +4532,7 @@ declare function MoveLightningEx(
|
|
|
4478
4532
|
z1: number,
|
|
4479
4533
|
x2: number,
|
|
4480
4534
|
y2: number,
|
|
4481
|
-
z2: number
|
|
4535
|
+
z2: number,
|
|
4482
4536
|
): boolean
|
|
4483
4537
|
declare function GetLightningColorA(whichBolt: jlightning): number
|
|
4484
4538
|
declare function GetLightningColorR(whichBolt: jlightning): number
|
|
@@ -4489,7 +4543,7 @@ declare function SetLightningColor(
|
|
|
4489
4543
|
r: number,
|
|
4490
4544
|
g: number,
|
|
4491
4545
|
b: number,
|
|
4492
|
-
a: number
|
|
4546
|
+
a: number,
|
|
4493
4547
|
): boolean
|
|
4494
4548
|
declare function GetAbilityEffect(abilityString: string, t: jeffecttype, index: number): string
|
|
4495
4549
|
declare function GetAbilityEffectById(abilityId: number, t: jeffecttype, index: number): string
|
|
@@ -4506,7 +4560,7 @@ declare function SetTerrainType(
|
|
|
4506
4560
|
terrainType: number,
|
|
4507
4561
|
variation: number,
|
|
4508
4562
|
area: number,
|
|
4509
|
-
shape: number
|
|
4563
|
+
shape: number,
|
|
4510
4564
|
): void
|
|
4511
4565
|
declare function IsTerrainPathable(x: number, y: number, t: jpathingtype): boolean
|
|
4512
4566
|
declare function SetTerrainPathable(x: number, y: number, t: jpathingtype, flag: boolean): void
|
|
@@ -4521,7 +4575,7 @@ declare function CreateImage(
|
|
|
4521
4575
|
originX: number,
|
|
4522
4576
|
originY: number,
|
|
4523
4577
|
originZ: number,
|
|
4524
|
-
imageType: number
|
|
4578
|
+
imageType: number,
|
|
4525
4579
|
): jimage
|
|
4526
4580
|
declare function DestroyImage(whichImage: jimage): void
|
|
4527
4581
|
declare function ShowImage(whichImage: jimage, flag: boolean): void
|
|
@@ -4532,7 +4586,7 @@ declare function SetImageColor(
|
|
|
4532
4586
|
red: number,
|
|
4533
4587
|
green: number,
|
|
4534
4588
|
blue: number,
|
|
4535
|
-
alpha: number
|
|
4589
|
+
alpha: number,
|
|
4536
4590
|
): void
|
|
4537
4591
|
declare function SetImageRender(whichImage: jimage, flag: boolean): void
|
|
4538
4592
|
declare function SetImageRenderAlways(whichImage: jimage, flag: boolean): void
|
|
@@ -4547,7 +4601,7 @@ declare function CreateUbersplat(
|
|
|
4547
4601
|
blue: number,
|
|
4548
4602
|
alpha: number,
|
|
4549
4603
|
forcePaused: boolean,
|
|
4550
|
-
noBirthTime: boolean
|
|
4604
|
+
noBirthTime: boolean,
|
|
4551
4605
|
): jubersplat
|
|
4552
4606
|
declare function DestroyUbersplat(whichSplat: jubersplat): void
|
|
4553
4607
|
declare function ResetUbersplat(whichSplat: jubersplat): void
|
|
@@ -4560,20 +4614,20 @@ declare function SetBlight(
|
|
|
4560
4614
|
x: number,
|
|
4561
4615
|
y: number,
|
|
4562
4616
|
radius: number,
|
|
4563
|
-
addBlight: boolean
|
|
4617
|
+
addBlight: boolean,
|
|
4564
4618
|
): void
|
|
4565
4619
|
declare function SetBlightRect(whichPlayer: jplayer, r: jrect, addBlight: boolean): void
|
|
4566
4620
|
declare function SetBlightPoint(
|
|
4567
4621
|
whichPlayer: jplayer,
|
|
4568
4622
|
x: number,
|
|
4569
4623
|
y: number,
|
|
4570
|
-
addBlight: boolean
|
|
4624
|
+
addBlight: boolean,
|
|
4571
4625
|
): void
|
|
4572
4626
|
declare function SetBlightLoc(
|
|
4573
4627
|
whichPlayer: jplayer,
|
|
4574
4628
|
whichLocation: jlocation,
|
|
4575
4629
|
radius: number,
|
|
4576
|
-
addBlight: boolean
|
|
4630
|
+
addBlight: boolean,
|
|
4577
4631
|
): void
|
|
4578
4632
|
declare function CreateBlightedGoldmine(id: jplayer, x: number, y: number, face: number): junit
|
|
4579
4633
|
declare function IsPointBlighted(x: number, y: number): boolean
|
|
@@ -4584,13 +4638,13 @@ declare function SetDoodadAnimation(
|
|
|
4584
4638
|
doodadID: number,
|
|
4585
4639
|
nearestOnly: boolean,
|
|
4586
4640
|
animName: string,
|
|
4587
|
-
animRandom: boolean
|
|
4641
|
+
animRandom: boolean,
|
|
4588
4642
|
): void
|
|
4589
4643
|
declare function SetDoodadAnimationRect(
|
|
4590
4644
|
r: jrect,
|
|
4591
4645
|
doodadID: number,
|
|
4592
4646
|
animName: string,
|
|
4593
|
-
animRandom: boolean
|
|
4647
|
+
animRandom: boolean,
|
|
4594
4648
|
): void
|
|
4595
4649
|
declare function StartMeleeAI(num: jplayer, script: string): void
|
|
4596
4650
|
declare function StartCampaignAI(num: jplayer, script: string): void
|
|
@@ -4625,27 +4679,27 @@ declare function BlzSetAbilityTooltip(abilCode: number, tooltip: string, level:
|
|
|
4625
4679
|
declare function BlzSetAbilityActivatedTooltip(
|
|
4626
4680
|
abilCode: number,
|
|
4627
4681
|
tooltip: string,
|
|
4628
|
-
level: number
|
|
4682
|
+
level: number,
|
|
4629
4683
|
): void
|
|
4630
4684
|
declare function BlzSetAbilityExtendedTooltip(
|
|
4631
4685
|
abilCode: number,
|
|
4632
4686
|
extendedTooltip: string,
|
|
4633
|
-
level: number
|
|
4687
|
+
level: number,
|
|
4634
4688
|
): void
|
|
4635
4689
|
declare function BlzSetAbilityActivatedExtendedTooltip(
|
|
4636
4690
|
abilCode: number,
|
|
4637
4691
|
extendedTooltip: string,
|
|
4638
|
-
level: number
|
|
4692
|
+
level: number,
|
|
4639
4693
|
): void
|
|
4640
4694
|
declare function BlzSetAbilityResearchTooltip(
|
|
4641
4695
|
abilCode: number,
|
|
4642
4696
|
researchTooltip: string,
|
|
4643
|
-
level: number
|
|
4697
|
+
level: number,
|
|
4644
4698
|
): void
|
|
4645
4699
|
declare function BlzSetAbilityResearchExtendedTooltip(
|
|
4646
4700
|
abilCode: number,
|
|
4647
4701
|
researchExtendedTooltip: string,
|
|
4648
|
-
level: number
|
|
4702
|
+
level: number,
|
|
4649
4703
|
): void
|
|
4650
4704
|
declare function BlzGetAbilityTooltip(abilCode: number, level: number): string
|
|
4651
4705
|
declare function BlzGetAbilityActivatedTooltip(abilCode: number, level: number): string
|
|
@@ -4684,13 +4738,13 @@ declare function BlzGetUnitBaseDamage(whichUnit: junit, weaponIndex: number): nu
|
|
|
4684
4738
|
declare function BlzSetUnitBaseDamage(
|
|
4685
4739
|
whichUnit: junit,
|
|
4686
4740
|
baseDamage: number,
|
|
4687
|
-
weaponIndex: number
|
|
4741
|
+
weaponIndex: number,
|
|
4688
4742
|
): void
|
|
4689
4743
|
declare function BlzGetUnitDiceNumber(whichUnit: junit, weaponIndex: number): number
|
|
4690
4744
|
declare function BlzSetUnitDiceNumber(
|
|
4691
4745
|
whichUnit: junit,
|
|
4692
4746
|
diceNumber: number,
|
|
4693
|
-
weaponIndex: number
|
|
4747
|
+
weaponIndex: number,
|
|
4694
4748
|
): void
|
|
4695
4749
|
declare function BlzGetUnitDiceSides(whichUnit: junit, weaponIndex: number): number
|
|
4696
4750
|
declare function BlzSetUnitDiceSides(whichUnit: junit, diceSides: number, weaponIndex: number): void
|
|
@@ -4698,7 +4752,7 @@ declare function BlzGetUnitAttackCooldown(whichUnit: junit, weaponIndex: number)
|
|
|
4698
4752
|
declare function BlzSetUnitAttackCooldown(
|
|
4699
4753
|
whichUnit: junit,
|
|
4700
4754
|
cooldown: number,
|
|
4701
|
-
weaponIndex: number
|
|
4755
|
+
weaponIndex: number,
|
|
4702
4756
|
): void
|
|
4703
4757
|
declare function BlzGetHeroPrimaryStat(whichUnit: junit): number
|
|
4704
4758
|
declare function BlzSetHeroPrimaryStat(whichUnit: junit, value: number): void
|
|
@@ -4707,7 +4761,7 @@ declare function BlzSetSpecialEffectColor(
|
|
|
4707
4761
|
whichEffect: jeffect,
|
|
4708
4762
|
r: number,
|
|
4709
4763
|
g: number,
|
|
4710
|
-
b: number
|
|
4764
|
+
b: number,
|
|
4711
4765
|
): void
|
|
4712
4766
|
declare function BlzSetSpecialEffectAlpha(whichEffect: jeffect, alpha: number): void
|
|
4713
4767
|
declare function BlzSetSpecialEffectScale(whichEffect: jeffect, scale: number): void
|
|
@@ -4715,7 +4769,7 @@ declare function BlzSetSpecialEffectPosition(
|
|
|
4715
4769
|
whichEffect: jeffect,
|
|
4716
4770
|
x: number,
|
|
4717
4771
|
y: number,
|
|
4718
|
-
z: number
|
|
4772
|
+
z: number,
|
|
4719
4773
|
): void
|
|
4720
4774
|
declare function BlzSetSpecialEffectHeight(whichEffect: jeffect, height: number): void
|
|
4721
4775
|
declare function BlzSetSpecialEffectTimeScale(whichEffect: jeffect, timeScale: number): void
|
|
@@ -4724,7 +4778,7 @@ declare function BlzSetSpecialEffectOrientation(
|
|
|
4724
4778
|
whichEffect: jeffect,
|
|
4725
4779
|
yaw: number,
|
|
4726
4780
|
pitch: number,
|
|
4727
|
-
roll: number
|
|
4781
|
+
roll: number,
|
|
4728
4782
|
): void
|
|
4729
4783
|
declare function BlzSetSpecialEffectYaw(whichEffect: jeffect, yaw: number): void
|
|
4730
4784
|
declare function BlzSetSpecialEffectPitch(whichEffect: jeffect, pitch: number): void
|
|
@@ -4739,17 +4793,17 @@ declare function BlzGetLocalSpecialEffectZ(whichEffect: jeffect): number
|
|
|
4739
4793
|
declare function BlzSpecialEffectClearSubAnimations(whichEffect: jeffect): void
|
|
4740
4794
|
declare function BlzSpecialEffectRemoveSubAnimation(
|
|
4741
4795
|
whichEffect: jeffect,
|
|
4742
|
-
whichSubAnim: jsubanimtype
|
|
4796
|
+
whichSubAnim: jsubanimtype,
|
|
4743
4797
|
): void
|
|
4744
4798
|
declare function BlzSpecialEffectAddSubAnimation(
|
|
4745
4799
|
whichEffect: jeffect,
|
|
4746
|
-
whichSubAnim: jsubanimtype
|
|
4800
|
+
whichSubAnim: jsubanimtype,
|
|
4747
4801
|
): void
|
|
4748
4802
|
declare function BlzPlaySpecialEffect(whichEffect: jeffect, whichAnim: janimtype): void
|
|
4749
4803
|
declare function BlzPlaySpecialEffectWithTimeScale(
|
|
4750
4804
|
whichEffect: jeffect,
|
|
4751
4805
|
whichAnim: janimtype,
|
|
4752
|
-
timeScale: number
|
|
4806
|
+
timeScale: number,
|
|
4753
4807
|
): void
|
|
4754
4808
|
declare function BlzGetAnimName(whichAnim: janimtype): string
|
|
4755
4809
|
declare function BlzGetUnitArmor(whichUnit: junit): number
|
|
@@ -4759,7 +4813,7 @@ declare function BlzUnitDisableAbility(
|
|
|
4759
4813
|
whichUnit: junit,
|
|
4760
4814
|
abilId: number,
|
|
4761
4815
|
flag: boolean,
|
|
4762
|
-
hideUI: boolean
|
|
4816
|
+
hideUI: boolean,
|
|
4763
4817
|
): void
|
|
4764
4818
|
declare function BlzUnitCancelTimedLife(whichUnit: junit): void
|
|
4765
4819
|
declare function BlzIsUnitSelectable(whichUnit: junit): boolean
|
|
@@ -4772,7 +4826,7 @@ declare function BlzSetUnitAbilityCooldown(
|
|
|
4772
4826
|
whichUnit: junit,
|
|
4773
4827
|
abilId: number,
|
|
4774
4828
|
level: number,
|
|
4775
|
-
cooldown: number
|
|
4829
|
+
cooldown: number,
|
|
4776
4830
|
): void
|
|
4777
4831
|
declare function BlzGetUnitAbilityCooldown(whichUnit: junit, abilId: number, level: number): number
|
|
4778
4832
|
declare function BlzGetUnitAbilityCooldownRemaining(whichUnit: junit, abilId: number): number
|
|
@@ -4780,20 +4834,20 @@ declare function BlzEndUnitAbilityCooldown(whichUnit: junit, abilCode: number):
|
|
|
4780
4834
|
declare function BlzStartUnitAbilityCooldown(
|
|
4781
4835
|
whichUnit: junit,
|
|
4782
4836
|
abilCode: number,
|
|
4783
|
-
cooldown: number
|
|
4837
|
+
cooldown: number,
|
|
4784
4838
|
): void
|
|
4785
4839
|
declare function BlzGetUnitAbilityManaCost(whichUnit: junit, abilId: number, level: number): number
|
|
4786
4840
|
declare function BlzSetUnitAbilityManaCost(
|
|
4787
4841
|
whichUnit: junit,
|
|
4788
4842
|
abilId: number,
|
|
4789
4843
|
level: number,
|
|
4790
|
-
manaCost: number
|
|
4844
|
+
manaCost: number,
|
|
4791
4845
|
): void
|
|
4792
4846
|
declare function BlzGetLocalUnitZ(whichUnit: junit): number
|
|
4793
4847
|
declare function BlzDecPlayerTechResearched(
|
|
4794
4848
|
whichPlayer: jplayer,
|
|
4795
4849
|
techid: number,
|
|
4796
|
-
levels: number
|
|
4850
|
+
levels: number,
|
|
4797
4851
|
): void
|
|
4798
4852
|
declare function BlzSetEventDamage(damage: number): void
|
|
4799
4853
|
declare function BlzGetEventDamageTarget(): junit
|
|
@@ -4812,7 +4866,7 @@ declare function RequestExtraIntegerData(
|
|
|
4812
4866
|
param3: boolean,
|
|
4813
4867
|
param4: number,
|
|
4814
4868
|
param5: number,
|
|
4815
|
-
param6: number
|
|
4869
|
+
param6: number,
|
|
4816
4870
|
): number
|
|
4817
4871
|
declare function RequestExtraBooleanData(
|
|
4818
4872
|
dataType: number,
|
|
@@ -4822,7 +4876,7 @@ declare function RequestExtraBooleanData(
|
|
|
4822
4876
|
param3: boolean,
|
|
4823
4877
|
param4: number,
|
|
4824
4878
|
param5: number,
|
|
4825
|
-
param6: number
|
|
4879
|
+
param6: number,
|
|
4826
4880
|
): boolean
|
|
4827
4881
|
declare function RequestExtraStringData(
|
|
4828
4882
|
dataType: number,
|
|
@@ -4832,7 +4886,7 @@ declare function RequestExtraStringData(
|
|
|
4832
4886
|
param3: boolean,
|
|
4833
4887
|
param4: number,
|
|
4834
4888
|
param5: number,
|
|
4835
|
-
param6: number
|
|
4889
|
+
param6: number,
|
|
4836
4890
|
): string
|
|
4837
4891
|
declare function RequestExtraRealData(
|
|
4838
4892
|
dataType: number,
|
|
@@ -4842,7 +4896,7 @@ declare function RequestExtraRealData(
|
|
|
4842
4896
|
param3: boolean,
|
|
4843
4897
|
param4: number,
|
|
4844
4898
|
param5: number,
|
|
4845
|
-
param6: number
|
|
4899
|
+
param6: number,
|
|
4846
4900
|
): number
|
|
4847
4901
|
declare function BlzGetUnitZ(whichUnit: junit): number
|
|
4848
4902
|
declare function BlzEnableSelections(enableSelection: boolean, enableSelectionCircle: boolean): void
|
|
@@ -4854,7 +4908,7 @@ declare function BlzCameraSetupApplyForceDurationSmooth(
|
|
|
4854
4908
|
forcedDuration: number,
|
|
4855
4909
|
easeInDuration: number,
|
|
4856
4910
|
easeOutDuration: number,
|
|
4857
|
-
smoothFactor: number
|
|
4911
|
+
smoothFactor: number,
|
|
4858
4912
|
): void
|
|
4859
4913
|
declare function BlzEnableTargetIndicator(enable: boolean): void
|
|
4860
4914
|
declare function BlzIsTargetIndicatorEnabled(): boolean
|
|
@@ -4872,19 +4926,19 @@ declare function BlzCreateFrame(
|
|
|
4872
4926
|
name: string,
|
|
4873
4927
|
owner: jframehandle,
|
|
4874
4928
|
priority: number,
|
|
4875
|
-
createContext: number
|
|
4929
|
+
createContext: number,
|
|
4876
4930
|
): jframehandle
|
|
4877
4931
|
declare function BlzCreateSimpleFrame(
|
|
4878
4932
|
name: string,
|
|
4879
4933
|
owner: jframehandle,
|
|
4880
|
-
createContext: number
|
|
4934
|
+
createContext: number,
|
|
4881
4935
|
): jframehandle
|
|
4882
4936
|
declare function BlzCreateFrameByType(
|
|
4883
4937
|
typeName: string,
|
|
4884
4938
|
name: string,
|
|
4885
4939
|
owner: jframehandle,
|
|
4886
4940
|
inherits: string,
|
|
4887
|
-
createContext: number
|
|
4941
|
+
createContext: number,
|
|
4888
4942
|
): jframehandle
|
|
4889
4943
|
declare function BlzDestroyFrame(frame: jframehandle): void
|
|
4890
4944
|
declare function BlzFrameSetPoint(
|
|
@@ -4893,13 +4947,13 @@ declare function BlzFrameSetPoint(
|
|
|
4893
4947
|
relative: jframehandle,
|
|
4894
4948
|
relativePoint: jframepointtype,
|
|
4895
4949
|
x: number,
|
|
4896
|
-
y: number
|
|
4950
|
+
y: number,
|
|
4897
4951
|
): void
|
|
4898
4952
|
declare function BlzFrameSetAbsPoint(
|
|
4899
4953
|
frame: jframehandle,
|
|
4900
4954
|
point: jframepointtype,
|
|
4901
4955
|
x: number,
|
|
4902
|
-
y: number
|
|
4956
|
+
y: number,
|
|
4903
4957
|
): void
|
|
4904
4958
|
declare function BlzFrameClearAllPoints(frame: jframehandle): void
|
|
4905
4959
|
declare function BlzFrameSetAllPoints(frame: jframehandle, relative: jframehandle): void
|
|
@@ -4923,13 +4977,13 @@ declare function BlzFrameGetAlpha(frame: jframehandle): number
|
|
|
4923
4977
|
declare function BlzFrameSetSpriteAnimate(
|
|
4924
4978
|
frame: jframehandle,
|
|
4925
4979
|
primaryProp: number,
|
|
4926
|
-
flags: number
|
|
4980
|
+
flags: number,
|
|
4927
4981
|
): void
|
|
4928
4982
|
declare function BlzFrameSetTexture(
|
|
4929
4983
|
frame: jframehandle,
|
|
4930
4984
|
texFile: string,
|
|
4931
4985
|
flag: number,
|
|
4932
|
-
blend: boolean
|
|
4986
|
+
blend: boolean,
|
|
4933
4987
|
): void
|
|
4934
4988
|
declare function BlzFrameSetScale(frame: jframehandle, scale: number): void
|
|
4935
4989
|
declare function BlzFrameSetTooltip(frame: jframehandle, tooltip: jframehandle): void
|
|
@@ -4939,7 +4993,7 @@ declare function BlzFrameGetValue(frame: jframehandle): number
|
|
|
4939
4993
|
declare function BlzFrameSetMinMaxValue(
|
|
4940
4994
|
frame: jframehandle,
|
|
4941
4995
|
minValue: number,
|
|
4942
|
-
maxValue: number
|
|
4996
|
+
maxValue: number,
|
|
4943
4997
|
): void
|
|
4944
4998
|
declare function BlzFrameSetStepSize(frame: jframehandle, stepSize: number): void
|
|
4945
4999
|
declare function BlzFrameSetSize(frame: jframehandle, width: number, height: number): void
|
|
@@ -4955,17 +5009,17 @@ declare function BlzFrameSetFont(
|
|
|
4955
5009
|
frame: jframehandle,
|
|
4956
5010
|
fileName: string,
|
|
4957
5011
|
height: number,
|
|
4958
|
-
flags: number
|
|
5012
|
+
flags: number,
|
|
4959
5013
|
): void
|
|
4960
5014
|
declare function BlzFrameSetTextAlignment(
|
|
4961
5015
|
frame: jframehandle,
|
|
4962
5016
|
vert: jtextaligntype,
|
|
4963
|
-
horz: jtextaligntype
|
|
5017
|
+
horz: jtextaligntype,
|
|
4964
5018
|
): void
|
|
4965
5019
|
declare function BlzTriggerRegisterFrameEvent(
|
|
4966
5020
|
whichTrigger: jtrigger,
|
|
4967
5021
|
frame: jframehandle,
|
|
4968
|
-
eventId: jframeeventtype
|
|
5022
|
+
eventId: jframeeventtype,
|
|
4969
5023
|
): jevent
|
|
4970
5024
|
declare function BlzGetTriggerFrame(): jframehandle
|
|
4971
5025
|
declare function BlzGetTriggerFrameEvent(): jframeeventtype
|
|
@@ -4975,7 +5029,7 @@ declare function BlzTriggerRegisterPlayerSyncEvent(
|
|
|
4975
5029
|
whichTrigger: jtrigger,
|
|
4976
5030
|
whichPlayer: jplayer,
|
|
4977
5031
|
prefix: string,
|
|
4978
|
-
fromServer: boolean
|
|
5032
|
+
fromServer: boolean,
|
|
4979
5033
|
): jevent
|
|
4980
5034
|
declare function BlzSendSyncData(prefix: string, data: string): boolean
|
|
4981
5035
|
declare function BlzGetTriggerSyncPrefix(): string
|
|
@@ -4985,7 +5039,7 @@ declare function BlzTriggerRegisterPlayerKeyEvent(
|
|
|
4985
5039
|
whichPlayer: jplayer,
|
|
4986
5040
|
key: joskeytype,
|
|
4987
5041
|
metaKey: number,
|
|
4988
|
-
keyDown: boolean
|
|
5042
|
+
keyDown: boolean,
|
|
4989
5043
|
): jevent
|
|
4990
5044
|
declare function BlzGetTriggerPlayerKey(): joskeytype
|
|
4991
5045
|
declare function BlzGetTriggerPlayerMetaKey(): number
|
|
@@ -5003,7 +5057,7 @@ declare function BlzSetSpecialEffectMatrixScale(
|
|
|
5003
5057
|
whichEffect: jeffect,
|
|
5004
5058
|
x: number,
|
|
5005
5059
|
y: number,
|
|
5006
|
-
z: number
|
|
5060
|
+
z: number,
|
|
5007
5061
|
): void
|
|
5008
5062
|
declare function BlzResetSpecialEffectMatrix(whichEffect: jeffect): void
|
|
5009
5063
|
declare function BlzGetAbilityId(ability: jability): number
|
|
@@ -5012,7 +5066,7 @@ declare function BlzGetUnitAbilityByIndex(whichUnit: junit, index: number): jabi
|
|
|
5012
5066
|
declare function BlzDisplayChatMessage(
|
|
5013
5067
|
whichPlayer: jplayer,
|
|
5014
5068
|
recipient: number,
|
|
5015
|
-
message: string
|
|
5069
|
+
message: string,
|
|
5016
5070
|
): void
|
|
5017
5071
|
declare function BlzPauseUnitEx(whichUnit: junit, flag: boolean): void
|
|
5018
5072
|
declare function BlzSetUnitFacingEx(whichUnit: junit, facingAngle: number): void
|
|
@@ -5025,183 +5079,183 @@ declare function BlzBitAnd(x: number, y: number): number
|
|
|
5025
5079
|
declare function BlzBitXor(x: number, y: number): number
|
|
5026
5080
|
declare function BlzGetAbilityBooleanField(
|
|
5027
5081
|
whichAbility: jability,
|
|
5028
|
-
whichField: jabilitybooleanfield
|
|
5082
|
+
whichField: jabilitybooleanfield,
|
|
5029
5083
|
): boolean
|
|
5030
5084
|
declare function BlzGetAbilityIntegerField(
|
|
5031
5085
|
whichAbility: jability,
|
|
5032
|
-
whichField: jabilityintegerfield
|
|
5086
|
+
whichField: jabilityintegerfield,
|
|
5033
5087
|
): number
|
|
5034
5088
|
declare function BlzGetAbilityRealField(
|
|
5035
5089
|
whichAbility: jability,
|
|
5036
|
-
whichField: jabilityrealfield
|
|
5090
|
+
whichField: jabilityrealfield,
|
|
5037
5091
|
): number
|
|
5038
5092
|
declare function BlzGetAbilityStringField(
|
|
5039
5093
|
whichAbility: jability,
|
|
5040
|
-
whichField: jabilitystringfield
|
|
5094
|
+
whichField: jabilitystringfield,
|
|
5041
5095
|
): string
|
|
5042
5096
|
declare function BlzGetAbilityBooleanLevelField(
|
|
5043
5097
|
whichAbility: jability,
|
|
5044
5098
|
whichField: jabilitybooleanlevelfield,
|
|
5045
|
-
level: number
|
|
5099
|
+
level: number,
|
|
5046
5100
|
): boolean
|
|
5047
5101
|
declare function BlzGetAbilityIntegerLevelField(
|
|
5048
5102
|
whichAbility: jability,
|
|
5049
5103
|
whichField: jabilityintegerlevelfield,
|
|
5050
|
-
level: number
|
|
5104
|
+
level: number,
|
|
5051
5105
|
): number
|
|
5052
5106
|
declare function BlzGetAbilityRealLevelField(
|
|
5053
5107
|
whichAbility: jability,
|
|
5054
5108
|
whichField: jabilityreallevelfield,
|
|
5055
|
-
level: number
|
|
5109
|
+
level: number,
|
|
5056
5110
|
): number
|
|
5057
5111
|
declare function BlzGetAbilityStringLevelField(
|
|
5058
5112
|
whichAbility: jability,
|
|
5059
5113
|
whichField: jabilitystringlevelfield,
|
|
5060
|
-
level: number
|
|
5114
|
+
level: number,
|
|
5061
5115
|
): string
|
|
5062
5116
|
declare function BlzGetAbilityBooleanLevelArrayField(
|
|
5063
5117
|
whichAbility: jability,
|
|
5064
5118
|
whichField: jabilitybooleanlevelarrayfield,
|
|
5065
5119
|
level: number,
|
|
5066
|
-
index: number
|
|
5120
|
+
index: number,
|
|
5067
5121
|
): boolean
|
|
5068
5122
|
declare function BlzGetAbilityIntegerLevelArrayField(
|
|
5069
5123
|
whichAbility: jability,
|
|
5070
5124
|
whichField: jabilityintegerlevelarrayfield,
|
|
5071
5125
|
level: number,
|
|
5072
|
-
index: number
|
|
5126
|
+
index: number,
|
|
5073
5127
|
): number
|
|
5074
5128
|
declare function BlzGetAbilityRealLevelArrayField(
|
|
5075
5129
|
whichAbility: jability,
|
|
5076
5130
|
whichField: jabilityreallevelarrayfield,
|
|
5077
5131
|
level: number,
|
|
5078
|
-
index: number
|
|
5132
|
+
index: number,
|
|
5079
5133
|
): number
|
|
5080
5134
|
declare function BlzGetAbilityStringLevelArrayField(
|
|
5081
5135
|
whichAbility: jability,
|
|
5082
5136
|
whichField: jabilitystringlevelarrayfield,
|
|
5083
5137
|
level: number,
|
|
5084
|
-
index: number
|
|
5138
|
+
index: number,
|
|
5085
5139
|
): string
|
|
5086
5140
|
declare function BlzSetAbilityBooleanField(
|
|
5087
5141
|
whichAbility: jability,
|
|
5088
5142
|
whichField: jabilitybooleanfield,
|
|
5089
|
-
value: boolean
|
|
5143
|
+
value: boolean,
|
|
5090
5144
|
): boolean
|
|
5091
5145
|
declare function BlzSetAbilityIntegerField(
|
|
5092
5146
|
whichAbility: jability,
|
|
5093
5147
|
whichField: jabilityintegerfield,
|
|
5094
|
-
value: number
|
|
5148
|
+
value: number,
|
|
5095
5149
|
): boolean
|
|
5096
5150
|
declare function BlzSetAbilityRealField(
|
|
5097
5151
|
whichAbility: jability,
|
|
5098
5152
|
whichField: jabilityrealfield,
|
|
5099
|
-
value: number
|
|
5153
|
+
value: number,
|
|
5100
5154
|
): boolean
|
|
5101
5155
|
declare function BlzSetAbilityStringField(
|
|
5102
5156
|
whichAbility: jability,
|
|
5103
5157
|
whichField: jabilitystringfield,
|
|
5104
|
-
value: string
|
|
5158
|
+
value: string,
|
|
5105
5159
|
): boolean
|
|
5106
5160
|
declare function BlzSetAbilityBooleanLevelField(
|
|
5107
5161
|
whichAbility: jability,
|
|
5108
5162
|
whichField: jabilitybooleanlevelfield,
|
|
5109
5163
|
level: number,
|
|
5110
|
-
value: boolean
|
|
5164
|
+
value: boolean,
|
|
5111
5165
|
): boolean
|
|
5112
5166
|
declare function BlzSetAbilityIntegerLevelField(
|
|
5113
5167
|
whichAbility: jability,
|
|
5114
5168
|
whichField: jabilityintegerlevelfield,
|
|
5115
5169
|
level: number,
|
|
5116
|
-
value: number
|
|
5170
|
+
value: number,
|
|
5117
5171
|
): boolean
|
|
5118
5172
|
declare function BlzSetAbilityRealLevelField(
|
|
5119
5173
|
whichAbility: jability,
|
|
5120
5174
|
whichField: jabilityreallevelfield,
|
|
5121
5175
|
level: number,
|
|
5122
|
-
value: number
|
|
5176
|
+
value: number,
|
|
5123
5177
|
): boolean
|
|
5124
5178
|
declare function BlzSetAbilityStringLevelField(
|
|
5125
5179
|
whichAbility: jability,
|
|
5126
5180
|
whichField: jabilitystringlevelfield,
|
|
5127
5181
|
level: number,
|
|
5128
|
-
value: string
|
|
5182
|
+
value: string,
|
|
5129
5183
|
): boolean
|
|
5130
5184
|
declare function BlzSetAbilityBooleanLevelArrayField(
|
|
5131
5185
|
whichAbility: jability,
|
|
5132
5186
|
whichField: jabilitybooleanlevelarrayfield,
|
|
5133
5187
|
level: number,
|
|
5134
5188
|
index: number,
|
|
5135
|
-
value: boolean
|
|
5189
|
+
value: boolean,
|
|
5136
5190
|
): boolean
|
|
5137
5191
|
declare function BlzSetAbilityIntegerLevelArrayField(
|
|
5138
5192
|
whichAbility: jability,
|
|
5139
5193
|
whichField: jabilityintegerlevelarrayfield,
|
|
5140
5194
|
level: number,
|
|
5141
5195
|
index: number,
|
|
5142
|
-
value: number
|
|
5196
|
+
value: number,
|
|
5143
5197
|
): boolean
|
|
5144
5198
|
declare function BlzSetAbilityRealLevelArrayField(
|
|
5145
5199
|
whichAbility: jability,
|
|
5146
5200
|
whichField: jabilityreallevelarrayfield,
|
|
5147
5201
|
level: number,
|
|
5148
5202
|
index: number,
|
|
5149
|
-
value: number
|
|
5203
|
+
value: number,
|
|
5150
5204
|
): boolean
|
|
5151
5205
|
declare function BlzSetAbilityStringLevelArrayField(
|
|
5152
5206
|
whichAbility: jability,
|
|
5153
5207
|
whichField: jabilitystringlevelarrayfield,
|
|
5154
5208
|
level: number,
|
|
5155
5209
|
index: number,
|
|
5156
|
-
value: string
|
|
5210
|
+
value: string,
|
|
5157
5211
|
): boolean
|
|
5158
5212
|
declare function BlzAddAbilityBooleanLevelArrayField(
|
|
5159
5213
|
whichAbility: jability,
|
|
5160
5214
|
whichField: jabilitybooleanlevelarrayfield,
|
|
5161
5215
|
level: number,
|
|
5162
|
-
value: boolean
|
|
5216
|
+
value: boolean,
|
|
5163
5217
|
): boolean
|
|
5164
5218
|
declare function BlzAddAbilityIntegerLevelArrayField(
|
|
5165
5219
|
whichAbility: jability,
|
|
5166
5220
|
whichField: jabilityintegerlevelarrayfield,
|
|
5167
5221
|
level: number,
|
|
5168
|
-
value: number
|
|
5222
|
+
value: number,
|
|
5169
5223
|
): boolean
|
|
5170
5224
|
declare function BlzAddAbilityRealLevelArrayField(
|
|
5171
5225
|
whichAbility: jability,
|
|
5172
5226
|
whichField: jabilityreallevelarrayfield,
|
|
5173
5227
|
level: number,
|
|
5174
|
-
value: number
|
|
5228
|
+
value: number,
|
|
5175
5229
|
): boolean
|
|
5176
5230
|
declare function BlzAddAbilityStringLevelArrayField(
|
|
5177
5231
|
whichAbility: jability,
|
|
5178
5232
|
whichField: jabilitystringlevelarrayfield,
|
|
5179
5233
|
level: number,
|
|
5180
|
-
value: string
|
|
5234
|
+
value: string,
|
|
5181
5235
|
): boolean
|
|
5182
5236
|
declare function BlzRemoveAbilityBooleanLevelArrayField(
|
|
5183
5237
|
whichAbility: jability,
|
|
5184
5238
|
whichField: jabilitybooleanlevelarrayfield,
|
|
5185
5239
|
level: number,
|
|
5186
|
-
value: boolean
|
|
5240
|
+
value: boolean,
|
|
5187
5241
|
): boolean
|
|
5188
5242
|
declare function BlzRemoveAbilityIntegerLevelArrayField(
|
|
5189
5243
|
whichAbility: jability,
|
|
5190
5244
|
whichField: jabilityintegerlevelarrayfield,
|
|
5191
5245
|
level: number,
|
|
5192
|
-
value: number
|
|
5246
|
+
value: number,
|
|
5193
5247
|
): boolean
|
|
5194
5248
|
declare function BlzRemoveAbilityRealLevelArrayField(
|
|
5195
5249
|
whichAbility: jability,
|
|
5196
5250
|
whichField: jabilityreallevelarrayfield,
|
|
5197
5251
|
level: number,
|
|
5198
|
-
value: number
|
|
5252
|
+
value: number,
|
|
5199
5253
|
): boolean
|
|
5200
5254
|
declare function BlzRemoveAbilityStringLevelArrayField(
|
|
5201
5255
|
whichAbility: jability,
|
|
5202
5256
|
whichField: jabilitystringlevelarrayfield,
|
|
5203
5257
|
level: number,
|
|
5204
|
-
value: string
|
|
5258
|
+
value: string,
|
|
5205
5259
|
): boolean
|
|
5206
5260
|
declare function BlzGetItemAbilityByIndex(whichItem: jitem, index: number): jability | null
|
|
5207
5261
|
declare function BlzGetItemAbility(whichItem: jitem, abilCode: number): jability | null
|
|
@@ -5213,22 +5267,22 @@ declare function BlzGetItemStringField(whichItem: jitem, whichField: jitemstring
|
|
|
5213
5267
|
declare function BlzSetItemBooleanField(
|
|
5214
5268
|
whichItem: jitem,
|
|
5215
5269
|
whichField: jitembooleanfield,
|
|
5216
|
-
value: boolean
|
|
5270
|
+
value: boolean,
|
|
5217
5271
|
): boolean
|
|
5218
5272
|
declare function BlzSetItemIntegerField(
|
|
5219
5273
|
whichItem: jitem,
|
|
5220
5274
|
whichField: jitemintegerfield,
|
|
5221
|
-
value: number
|
|
5275
|
+
value: number,
|
|
5222
5276
|
): boolean
|
|
5223
5277
|
declare function BlzSetItemRealField(
|
|
5224
5278
|
whichItem: jitem,
|
|
5225
5279
|
whichField: jitemrealfield,
|
|
5226
|
-
value: number
|
|
5280
|
+
value: number,
|
|
5227
5281
|
): boolean
|
|
5228
5282
|
declare function BlzSetItemStringField(
|
|
5229
5283
|
whichItem: jitem,
|
|
5230
5284
|
whichField: jitemstringfield,
|
|
5231
|
-
value: string
|
|
5285
|
+
value: string,
|
|
5232
5286
|
): boolean
|
|
5233
5287
|
declare function BlzItemRemoveAbility(whichItem: jitem, abilCode: number): boolean
|
|
5234
5288
|
declare function BlzGetUnitBooleanField(whichUnit: junit, whichField: junitbooleanfield): boolean
|
|
@@ -5238,66 +5292,66 @@ declare function BlzGetUnitStringField(whichUnit: junit, whichField: junitstring
|
|
|
5238
5292
|
declare function BlzSetUnitBooleanField(
|
|
5239
5293
|
whichUnit: junit,
|
|
5240
5294
|
whichField: junitbooleanfield,
|
|
5241
|
-
value: boolean
|
|
5295
|
+
value: boolean,
|
|
5242
5296
|
): boolean
|
|
5243
5297
|
declare function BlzSetUnitIntegerField(
|
|
5244
5298
|
whichUnit: junit,
|
|
5245
5299
|
whichField: junitintegerfield,
|
|
5246
|
-
value: number
|
|
5300
|
+
value: number,
|
|
5247
5301
|
): boolean
|
|
5248
5302
|
declare function BlzSetUnitRealField(
|
|
5249
5303
|
whichUnit: junit,
|
|
5250
5304
|
whichField: junitrealfield,
|
|
5251
|
-
value: number
|
|
5305
|
+
value: number,
|
|
5252
5306
|
): boolean
|
|
5253
5307
|
declare function BlzSetUnitStringField(
|
|
5254
5308
|
whichUnit: junit,
|
|
5255
5309
|
whichField: junitstringfield,
|
|
5256
|
-
value: string
|
|
5310
|
+
value: string,
|
|
5257
5311
|
): boolean
|
|
5258
5312
|
declare function BlzGetUnitWeaponBooleanField(
|
|
5259
5313
|
whichUnit: junit,
|
|
5260
5314
|
whichField: junitweaponbooleanfield,
|
|
5261
|
-
index: number
|
|
5315
|
+
index: number,
|
|
5262
5316
|
): boolean
|
|
5263
5317
|
declare function BlzGetUnitWeaponIntegerField(
|
|
5264
5318
|
whichUnit: junit,
|
|
5265
5319
|
whichField: junitweaponintegerfield,
|
|
5266
|
-
index: number
|
|
5320
|
+
index: number,
|
|
5267
5321
|
): number
|
|
5268
5322
|
declare function BlzGetUnitWeaponRealField(
|
|
5269
5323
|
whichUnit: junit,
|
|
5270
5324
|
whichField: junitweaponrealfield,
|
|
5271
|
-
index: number
|
|
5325
|
+
index: number,
|
|
5272
5326
|
): number
|
|
5273
5327
|
declare function BlzGetUnitWeaponStringField(
|
|
5274
5328
|
whichUnit: junit,
|
|
5275
5329
|
whichField: junitweaponstringfield,
|
|
5276
|
-
index: number
|
|
5330
|
+
index: number,
|
|
5277
5331
|
): string
|
|
5278
5332
|
declare function BlzSetUnitWeaponBooleanField(
|
|
5279
5333
|
whichUnit: junit,
|
|
5280
5334
|
whichField: junitweaponbooleanfield,
|
|
5281
5335
|
index: number,
|
|
5282
|
-
value: boolean
|
|
5336
|
+
value: boolean,
|
|
5283
5337
|
): boolean
|
|
5284
5338
|
declare function BlzSetUnitWeaponIntegerField(
|
|
5285
5339
|
whichUnit: junit,
|
|
5286
5340
|
whichField: junitweaponintegerfield,
|
|
5287
5341
|
index: number,
|
|
5288
|
-
value: number
|
|
5342
|
+
value: number,
|
|
5289
5343
|
): boolean
|
|
5290
5344
|
declare function BlzSetUnitWeaponRealField(
|
|
5291
5345
|
whichUnit: junit,
|
|
5292
5346
|
whichField: junitweaponrealfield,
|
|
5293
5347
|
index: number,
|
|
5294
|
-
value: number
|
|
5348
|
+
value: number,
|
|
5295
5349
|
): boolean
|
|
5296
5350
|
declare function BlzSetUnitWeaponStringField(
|
|
5297
5351
|
whichUnit: junit,
|
|
5298
5352
|
whichField: junitweaponstringfield,
|
|
5299
5353
|
index: number,
|
|
5300
|
-
value: string
|
|
5354
|
+
value: string,
|
|
5301
5355
|
): boolean
|
|
5302
5356
|
declare function BlzGetUnitSkin(whichUnit: junit): number
|
|
5303
5357
|
declare function BlzGetItemSkin(whichItem: jitem): number
|
|
@@ -5310,7 +5364,7 @@ declare function BlzCreateUnitWithSkin(
|
|
|
5310
5364
|
x: number,
|
|
5311
5365
|
y: number,
|
|
5312
5366
|
face: number,
|
|
5313
|
-
skinId: number
|
|
5367
|
+
skinId: number,
|
|
5314
5368
|
): junit
|
|
5315
5369
|
declare function BlzCreateDestructableWithSkin(
|
|
5316
5370
|
objectid: number,
|
|
@@ -5319,7 +5373,7 @@ declare function BlzCreateDestructableWithSkin(
|
|
|
5319
5373
|
face: number,
|
|
5320
5374
|
scale: number,
|
|
5321
5375
|
variation: number,
|
|
5322
|
-
skinId: number
|
|
5376
|
+
skinId: number,
|
|
5323
5377
|
): jdestructable
|
|
5324
5378
|
declare function BlzCreateDestructableZWithSkin(
|
|
5325
5379
|
objectid: number,
|
|
@@ -5329,7 +5383,7 @@ declare function BlzCreateDestructableZWithSkin(
|
|
|
5329
5383
|
face: number,
|
|
5330
5384
|
scale: number,
|
|
5331
5385
|
variation: number,
|
|
5332
|
-
skinId: number
|
|
5386
|
+
skinId: number,
|
|
5333
5387
|
): jdestructable
|
|
5334
5388
|
declare function BlzCreateDeadDestructableWithSkin(
|
|
5335
5389
|
objectid: number,
|
|
@@ -5338,7 +5392,7 @@ declare function BlzCreateDeadDestructableWithSkin(
|
|
|
5338
5392
|
face: number,
|
|
5339
5393
|
scale: number,
|
|
5340
5394
|
variation: number,
|
|
5341
|
-
skinId: number
|
|
5395
|
+
skinId: number,
|
|
5342
5396
|
): jdestructable
|
|
5343
5397
|
declare function BlzCreateDeadDestructableZWithSkin(
|
|
5344
5398
|
objectid: number,
|
|
@@ -5348,7 +5402,7 @@ declare function BlzCreateDeadDestructableZWithSkin(
|
|
|
5348
5402
|
face: number,
|
|
5349
5403
|
scale: number,
|
|
5350
5404
|
variation: number,
|
|
5351
|
-
skinId: number
|
|
5405
|
+
skinId: number,
|
|
5352
5406
|
): jdestructable
|
|
5353
5407
|
declare function BlzGetPlayerTownHallCount(whichPlayer: jplayer): number
|
|
5354
5408
|
declare const bj_PI: number
|
|
@@ -5678,176 +5732,176 @@ declare const bj_ELEVATOR_WALL_TYPE_EAST: number
|
|
|
5678
5732
|
declare const bj_ELEVATOR_WALL_TYPE_NORTH: number
|
|
5679
5733
|
declare const bj_ELEVATOR_WALL_TYPE_SOUTH: number
|
|
5680
5734
|
declare const bj_ELEVATOR_WALL_TYPE_WEST: number
|
|
5681
|
-
declare
|
|
5682
|
-
declare
|
|
5683
|
-
declare
|
|
5684
|
-
declare
|
|
5685
|
-
declare
|
|
5686
|
-
declare
|
|
5687
|
-
declare
|
|
5688
|
-
declare
|
|
5689
|
-
declare
|
|
5690
|
-
declare
|
|
5691
|
-
declare
|
|
5692
|
-
declare
|
|
5693
|
-
declare
|
|
5694
|
-
declare
|
|
5695
|
-
declare
|
|
5696
|
-
declare
|
|
5697
|
-
declare
|
|
5698
|
-
declare
|
|
5699
|
-
declare
|
|
5700
|
-
declare
|
|
5701
|
-
declare
|
|
5702
|
-
declare
|
|
5703
|
-
declare
|
|
5704
|
-
declare
|
|
5705
|
-
declare
|
|
5706
|
-
declare
|
|
5707
|
-
declare
|
|
5708
|
-
declare
|
|
5709
|
-
declare
|
|
5710
|
-
declare
|
|
5711
|
-
declare
|
|
5712
|
-
declare
|
|
5713
|
-
declare
|
|
5714
|
-
declare
|
|
5715
|
-
declare
|
|
5716
|
-
declare
|
|
5717
|
-
declare
|
|
5718
|
-
declare
|
|
5719
|
-
declare
|
|
5720
|
-
declare
|
|
5721
|
-
declare
|
|
5722
|
-
declare
|
|
5723
|
-
declare
|
|
5724
|
-
declare
|
|
5725
|
-
declare
|
|
5726
|
-
declare
|
|
5727
|
-
declare
|
|
5728
|
-
declare
|
|
5729
|
-
declare
|
|
5730
|
-
declare
|
|
5731
|
-
declare
|
|
5732
|
-
declare
|
|
5733
|
-
declare
|
|
5734
|
-
declare
|
|
5735
|
-
declare
|
|
5736
|
-
declare
|
|
5737
|
-
declare
|
|
5738
|
-
declare
|
|
5739
|
-
declare
|
|
5740
|
-
declare
|
|
5741
|
-
declare
|
|
5742
|
-
declare
|
|
5743
|
-
declare
|
|
5744
|
-
declare
|
|
5745
|
-
declare
|
|
5746
|
-
declare
|
|
5747
|
-
declare
|
|
5748
|
-
declare
|
|
5749
|
-
declare
|
|
5750
|
-
declare
|
|
5751
|
-
declare
|
|
5752
|
-
declare
|
|
5753
|
-
declare
|
|
5754
|
-
declare
|
|
5755
|
-
declare
|
|
5756
|
-
declare
|
|
5757
|
-
declare
|
|
5758
|
-
declare
|
|
5759
|
-
declare
|
|
5760
|
-
declare
|
|
5761
|
-
declare
|
|
5762
|
-
declare
|
|
5763
|
-
declare
|
|
5764
|
-
declare
|
|
5765
|
-
declare
|
|
5766
|
-
declare
|
|
5767
|
-
declare
|
|
5768
|
-
declare
|
|
5769
|
-
declare
|
|
5770
|
-
declare
|
|
5771
|
-
declare
|
|
5772
|
-
declare
|
|
5773
|
-
declare
|
|
5774
|
-
declare
|
|
5775
|
-
declare
|
|
5776
|
-
declare
|
|
5777
|
-
declare
|
|
5778
|
-
declare
|
|
5779
|
-
declare
|
|
5780
|
-
declare
|
|
5781
|
-
declare
|
|
5782
|
-
declare
|
|
5783
|
-
declare
|
|
5784
|
-
declare
|
|
5785
|
-
declare
|
|
5786
|
-
declare
|
|
5787
|
-
declare
|
|
5788
|
-
declare
|
|
5789
|
-
declare
|
|
5790
|
-
declare
|
|
5791
|
-
declare
|
|
5792
|
-
declare
|
|
5793
|
-
declare
|
|
5794
|
-
declare
|
|
5795
|
-
declare
|
|
5796
|
-
declare
|
|
5797
|
-
declare
|
|
5798
|
-
declare
|
|
5799
|
-
declare
|
|
5800
|
-
declare
|
|
5801
|
-
declare
|
|
5802
|
-
declare
|
|
5803
|
-
declare
|
|
5804
|
-
declare
|
|
5805
|
-
declare
|
|
5806
|
-
declare
|
|
5807
|
-
declare
|
|
5808
|
-
declare
|
|
5809
|
-
declare
|
|
5810
|
-
declare
|
|
5811
|
-
declare
|
|
5812
|
-
declare
|
|
5813
|
-
declare
|
|
5814
|
-
declare
|
|
5815
|
-
declare
|
|
5816
|
-
declare
|
|
5817
|
-
declare
|
|
5818
|
-
declare
|
|
5819
|
-
declare
|
|
5820
|
-
declare
|
|
5821
|
-
declare
|
|
5822
|
-
declare
|
|
5823
|
-
declare
|
|
5824
|
-
declare
|
|
5825
|
-
declare
|
|
5826
|
-
declare
|
|
5827
|
-
declare
|
|
5828
|
-
declare
|
|
5829
|
-
declare
|
|
5830
|
-
declare
|
|
5831
|
-
declare
|
|
5832
|
-
declare
|
|
5833
|
-
declare
|
|
5834
|
-
declare
|
|
5835
|
-
declare
|
|
5836
|
-
declare
|
|
5837
|
-
declare
|
|
5838
|
-
declare
|
|
5839
|
-
declare
|
|
5840
|
-
declare
|
|
5841
|
-
declare
|
|
5842
|
-
declare
|
|
5843
|
-
declare
|
|
5844
|
-
declare
|
|
5845
|
-
declare
|
|
5846
|
-
declare
|
|
5847
|
-
declare
|
|
5848
|
-
declare
|
|
5849
|
-
declare
|
|
5850
|
-
declare
|
|
5735
|
+
declare let bj_FORCE_ALL_PLAYERS: jforce
|
|
5736
|
+
declare let bj_FORCE_PLAYER: jforce[]
|
|
5737
|
+
declare let bj_MELEE_MAX_TWINKED_HEROES: number
|
|
5738
|
+
declare let bj_mapInitialPlayableArea: jrect
|
|
5739
|
+
declare let bj_mapInitialCameraBounds: jrect
|
|
5740
|
+
declare let bj_forLoopAIndex: number
|
|
5741
|
+
declare let bj_forLoopBIndex: number
|
|
5742
|
+
declare let bj_forLoopAIndexEnd: number
|
|
5743
|
+
declare let bj_forLoopBIndexEnd: number
|
|
5744
|
+
declare let bj_slotControlReady: boolean
|
|
5745
|
+
declare let bj_slotControlUsed: boolean[]
|
|
5746
|
+
declare let bj_slotControl: jmapcontrol[]
|
|
5747
|
+
declare let bj_gameStartedTimer: jtimer
|
|
5748
|
+
declare let bj_gameStarted: boolean
|
|
5749
|
+
declare let bj_volumeGroupsTimer: jtimer
|
|
5750
|
+
declare let bj_isSinglePlayer: boolean
|
|
5751
|
+
declare let bj_dncSoundsDay: jtrigger
|
|
5752
|
+
declare let bj_dncSoundsNight: jtrigger
|
|
5753
|
+
declare let bj_dayAmbientSound: jsound
|
|
5754
|
+
declare let bj_nightAmbientSound: jsound
|
|
5755
|
+
declare let bj_dncSoundsDawn: jtrigger
|
|
5756
|
+
declare let bj_dncSoundsDusk: jtrigger
|
|
5757
|
+
declare let bj_dawnSound: jsound
|
|
5758
|
+
declare let bj_duskSound: jsound
|
|
5759
|
+
declare let bj_useDawnDuskSounds: boolean
|
|
5760
|
+
declare let bj_dncIsDaytime: boolean
|
|
5761
|
+
declare let bj_rescueSound: jsound
|
|
5762
|
+
declare let bj_questDiscoveredSound: jsound
|
|
5763
|
+
declare let bj_questUpdatedSound: jsound
|
|
5764
|
+
declare let bj_questCompletedSound: jsound
|
|
5765
|
+
declare let bj_questFailedSound: jsound
|
|
5766
|
+
declare let bj_questHintSound: jsound
|
|
5767
|
+
declare let bj_questSecretSound: jsound
|
|
5768
|
+
declare let bj_questItemAcquiredSound: jsound
|
|
5769
|
+
declare let bj_questWarningSound: jsound
|
|
5770
|
+
declare let bj_victoryDialogSound: jsound
|
|
5771
|
+
declare let bj_defeatDialogSound: jsound
|
|
5772
|
+
declare let bj_stockItemPurchased: jtrigger
|
|
5773
|
+
declare let bj_stockUpdateTimer: jtimer
|
|
5774
|
+
declare let bj_stockAllowedPermanent: boolean[]
|
|
5775
|
+
declare let bj_stockAllowedCharged: boolean[]
|
|
5776
|
+
declare let bj_stockAllowedArtifact: boolean[]
|
|
5777
|
+
declare let bj_stockPickedItemLevel: number
|
|
5778
|
+
declare let bj_stockPickedItemType: jitemtype
|
|
5779
|
+
declare let bj_meleeVisibilityTrained: jtrigger
|
|
5780
|
+
declare let bj_meleeVisibilityIsDay: boolean
|
|
5781
|
+
declare let bj_meleeGrantHeroItems: boolean
|
|
5782
|
+
declare let bj_meleeNearestMineToLoc: jlocation
|
|
5783
|
+
declare let bj_meleeNearestMine: junit
|
|
5784
|
+
declare let bj_meleeNearestMineDist: number
|
|
5785
|
+
declare let bj_meleeGameOver: boolean
|
|
5786
|
+
declare let bj_meleeDefeated: boolean[]
|
|
5787
|
+
declare let bj_meleeVictoried: boolean[]
|
|
5788
|
+
declare let bj_ghoul: junit[]
|
|
5789
|
+
declare let bj_crippledTimer: jtimer[]
|
|
5790
|
+
declare let bj_crippledTimerWindows: jtimerdialog[]
|
|
5791
|
+
declare let bj_playerIsCrippled: boolean[]
|
|
5792
|
+
declare let bj_playerIsExposed: boolean[]
|
|
5793
|
+
declare let bj_finishSoonAllExposed: boolean
|
|
5794
|
+
declare let bj_finishSoonTimerDialog: jtimerdialog
|
|
5795
|
+
declare let bj_meleeTwinkedHeroes: number[]
|
|
5796
|
+
declare let bj_rescueUnitBehavior: jtrigger
|
|
5797
|
+
declare let bj_rescueChangeColorUnit: boolean
|
|
5798
|
+
declare let bj_rescueChangeColorBldg: boolean
|
|
5799
|
+
declare let bj_cineSceneEndingTimer: jtimer
|
|
5800
|
+
declare let bj_cineSceneLastSound: jsound
|
|
5801
|
+
declare let bj_cineSceneBeingSkipped: jtrigger
|
|
5802
|
+
declare let bj_cineModePriorSpeed: jgamespeed
|
|
5803
|
+
declare let bj_cineModePriorFogSetting: boolean
|
|
5804
|
+
declare let bj_cineModePriorMaskSetting: boolean
|
|
5805
|
+
declare let bj_cineModeAlreadyIn: boolean
|
|
5806
|
+
declare let bj_cineModePriorDawnDusk: boolean
|
|
5807
|
+
declare let bj_cineModeSavedSeed: number
|
|
5808
|
+
declare let bj_cineFadeFinishTimer: jtimer
|
|
5809
|
+
declare let bj_cineFadeContinueTimer: jtimer
|
|
5810
|
+
declare let bj_cineFadeContinueRed: number
|
|
5811
|
+
declare let bj_cineFadeContinueGreen: number
|
|
5812
|
+
declare let bj_cineFadeContinueBlue: number
|
|
5813
|
+
declare let bj_cineFadeContinueTrans: number
|
|
5814
|
+
declare let bj_cineFadeContinueDuration: number
|
|
5815
|
+
declare let bj_cineFadeContinueTex: string
|
|
5816
|
+
declare let bj_queuedExecTotal: number
|
|
5817
|
+
declare let bj_queuedExecTriggers: jtrigger[]
|
|
5818
|
+
declare let bj_queuedExecUseConds: boolean[]
|
|
5819
|
+
declare let bj_queuedExecTimeoutTimer: jtimer
|
|
5820
|
+
declare let bj_queuedExecTimeout: jtrigger
|
|
5821
|
+
declare let bj_destInRegionDiesCount: number
|
|
5822
|
+
declare let bj_destInRegionDiesTrig: jtrigger
|
|
5823
|
+
declare let bj_groupCountUnits: number
|
|
5824
|
+
declare let bj_forceCountPlayers: number
|
|
5825
|
+
declare let bj_groupEnumTypeId: number
|
|
5826
|
+
declare let bj_groupEnumOwningPlayer: jplayer
|
|
5827
|
+
declare let bj_groupAddGroupDest: jgroup
|
|
5828
|
+
declare let bj_groupRemoveGroupDest: jgroup
|
|
5829
|
+
declare let bj_groupRandomConsidered: number
|
|
5830
|
+
declare let bj_groupRandomCurrentPick: junit
|
|
5831
|
+
declare let bj_groupLastCreatedDest: jgroup
|
|
5832
|
+
declare let bj_randomSubGroupGroup: jgroup
|
|
5833
|
+
declare let bj_randomSubGroupWant: number
|
|
5834
|
+
declare let bj_randomSubGroupTotal: number
|
|
5835
|
+
declare let bj_randomSubGroupChance: number
|
|
5836
|
+
declare let bj_destRandomConsidered: number
|
|
5837
|
+
declare let bj_destRandomCurrentPick: jdestructable
|
|
5838
|
+
declare let bj_elevatorWallBlocker: jdestructable
|
|
5839
|
+
declare let bj_elevatorNeighbor: jdestructable
|
|
5840
|
+
declare let bj_itemRandomConsidered: number
|
|
5841
|
+
declare let bj_itemRandomCurrentPick: jitem
|
|
5842
|
+
declare let bj_forceRandomConsidered: number
|
|
5843
|
+
declare let bj_forceRandomCurrentPick: jplayer
|
|
5844
|
+
declare let bj_makeUnitRescuableUnit: junit
|
|
5845
|
+
declare let bj_makeUnitRescuableFlag: boolean
|
|
5846
|
+
declare let bj_pauseAllUnitsFlag: boolean
|
|
5847
|
+
declare let bj_enumDestructableCenter: jlocation
|
|
5848
|
+
declare let bj_enumDestructableRadius: number
|
|
5849
|
+
declare let bj_setPlayerTargetColor: jplayercolor
|
|
5850
|
+
declare let bj_isUnitGroupDeadResult: boolean
|
|
5851
|
+
declare let bj_isUnitGroupEmptyResult: boolean
|
|
5852
|
+
declare let bj_isUnitGroupInRectResult: boolean
|
|
5853
|
+
declare let bj_isUnitGroupInRectRect: jrect
|
|
5854
|
+
declare let bj_changeLevelShowScores: boolean
|
|
5855
|
+
declare let bj_changeLevelMapName: string
|
|
5856
|
+
declare let bj_suspendDecayFleshGroup: jgroup
|
|
5857
|
+
declare let bj_suspendDecayBoneGroup: jgroup
|
|
5858
|
+
declare let bj_delayedSuspendDecayTimer: jtimer
|
|
5859
|
+
declare let bj_delayedSuspendDecayTrig: jtrigger
|
|
5860
|
+
declare let bj_livingPlayerUnitsTypeId: number
|
|
5861
|
+
declare let bj_lastDyingWidget: jwidget
|
|
5862
|
+
declare let bj_randDistCount: number
|
|
5863
|
+
declare let bj_randDistID: number[]
|
|
5864
|
+
declare let bj_randDistChance: number[]
|
|
5865
|
+
declare let bj_lastCreatedUnit: junit
|
|
5866
|
+
declare let bj_lastCreatedItem: jitem
|
|
5867
|
+
declare let bj_lastRemovedItem: jitem
|
|
5868
|
+
declare let bj_lastHauntedGoldMine: junit
|
|
5869
|
+
declare let bj_lastCreatedDestructable: jdestructable
|
|
5870
|
+
declare let bj_lastCreatedGroup: jgroup
|
|
5871
|
+
declare let bj_lastCreatedFogModifier: jfogmodifier
|
|
5872
|
+
declare let bj_lastCreatedEffect: jeffect
|
|
5873
|
+
declare let bj_lastCreatedWeatherEffect: jweathereffect
|
|
5874
|
+
declare let bj_lastCreatedTerrainDeformation: jterraindeformation
|
|
5875
|
+
declare let bj_lastCreatedQuest: jquest
|
|
5876
|
+
declare let bj_lastCreatedQuestItem: jquestitem
|
|
5877
|
+
declare let bj_lastCreatedDefeatCondition: jdefeatcondition
|
|
5878
|
+
declare let bj_lastStartedTimer: jtimer
|
|
5879
|
+
declare let bj_lastCreatedTimerDialog: jtimerdialog
|
|
5880
|
+
declare let bj_lastCreatedLeaderboard: jleaderboard
|
|
5881
|
+
declare let bj_lastCreatedMultiboard: jmultiboard
|
|
5882
|
+
declare let bj_lastPlayedSound: jsound
|
|
5883
|
+
declare let bj_lastPlayedMusic: string
|
|
5884
|
+
declare let bj_lastTransmissionDuration: number
|
|
5885
|
+
declare let bj_lastCreatedGameCache: jgamecache
|
|
5886
|
+
declare let bj_lastCreatedHashtable: jhashtable
|
|
5887
|
+
declare let bj_lastLoadedUnit: junit
|
|
5888
|
+
declare let bj_lastCreatedButton: jbutton
|
|
5889
|
+
declare let bj_lastReplacedUnit: junit
|
|
5890
|
+
declare let bj_lastCreatedTextTag: jtexttag
|
|
5891
|
+
declare let bj_lastCreatedLightning: jlightning
|
|
5892
|
+
declare let bj_lastCreatedImage: jimage
|
|
5893
|
+
declare let bj_lastCreatedUbersplat: jubersplat
|
|
5894
|
+
declare let bj_lastCreatedMinimapIcon: jminimapicon
|
|
5895
|
+
declare let bj_lastCreatedCommandButtonEffect: jcommandbuttoneffect
|
|
5896
|
+
declare let filterIssueHauntOrderAtLocBJ: jboolexpr
|
|
5897
|
+
declare let filterEnumDestructablesInCircleBJ: jboolexpr
|
|
5898
|
+
declare let filterGetUnitsInRectOfPlayer: jboolexpr
|
|
5899
|
+
declare let filterGetUnitsOfTypeIdAll: jboolexpr
|
|
5900
|
+
declare let filterGetUnitsOfPlayerAndTypeId: jboolexpr
|
|
5901
|
+
declare let filterMeleeTrainedUnitIsHeroBJ: jboolexpr
|
|
5902
|
+
declare let filterLivingPlayerUnitsOfTypeId: jboolexpr
|
|
5903
|
+
declare let bj_wantDestroyGroup: boolean
|
|
5904
|
+
declare let bj_lastInstObjFuncSuccessful: boolean
|
|
5851
5905
|
declare function BJDebugMsg(msg: string): void
|
|
5852
5906
|
declare function RMinBJ(a: number, b: number): number
|
|
5853
5907
|
declare function RMaxBJ(a: number, b: number): number
|
|
@@ -5920,7 +5974,7 @@ declare function CameraSetupApplyForPlayer(
|
|
|
5920
5974
|
doPan: boolean,
|
|
5921
5975
|
whichSetup: jcamerasetup,
|
|
5922
5976
|
whichPlayer: jplayer,
|
|
5923
|
-
duration: number
|
|
5977
|
+
duration: number,
|
|
5924
5978
|
): void
|
|
5925
5979
|
declare function CameraSetupApplyForPlayerSmooth(
|
|
5926
5980
|
doPan: boolean,
|
|
@@ -5929,21 +5983,21 @@ declare function CameraSetupApplyForPlayerSmooth(
|
|
|
5929
5983
|
forcedDuration: number,
|
|
5930
5984
|
easeInDuration: number,
|
|
5931
5985
|
easeOutDuration: number,
|
|
5932
|
-
smoothFactor: number
|
|
5986
|
+
smoothFactor: number,
|
|
5933
5987
|
): void
|
|
5934
5988
|
declare function CameraSetupGetFieldSwap(whichField: jcamerafield, whichSetup: jcamerasetup): number
|
|
5935
5989
|
declare function SetCameraFieldForPlayer(
|
|
5936
5990
|
whichPlayer: jplayer,
|
|
5937
5991
|
whichField: jcamerafield,
|
|
5938
5992
|
value: number,
|
|
5939
|
-
duration: number
|
|
5993
|
+
duration: number,
|
|
5940
5994
|
): void
|
|
5941
5995
|
declare function SetCameraTargetControllerNoZForPlayer(
|
|
5942
5996
|
whichPlayer: jplayer,
|
|
5943
5997
|
whichUnit: junit,
|
|
5944
5998
|
xoffset: number,
|
|
5945
5999
|
yoffset: number,
|
|
5946
|
-
inheritOrientation: boolean
|
|
6000
|
+
inheritOrientation: boolean,
|
|
5947
6001
|
): void
|
|
5948
6002
|
declare function SetCameraPositionForPlayer(whichPlayer: jplayer, x: number, y: number): void
|
|
5949
6003
|
declare function SetCameraPositionLocForPlayer(whichPlayer: jplayer, loc: jlocation): void
|
|
@@ -5951,7 +6005,7 @@ declare function RotateCameraAroundLocBJ(
|
|
|
5951
6005
|
degrees: number,
|
|
5952
6006
|
loc: jlocation,
|
|
5953
6007
|
whichPlayer: jplayer,
|
|
5954
|
-
duration: number
|
|
6008
|
+
duration: number,
|
|
5955
6009
|
): void
|
|
5956
6010
|
declare function PanCameraToForPlayer(whichPlayer: jplayer, x: number, y: number): void
|
|
5957
6011
|
declare function PanCameraToLocForPlayer(whichPlayer: jplayer, loc: jlocation): void
|
|
@@ -5959,18 +6013,18 @@ declare function PanCameraToTimedForPlayer(
|
|
|
5959
6013
|
whichPlayer: jplayer,
|
|
5960
6014
|
x: number,
|
|
5961
6015
|
y: number,
|
|
5962
|
-
duration: number
|
|
6016
|
+
duration: number,
|
|
5963
6017
|
): void
|
|
5964
6018
|
declare function PanCameraToTimedLocForPlayer(
|
|
5965
6019
|
whichPlayer: jplayer,
|
|
5966
6020
|
loc: jlocation,
|
|
5967
|
-
duration: number
|
|
6021
|
+
duration: number,
|
|
5968
6022
|
): void
|
|
5969
6023
|
declare function PanCameraToTimedLocWithZForPlayer(
|
|
5970
6024
|
whichPlayer: jplayer,
|
|
5971
6025
|
loc: jlocation,
|
|
5972
6026
|
zOffset: number,
|
|
5973
|
-
duration: number
|
|
6027
|
+
duration: number,
|
|
5974
6028
|
): void
|
|
5975
6029
|
declare function SmartCameraPanBJ(whichPlayer: jplayer, loc: jlocation, duration: number): void
|
|
5976
6030
|
declare function SetCinematicCameraForPlayer(whichPlayer: jplayer, cameraModelFile: string): void
|
|
@@ -5978,12 +6032,12 @@ declare function ResetToGameCameraForPlayer(whichPlayer: jplayer, duration: numb
|
|
|
5978
6032
|
declare function CameraSetSourceNoiseForPlayer(
|
|
5979
6033
|
whichPlayer: jplayer,
|
|
5980
6034
|
magnitude: number,
|
|
5981
|
-
velocity: number
|
|
6035
|
+
velocity: number,
|
|
5982
6036
|
): void
|
|
5983
6037
|
declare function CameraSetTargetNoiseForPlayer(
|
|
5984
6038
|
whichPlayer: jplayer,
|
|
5985
6039
|
magnitude: number,
|
|
5986
|
-
velocity: number
|
|
6040
|
+
velocity: number,
|
|
5987
6041
|
): void
|
|
5988
6042
|
declare function CameraSetEQNoiseForPlayer(whichPlayer: jplayer, magnitude: number): void
|
|
5989
6043
|
declare function CameraClearNoiseForPlayer(whichPlayer: jplayer): void
|
|
@@ -5998,7 +6052,7 @@ declare function AdjustCameraBoundsBJ(
|
|
|
5998
6052
|
dxWest: number,
|
|
5999
6053
|
dxEast: number,
|
|
6000
6054
|
dyNorth: number,
|
|
6001
|
-
dySouth: number
|
|
6055
|
+
dySouth: number,
|
|
6002
6056
|
): void
|
|
6003
6057
|
declare function AdjustCameraBoundsForPlayerBJ(
|
|
6004
6058
|
adjustMethod: number,
|
|
@@ -6006,7 +6060,7 @@ declare function AdjustCameraBoundsForPlayerBJ(
|
|
|
6006
6060
|
dxWest: number,
|
|
6007
6061
|
dxEast: number,
|
|
6008
6062
|
dyNorth: number,
|
|
6009
|
-
dySouth: number
|
|
6063
|
+
dySouth: number,
|
|
6010
6064
|
): void
|
|
6011
6065
|
declare function SetCameraQuickPositionForPlayer(whichPlayer: jplayer, x: number, y: number): void
|
|
6012
6066
|
declare function SetCameraQuickPositionLocForPlayer(whichPlayer: jplayer, loc: jlocation): void
|
|
@@ -6016,7 +6070,7 @@ declare function SetCameraOrientControllerForPlayerBJ(
|
|
|
6016
6070
|
whichPlayer: jplayer,
|
|
6017
6071
|
whichUnit: junit,
|
|
6018
6072
|
xoffset: number,
|
|
6019
|
-
yoffset: number
|
|
6073
|
+
yoffset: number,
|
|
6020
6074
|
): void
|
|
6021
6075
|
declare function CameraSetSmoothingFactorBJ(factor: number): void
|
|
6022
6076
|
declare function CameraResetSmoothingFactorBJ(): void
|
|
@@ -6032,40 +6086,40 @@ declare function TriggerRegisterTimerExpireEventBJ(trig: jtrigger, t: jtimer): j
|
|
|
6032
6086
|
declare function TriggerRegisterPlayerUnitEventSimple(
|
|
6033
6087
|
trig: jtrigger,
|
|
6034
6088
|
whichPlayer: jplayer,
|
|
6035
|
-
whichEvent: jplayerunitevent
|
|
6089
|
+
whichEvent: jplayerunitevent,
|
|
6036
6090
|
): jevent
|
|
6037
6091
|
declare function TriggerRegisterAnyUnitEventBJ(trig: jtrigger, whichEvent: jplayerunitevent): void
|
|
6038
6092
|
declare function TriggerRegisterPlayerSelectionEventBJ(
|
|
6039
6093
|
trig: jtrigger,
|
|
6040
6094
|
whichPlayer: jplayer,
|
|
6041
|
-
selected: boolean
|
|
6095
|
+
selected: boolean,
|
|
6042
6096
|
): jevent
|
|
6043
6097
|
declare function TriggerRegisterPlayerKeyEventBJ(
|
|
6044
6098
|
trig: jtrigger,
|
|
6045
6099
|
whichPlayer: jplayer,
|
|
6046
6100
|
keType: number,
|
|
6047
|
-
keKey: number
|
|
6101
|
+
keKey: number,
|
|
6048
6102
|
): jevent
|
|
6049
6103
|
declare function TriggerRegisterPlayerMouseEventBJ(
|
|
6050
6104
|
trig: jtrigger,
|
|
6051
6105
|
whichPlayer: jplayer,
|
|
6052
|
-
meType: number
|
|
6106
|
+
meType: number,
|
|
6053
6107
|
): jevent
|
|
6054
6108
|
declare function TriggerRegisterPlayerEventVictory(trig: jtrigger, whichPlayer: jplayer): jevent
|
|
6055
6109
|
declare function TriggerRegisterPlayerEventDefeat(trig: jtrigger, whichPlayer: jplayer): jevent
|
|
6056
6110
|
declare function TriggerRegisterPlayerEventLeave(trig: jtrigger, whichPlayer: jplayer): jevent
|
|
6057
6111
|
declare function TriggerRegisterPlayerEventAllianceChanged(
|
|
6058
6112
|
trig: jtrigger,
|
|
6059
|
-
whichPlayer: jplayer
|
|
6113
|
+
whichPlayer: jplayer,
|
|
6060
6114
|
): jevent
|
|
6061
6115
|
declare function TriggerRegisterPlayerEventEndCinematic(
|
|
6062
6116
|
trig: jtrigger,
|
|
6063
|
-
whichPlayer: jplayer
|
|
6117
|
+
whichPlayer: jplayer,
|
|
6064
6118
|
): jevent
|
|
6065
6119
|
declare function TriggerRegisterGameStateEventTimeOfDay(
|
|
6066
6120
|
trig: jtrigger,
|
|
6067
6121
|
opcode: jlimitop,
|
|
6068
|
-
limitval: number
|
|
6122
|
+
limitval: number,
|
|
6069
6123
|
): jevent
|
|
6070
6124
|
declare function TriggerRegisterEnterRegionSimple(trig: jtrigger, whichRegion: jregion): jevent
|
|
6071
6125
|
declare function TriggerRegisterLeaveRegionSimple(trig: jtrigger, whichRegion: jregion): jevent
|
|
@@ -6075,24 +6129,24 @@ declare function TriggerRegisterDistanceBetweenUnits(
|
|
|
6075
6129
|
trig: jtrigger,
|
|
6076
6130
|
whichUnit: junit,
|
|
6077
6131
|
condition: jboolexpr,
|
|
6078
|
-
range: number
|
|
6132
|
+
range: number,
|
|
6079
6133
|
): jevent
|
|
6080
6134
|
declare function TriggerRegisterUnitInRangeSimple(
|
|
6081
6135
|
trig: jtrigger,
|
|
6082
6136
|
range: number,
|
|
6083
|
-
whichUnit: junit
|
|
6137
|
+
whichUnit: junit,
|
|
6084
6138
|
): jevent
|
|
6085
6139
|
declare function TriggerRegisterUnitLifeEvent(
|
|
6086
6140
|
trig: jtrigger,
|
|
6087
6141
|
whichUnit: junit,
|
|
6088
6142
|
opcode: jlimitop,
|
|
6089
|
-
limitval: number
|
|
6143
|
+
limitval: number,
|
|
6090
6144
|
): jevent
|
|
6091
6145
|
declare function TriggerRegisterUnitManaEvent(
|
|
6092
6146
|
trig: jtrigger,
|
|
6093
6147
|
whichUnit: junit,
|
|
6094
6148
|
opcode: jlimitop,
|
|
6095
|
-
limitval: number
|
|
6149
|
+
limitval: number,
|
|
6096
6150
|
): jevent
|
|
6097
6151
|
declare function TriggerRegisterDialogEventBJ(trig: jtrigger, whichDialog: jdialog): jevent
|
|
6098
6152
|
declare function TriggerRegisterShowSkillEventBJ(trig: jtrigger): jevent
|
|
@@ -6113,7 +6167,7 @@ declare function TerrainDeformationCraterBJ(
|
|
|
6113
6167
|
permanent: boolean,
|
|
6114
6168
|
where: jlocation,
|
|
6115
6169
|
radius: number,
|
|
6116
|
-
depth: number
|
|
6170
|
+
depth: number,
|
|
6117
6171
|
): jterraindeformation
|
|
6118
6172
|
declare function TerrainDeformationRippleBJ(
|
|
6119
6173
|
duration: number,
|
|
@@ -6123,7 +6177,7 @@ declare function TerrainDeformationRippleBJ(
|
|
|
6123
6177
|
endRadius: number,
|
|
6124
6178
|
depth: number,
|
|
6125
6179
|
wavePeriod: number,
|
|
6126
|
-
waveWidth: number
|
|
6180
|
+
waveWidth: number,
|
|
6127
6181
|
): jterraindeformation
|
|
6128
6182
|
declare function TerrainDeformationWaveBJ(
|
|
6129
6183
|
duration: number,
|
|
@@ -6131,7 +6185,7 @@ declare function TerrainDeformationWaveBJ(
|
|
|
6131
6185
|
target: jlocation,
|
|
6132
6186
|
radius: number,
|
|
6133
6187
|
depth: number,
|
|
6134
|
-
trailDelay: number
|
|
6188
|
+
trailDelay: number,
|
|
6135
6189
|
): jterraindeformation
|
|
6136
6190
|
declare function TerrainDeformationRandomBJ(
|
|
6137
6191
|
duration: number,
|
|
@@ -6139,7 +6193,7 @@ declare function TerrainDeformationRandomBJ(
|
|
|
6139
6193
|
radius: number,
|
|
6140
6194
|
minDelta: number,
|
|
6141
6195
|
maxDelta: number,
|
|
6142
|
-
updateInterval: number
|
|
6196
|
+
updateInterval: number,
|
|
6143
6197
|
): jterraindeformation
|
|
6144
6198
|
declare function TerrainDeformationStopBJ(deformation: jterraindeformation, duration: number): void
|
|
6145
6199
|
declare function GetLastCreatedTerrainDeformation(): jterraindeformation
|
|
@@ -6148,7 +6202,7 @@ declare function DestroyLightningBJ(whichBolt: jlightning): boolean
|
|
|
6148
6202
|
declare function MoveLightningLoc(
|
|
6149
6203
|
whichBolt: jlightning,
|
|
6150
6204
|
where1: jlocation,
|
|
6151
|
-
where2: jlocation
|
|
6205
|
+
where2: jlocation,
|
|
6152
6206
|
): boolean
|
|
6153
6207
|
declare function GetLightningColorABJ(whichBolt: jlightning): number
|
|
6154
6208
|
declare function GetLightningColorRBJ(whichBolt: jlightning): number
|
|
@@ -6159,7 +6213,7 @@ declare function SetLightningColorBJ(
|
|
|
6159
6213
|
r: number,
|
|
6160
6214
|
g: number,
|
|
6161
6215
|
b: number,
|
|
6162
|
-
a: number
|
|
6216
|
+
a: number,
|
|
6163
6217
|
): boolean
|
|
6164
6218
|
declare function GetLastCreatedLightningBJ(): jlightning
|
|
6165
6219
|
declare function GetAbilityEffectBJ(abilcode: number, t: jeffecttype, index: number): string
|
|
@@ -6172,7 +6226,7 @@ declare function SetTerrainTypeBJ(
|
|
|
6172
6226
|
terrainType: number,
|
|
6173
6227
|
variation: number,
|
|
6174
6228
|
area: number,
|
|
6175
|
-
shape: number
|
|
6229
|
+
shape: number,
|
|
6176
6230
|
): void
|
|
6177
6231
|
declare function IsTerrainPathableBJ(where: jlocation, t: jpathingtype): boolean
|
|
6178
6232
|
declare function SetTerrainPathableBJ(where: jlocation, t: jpathingtype, flag: boolean): void
|
|
@@ -6180,33 +6234,33 @@ declare function SetWaterBaseColorBJ(
|
|
|
6180
6234
|
red: number,
|
|
6181
6235
|
green: number,
|
|
6182
6236
|
blue: number,
|
|
6183
|
-
transparency: number
|
|
6237
|
+
transparency: number,
|
|
6184
6238
|
): void
|
|
6185
6239
|
declare function CreateFogModifierRectSimple(
|
|
6186
6240
|
whichPlayer: jplayer,
|
|
6187
6241
|
whichFogState: jfogstate,
|
|
6188
6242
|
r: jrect,
|
|
6189
|
-
afterUnits: boolean
|
|
6243
|
+
afterUnits: boolean,
|
|
6190
6244
|
): jfogmodifier
|
|
6191
6245
|
declare function CreateFogModifierRadiusLocSimple(
|
|
6192
6246
|
whichPlayer: jplayer,
|
|
6193
6247
|
whichFogState: jfogstate,
|
|
6194
6248
|
center: jlocation,
|
|
6195
6249
|
radius: number,
|
|
6196
|
-
afterUnits: boolean
|
|
6250
|
+
afterUnits: boolean,
|
|
6197
6251
|
): jfogmodifier
|
|
6198
6252
|
declare function CreateFogModifierRectBJ(
|
|
6199
6253
|
enabled: boolean,
|
|
6200
6254
|
whichPlayer: jplayer,
|
|
6201
6255
|
whichFogState: jfogstate,
|
|
6202
|
-
r: jrect
|
|
6256
|
+
r: jrect,
|
|
6203
6257
|
): jfogmodifier
|
|
6204
6258
|
declare function CreateFogModifierRadiusLocBJ(
|
|
6205
6259
|
enabled: boolean,
|
|
6206
6260
|
whichPlayer: jplayer,
|
|
6207
6261
|
whichFogState: jfogstate,
|
|
6208
6262
|
center: jlocation,
|
|
6209
|
-
radius: number
|
|
6263
|
+
radius: number,
|
|
6210
6264
|
): jfogmodifier
|
|
6211
6265
|
declare function GetLastCreatedFogModifier(): jfogmodifier
|
|
6212
6266
|
declare function FogEnableOn(): void
|
|
@@ -6221,27 +6275,27 @@ declare function SetTerrainFogExBJ(
|
|
|
6221
6275
|
density: number,
|
|
6222
6276
|
red: number,
|
|
6223
6277
|
green: number,
|
|
6224
|
-
blue: number
|
|
6278
|
+
blue: number,
|
|
6225
6279
|
): void
|
|
6226
6280
|
declare function ResetTerrainFogBJ(): void
|
|
6227
6281
|
declare function SetDoodadAnimationBJ(
|
|
6228
6282
|
animName: string,
|
|
6229
6283
|
doodadID: number,
|
|
6230
6284
|
radius: number,
|
|
6231
|
-
center: jlocation
|
|
6285
|
+
center: jlocation,
|
|
6232
6286
|
): void
|
|
6233
6287
|
declare function SetDoodadAnimationRectBJ(animName: string, doodadID: number, r: jrect): void
|
|
6234
6288
|
declare function AddUnitAnimationPropertiesBJ(
|
|
6235
6289
|
add: boolean,
|
|
6236
6290
|
animProperties: string,
|
|
6237
|
-
whichUnit: junit
|
|
6291
|
+
whichUnit: junit,
|
|
6238
6292
|
): void
|
|
6239
6293
|
declare function CreateImageBJ(
|
|
6240
6294
|
file: string,
|
|
6241
6295
|
size: number,
|
|
6242
6296
|
where: jlocation,
|
|
6243
6297
|
zOffset: number,
|
|
6244
|
-
imageType: number
|
|
6298
|
+
imageType: number,
|
|
6245
6299
|
): jimage
|
|
6246
6300
|
declare function ShowImageBJ(flag: boolean, whichImage: jimage): void
|
|
6247
6301
|
declare function SetImagePositionBJ(whichImage: jimage, where: jlocation, zOffset: number): void
|
|
@@ -6250,7 +6304,7 @@ declare function SetImageColorBJ(
|
|
|
6250
6304
|
red: number,
|
|
6251
6305
|
green: number,
|
|
6252
6306
|
blue: number,
|
|
6253
|
-
alpha: number
|
|
6307
|
+
alpha: number,
|
|
6254
6308
|
): void
|
|
6255
6309
|
declare function GetLastCreatedImage(): jimage
|
|
6256
6310
|
declare function CreateUbersplatBJ(
|
|
@@ -6261,7 +6315,7 @@ declare function CreateUbersplatBJ(
|
|
|
6261
6315
|
blue: number,
|
|
6262
6316
|
alpha: number,
|
|
6263
6317
|
forcePaused: boolean,
|
|
6264
|
-
noBirthTime: boolean
|
|
6318
|
+
noBirthTime: boolean,
|
|
6265
6319
|
): jubersplat
|
|
6266
6320
|
declare function ShowUbersplatBJ(flag: boolean, whichSplat: jubersplat): void
|
|
6267
6321
|
declare function GetLastCreatedUbersplat(): jubersplat
|
|
@@ -6272,7 +6326,7 @@ declare function CreateMinimapIconOnUnitBJ(
|
|
|
6272
6326
|
green: number,
|
|
6273
6327
|
blue: number,
|
|
6274
6328
|
pingPath: string,
|
|
6275
|
-
fogVisibility: jfogstate
|
|
6329
|
+
fogVisibility: jfogstate,
|
|
6276
6330
|
): jminimapicon
|
|
6277
6331
|
declare function CreateMinimapIconAtLocBJ(
|
|
6278
6332
|
where: jlocation,
|
|
@@ -6280,7 +6334,7 @@ declare function CreateMinimapIconAtLocBJ(
|
|
|
6280
6334
|
green: number,
|
|
6281
6335
|
blue: number,
|
|
6282
6336
|
pingPath: string,
|
|
6283
|
-
fogVisibility: jfogstate
|
|
6337
|
+
fogVisibility: jfogstate,
|
|
6284
6338
|
): jminimapicon
|
|
6285
6339
|
declare function CreateMinimapIconBJ(
|
|
6286
6340
|
x: number,
|
|
@@ -6289,7 +6343,7 @@ declare function CreateMinimapIconBJ(
|
|
|
6289
6343
|
green: number,
|
|
6290
6344
|
blue: number,
|
|
6291
6345
|
pingPath: string,
|
|
6292
|
-
fogVisibility: jfogstate
|
|
6346
|
+
fogVisibility: jfogstate,
|
|
6293
6347
|
): jminimapicon
|
|
6294
6348
|
declare function CampaignMinimapIconUnitBJ(whichUnit: junit, style: number): void
|
|
6295
6349
|
declare function CampaignMinimapIconLocBJ(where: jlocation, style: number): void
|
|
@@ -6305,30 +6359,30 @@ declare function SetSoundConeAnglesBJ(
|
|
|
6305
6359
|
soundHandle: jsound,
|
|
6306
6360
|
inside: number,
|
|
6307
6361
|
outside: number,
|
|
6308
|
-
outsideVolumePercent: number
|
|
6362
|
+
outsideVolumePercent: number,
|
|
6309
6363
|
): void
|
|
6310
6364
|
declare function KillSoundWhenDoneBJ(soundHandle: jsound): void
|
|
6311
6365
|
declare function PlaySoundAtPointBJ(
|
|
6312
6366
|
soundHandle: jsound,
|
|
6313
6367
|
volumePercent: number,
|
|
6314
6368
|
loc: jlocation,
|
|
6315
|
-
z: number
|
|
6369
|
+
z: number,
|
|
6316
6370
|
): void
|
|
6317
6371
|
declare function PlaySoundOnUnitBJ(
|
|
6318
6372
|
soundHandle: jsound,
|
|
6319
6373
|
volumePercent: number,
|
|
6320
|
-
whichUnit: junit
|
|
6374
|
+
whichUnit: junit,
|
|
6321
6375
|
): void
|
|
6322
6376
|
declare function PlaySoundFromOffsetBJ(
|
|
6323
6377
|
soundHandle: jsound,
|
|
6324
6378
|
volumePercent: number,
|
|
6325
|
-
startingOffset: number
|
|
6379
|
+
startingOffset: number,
|
|
6326
6380
|
): void
|
|
6327
6381
|
declare function PlayMusicBJ(musicFileName: string): void
|
|
6328
6382
|
declare function PlayMusicExBJ(
|
|
6329
6383
|
musicFileName: string,
|
|
6330
6384
|
startingOffset: number,
|
|
6331
|
-
fadeInTime: number
|
|
6385
|
+
fadeInTime: number,
|
|
6332
6386
|
): void
|
|
6333
6387
|
declare function SetMusicOffsetBJ(newOffset: number): void
|
|
6334
6388
|
declare function PlayThematicMusicBJ(musicName: string): void
|
|
@@ -6359,7 +6413,7 @@ declare function StartSoundForPlayerBJ(whichPlayer: jplayer, soundHandle: jsound
|
|
|
6359
6413
|
declare function VolumeGroupSetVolumeForPlayerBJ(
|
|
6360
6414
|
whichPlayer: jplayer,
|
|
6361
6415
|
vgroup: jvolumegroup,
|
|
6362
|
-
scale: number
|
|
6416
|
+
scale: number,
|
|
6363
6417
|
): void
|
|
6364
6418
|
declare function EnableDawnDusk(flag: boolean): void
|
|
6365
6419
|
declare function IsDawnDuskEnabled(): boolean
|
|
@@ -6369,7 +6423,7 @@ declare function AddSpecialEffectLocBJ(where: jlocation, modelName: string): jef
|
|
|
6369
6423
|
declare function AddSpecialEffectTargetUnitBJ(
|
|
6370
6424
|
attachPointName: string,
|
|
6371
6425
|
targetWidget: jwidget,
|
|
6372
|
-
modelName: string
|
|
6426
|
+
modelName: string,
|
|
6373
6427
|
): jeffect
|
|
6374
6428
|
declare function DestroyEffectBJ(whichEffect: jeffect): void
|
|
6375
6429
|
declare function GetLastCreatedEffectBJ(): jeffect
|
|
@@ -6390,7 +6444,7 @@ declare function IncUnitAbilityLevelSwapped(abilcode: number, whichUnit: junit):
|
|
|
6390
6444
|
declare function SetUnitAbilityLevelSwapped(
|
|
6391
6445
|
abilcode: number,
|
|
6392
6446
|
whichUnit: junit,
|
|
6393
|
-
level: number
|
|
6447
|
+
level: number,
|
|
6394
6448
|
): number
|
|
6395
6449
|
declare function GetUnitAbilityLevelSwapped(abilcode: number, whichUnit: junit): number
|
|
6396
6450
|
declare function UnitHasBuffBJ(whichUnit: junit, buffcode: number): boolean
|
|
@@ -6419,18 +6473,18 @@ declare function ModifyHeroStat(
|
|
|
6419
6473
|
whichStat: number,
|
|
6420
6474
|
whichHero: junit,
|
|
6421
6475
|
modifyMethod: number,
|
|
6422
|
-
value: number
|
|
6476
|
+
value: number,
|
|
6423
6477
|
): void
|
|
6424
6478
|
declare function ModifyHeroSkillPoints(
|
|
6425
6479
|
whichHero: junit,
|
|
6426
6480
|
modifyMethod: number,
|
|
6427
|
-
value: number
|
|
6481
|
+
value: number,
|
|
6428
6482
|
): boolean
|
|
6429
6483
|
declare function UnitDropItemPointBJ(
|
|
6430
6484
|
whichUnit: junit,
|
|
6431
6485
|
whichItem: jitem,
|
|
6432
6486
|
x: number,
|
|
6433
|
-
y: number
|
|
6487
|
+
y: number,
|
|
6434
6488
|
): boolean
|
|
6435
6489
|
declare function UnitDropItemPointLoc(whichUnit: junit, whichItem: jitem, loc: jlocation): boolean
|
|
6436
6490
|
declare function UnitDropItemSlotBJ(whichUnit: junit, whichItem: jitem, slot: number): boolean
|
|
@@ -6438,7 +6492,7 @@ declare function UnitDropItemTargetBJ(whichUnit: junit, whichItem: jitem, target
|
|
|
6438
6492
|
declare function UnitUseItemDestructable(
|
|
6439
6493
|
whichUnit: junit,
|
|
6440
6494
|
whichItem: jitem,
|
|
6441
|
-
target: jwidget
|
|
6495
|
+
target: jwidget,
|
|
6442
6496
|
): boolean
|
|
6443
6497
|
declare function UnitUseItemPointLoc(whichUnit: junit, whichItem: jitem, loc: jlocation): boolean
|
|
6444
6498
|
declare function UnitItemInSlotBJ(whichUnit: junit, itemSlot: number): jitem
|
|
@@ -6474,7 +6528,7 @@ declare function CreateUnitAtLocSaveLast(
|
|
|
6474
6528
|
id: jplayer,
|
|
6475
6529
|
unitid: number,
|
|
6476
6530
|
loc: jlocation,
|
|
6477
|
-
face: number
|
|
6531
|
+
face: number,
|
|
6478
6532
|
): junit
|
|
6479
6533
|
declare function GetLastCreatedUnit(): junit
|
|
6480
6534
|
declare function CreateNUnitsAtLoc(
|
|
@@ -6482,14 +6536,14 @@ declare function CreateNUnitsAtLoc(
|
|
|
6482
6536
|
unitId: number,
|
|
6483
6537
|
whichPlayer: jplayer,
|
|
6484
6538
|
loc: jlocation,
|
|
6485
|
-
face: number
|
|
6539
|
+
face: number,
|
|
6486
6540
|
): jgroup
|
|
6487
6541
|
declare function CreateNUnitsAtLocFacingLocBJ(
|
|
6488
6542
|
count: number,
|
|
6489
6543
|
unitId: number,
|
|
6490
6544
|
whichPlayer: jplayer,
|
|
6491
6545
|
loc: jlocation,
|
|
6492
|
-
lookAt: jlocation
|
|
6546
|
+
lookAt: jlocation,
|
|
6493
6547
|
): jgroup
|
|
6494
6548
|
declare function GetLastCreatedGroupEnum(): void
|
|
6495
6549
|
declare function GetLastCreatedGroup(): jgroup
|
|
@@ -6505,13 +6559,13 @@ declare function CreatePermanentCorpseLocBJ(
|
|
|
6505
6559
|
unitid: number,
|
|
6506
6560
|
whichPlayer: jplayer,
|
|
6507
6561
|
loc: jlocation,
|
|
6508
|
-
facing: number
|
|
6562
|
+
facing: number,
|
|
6509
6563
|
): junit
|
|
6510
6564
|
declare function GetUnitStateSwap(whichState: junitstate, whichUnit: junit): number
|
|
6511
6565
|
declare function GetUnitStatePercent(
|
|
6512
6566
|
whichUnit: junit,
|
|
6513
6567
|
whichState: junitstate,
|
|
6514
|
-
whichMaxState: junitstate
|
|
6568
|
+
whichMaxState: junitstate,
|
|
6515
6569
|
): number
|
|
6516
6570
|
declare function GetUnitLifePercent(whichUnit: junit): number
|
|
6517
6571
|
declare function GetUnitManaPercent(whichUnit: junit): number
|
|
@@ -6577,14 +6631,14 @@ declare function UnitRemoveBuffsExBJ(
|
|
|
6577
6631
|
resist: number,
|
|
6578
6632
|
whichUnit: junit,
|
|
6579
6633
|
bTLife: boolean,
|
|
6580
|
-
bAura: boolean
|
|
6634
|
+
bAura: boolean,
|
|
6581
6635
|
): void
|
|
6582
6636
|
declare function UnitCountBuffsExBJ(
|
|
6583
6637
|
polarity: number,
|
|
6584
6638
|
resist: number,
|
|
6585
6639
|
whichUnit: junit,
|
|
6586
6640
|
bTLife: boolean,
|
|
6587
|
-
bAura: boolean
|
|
6641
|
+
bAura: boolean,
|
|
6588
6642
|
): number
|
|
6589
6643
|
declare function UnitRemoveAbilityBJ(abilityId: number, whichUnit: junit): boolean
|
|
6590
6644
|
declare function UnitAddAbilityBJ(abilityId: number, whichUnit: junit): boolean
|
|
@@ -6593,7 +6647,7 @@ declare function UnitAddTypeBJ(whichType: junittype, whichUnit: junit): boolean
|
|
|
6593
6647
|
declare function UnitMakeAbilityPermanentBJ(
|
|
6594
6648
|
permanent: boolean,
|
|
6595
6649
|
abilityId: number,
|
|
6596
|
-
whichUnit: junit
|
|
6650
|
+
whichUnit: junit,
|
|
6597
6651
|
): boolean
|
|
6598
6652
|
declare function SetUnitExplodedBJ(whichUnit: junit, exploded: boolean): void
|
|
6599
6653
|
declare function ExplodeUnitBJ(whichUnit: junit): void
|
|
@@ -6608,19 +6662,19 @@ declare function SetUnitPositionLocFacingBJ(whichUnit: junit, loc: jlocation, fa
|
|
|
6608
6662
|
declare function SetUnitPositionLocFacingLocBJ(
|
|
6609
6663
|
whichUnit: junit,
|
|
6610
6664
|
loc: jlocation,
|
|
6611
|
-
lookAt: jlocation
|
|
6665
|
+
lookAt: jlocation,
|
|
6612
6666
|
): void
|
|
6613
6667
|
declare function AddItemToStockBJ(
|
|
6614
6668
|
itemId: number,
|
|
6615
6669
|
whichUnit: junit,
|
|
6616
6670
|
currentStock: number,
|
|
6617
|
-
stockMax: number
|
|
6671
|
+
stockMax: number,
|
|
6618
6672
|
): void
|
|
6619
6673
|
declare function AddUnitToStockBJ(
|
|
6620
6674
|
unitId: number,
|
|
6621
6675
|
whichUnit: junit,
|
|
6622
6676
|
currentStock: number,
|
|
6623
|
-
stockMax: number
|
|
6677
|
+
stockMax: number,
|
|
6624
6678
|
): void
|
|
6625
6679
|
declare function RemoveItemFromStockBJ(itemId: number, whichUnit: junit): void
|
|
6626
6680
|
declare function RemoveUnitFromStockBJ(unitId: number, whichUnit: junit): void
|
|
@@ -6632,28 +6686,28 @@ declare function UnitDamagePointLoc(
|
|
|
6632
6686
|
loc: jlocation,
|
|
6633
6687
|
amount: number,
|
|
6634
6688
|
whichAttack: jattacktype,
|
|
6635
|
-
whichDamage: jdamagetype
|
|
6689
|
+
whichDamage: jdamagetype,
|
|
6636
6690
|
): boolean
|
|
6637
6691
|
declare function UnitDamageTargetBJ(
|
|
6638
6692
|
whichUnit: junit,
|
|
6639
6693
|
target: junit,
|
|
6640
6694
|
amount: number,
|
|
6641
6695
|
whichAttack: jattacktype,
|
|
6642
|
-
whichDamage: jdamagetype
|
|
6696
|
+
whichDamage: jdamagetype,
|
|
6643
6697
|
): boolean
|
|
6644
6698
|
declare function CreateDestructableLoc(
|
|
6645
6699
|
objectid: number,
|
|
6646
6700
|
loc: jlocation,
|
|
6647
6701
|
facing: number,
|
|
6648
6702
|
scale: number,
|
|
6649
|
-
variation: number
|
|
6703
|
+
variation: number,
|
|
6650
6704
|
): jdestructable
|
|
6651
6705
|
declare function CreateDeadDestructableLocBJ(
|
|
6652
6706
|
objectid: number,
|
|
6653
6707
|
loc: jlocation,
|
|
6654
6708
|
facing: number,
|
|
6655
6709
|
scale: number,
|
|
6656
|
-
variation: number
|
|
6710
|
+
variation: number,
|
|
6657
6711
|
): jdestructable
|
|
6658
6712
|
declare function GetLastCreatedDestructable(): jdestructable
|
|
6659
6713
|
declare function ShowDestructableBJ(flag: boolean, d: jdestructable): void
|
|
@@ -6670,7 +6724,7 @@ declare function RandomDestructableInRectSimpleBJ(r: jrect): jdestructable
|
|
|
6670
6724
|
declare function EnumDestructablesInCircleBJ(
|
|
6671
6725
|
radius: number,
|
|
6672
6726
|
loc: jlocation,
|
|
6673
|
-
actionFunc?: () => void
|
|
6727
|
+
actionFunc?: () => void,
|
|
6674
6728
|
): void
|
|
6675
6729
|
declare function SetDestructableLifePercentBJ(d: jdestructable, percent: number): void
|
|
6676
6730
|
declare function SetDestructableMaxLifeBJ(d: jdestructable, max: number): void
|
|
@@ -6687,7 +6741,7 @@ declare function ChangeElevatorWallBlocker(
|
|
|
6687
6741
|
x: number,
|
|
6688
6742
|
y: number,
|
|
6689
6743
|
facing: number,
|
|
6690
|
-
open: boolean
|
|
6744
|
+
open: boolean,
|
|
6691
6745
|
): void
|
|
6692
6746
|
declare function ChangeElevatorWalls(open: boolean, walls: number, d: jdestructable): void
|
|
6693
6747
|
declare function WaygateActivateBJ(activate: boolean, waygate: junit): void
|
|
@@ -6713,7 +6767,7 @@ declare function ForcePickRandomPlayer(whichForce: jforce): jplayer
|
|
|
6713
6767
|
declare function EnumUnitsSelected(
|
|
6714
6768
|
whichPlayer: jplayer,
|
|
6715
6769
|
enumFilter: jboolexpr,
|
|
6716
|
-
enumAction?: () => void
|
|
6770
|
+
enumAction?: () => void,
|
|
6717
6771
|
): void
|
|
6718
6772
|
declare function GetUnitsInRectMatching(r: jrect, filter: jboolexpr): jgroup
|
|
6719
6773
|
declare function GetUnitsInRectAll(r: jrect): jgroup
|
|
@@ -6722,7 +6776,7 @@ declare function GetUnitsInRectOfPlayer(r: jrect, whichPlayer: jplayer): jgroup
|
|
|
6722
6776
|
declare function GetUnitsInRangeOfLocMatching(
|
|
6723
6777
|
radius: number,
|
|
6724
6778
|
whichLocation: jlocation,
|
|
6725
|
-
filter: jboolexpr
|
|
6779
|
+
filter: jboolexpr,
|
|
6726
6780
|
): jgroup
|
|
6727
6781
|
declare function GetUnitsInRangeOfLocAll(radius: number, whichLocation: jlocation): jgroup
|
|
6728
6782
|
declare function GetUnitsOfTypeIdAllFilter(): boolean
|
|
@@ -6752,45 +6806,45 @@ declare function SetUnitScalePercent(
|
|
|
6752
6806
|
whichUnit: junit,
|
|
6753
6807
|
percentScaleX: number,
|
|
6754
6808
|
percentScaleY: number,
|
|
6755
|
-
percentScaleZ: number
|
|
6809
|
+
percentScaleZ: number,
|
|
6756
6810
|
): void
|
|
6757
6811
|
declare function SetUnitVertexColorBJ(
|
|
6758
6812
|
whichUnit: junit,
|
|
6759
6813
|
red: number,
|
|
6760
6814
|
green: number,
|
|
6761
6815
|
blue: number,
|
|
6762
|
-
transparency: number
|
|
6816
|
+
transparency: number,
|
|
6763
6817
|
): void
|
|
6764
6818
|
declare function UnitAddIndicatorBJ(
|
|
6765
6819
|
whichUnit: junit,
|
|
6766
6820
|
red: number,
|
|
6767
6821
|
green: number,
|
|
6768
6822
|
blue: number,
|
|
6769
|
-
transparency: number
|
|
6823
|
+
transparency: number,
|
|
6770
6824
|
): void
|
|
6771
6825
|
declare function DestructableAddIndicatorBJ(
|
|
6772
6826
|
whichDestructable: jdestructable,
|
|
6773
6827
|
red: number,
|
|
6774
6828
|
green: number,
|
|
6775
6829
|
blue: number,
|
|
6776
|
-
transparency: number
|
|
6830
|
+
transparency: number,
|
|
6777
6831
|
): void
|
|
6778
6832
|
declare function ItemAddIndicatorBJ(
|
|
6779
6833
|
whichItem: jitem,
|
|
6780
6834
|
red: number,
|
|
6781
6835
|
green: number,
|
|
6782
6836
|
blue: number,
|
|
6783
|
-
transparency: number
|
|
6837
|
+
transparency: number,
|
|
6784
6838
|
): void
|
|
6785
6839
|
declare function SetUnitFacingToFaceLocTimed(
|
|
6786
6840
|
whichUnit: junit,
|
|
6787
6841
|
target: jlocation,
|
|
6788
|
-
duration: number
|
|
6842
|
+
duration: number,
|
|
6789
6843
|
): void
|
|
6790
6844
|
declare function SetUnitFacingToFaceUnitTimed(
|
|
6791
6845
|
whichUnit: junit,
|
|
6792
6846
|
target: junit,
|
|
6793
|
-
duration: number
|
|
6847
|
+
duration: number,
|
|
6794
6848
|
): void
|
|
6795
6849
|
declare function QueueUnitAnimationBJ(whichUnit: junit, whichAnimation: string): void
|
|
6796
6850
|
declare function SetDestructableAnimationBJ(d: jdestructable, whichAnimation: string): void
|
|
@@ -6802,7 +6856,7 @@ declare function DialogAddButtonBJ(whichDialog: jdialog, buttonText: string): jb
|
|
|
6802
6856
|
declare function DialogAddButtonWithHotkeyBJ(
|
|
6803
6857
|
whichDialog: jdialog,
|
|
6804
6858
|
buttonText: string,
|
|
6805
|
-
hotkey: number
|
|
6859
|
+
hotkey: number,
|
|
6806
6860
|
): jbutton
|
|
6807
6861
|
declare function DialogClearBJ(whichDialog: jdialog): void
|
|
6808
6862
|
declare function GetLastCreatedButtonBJ(): jbutton
|
|
@@ -6812,37 +6866,37 @@ declare function SetPlayerAllianceBJ(
|
|
|
6812
6866
|
sourcePlayer: jplayer,
|
|
6813
6867
|
whichAllianceSetting: jalliancetype,
|
|
6814
6868
|
value: boolean,
|
|
6815
|
-
otherPlayer: jplayer
|
|
6869
|
+
otherPlayer: jplayer,
|
|
6816
6870
|
): void
|
|
6817
6871
|
declare function SetPlayerAllianceStateAllyBJ(
|
|
6818
6872
|
sourcePlayer: jplayer,
|
|
6819
6873
|
otherPlayer: jplayer,
|
|
6820
|
-
flag: boolean
|
|
6874
|
+
flag: boolean,
|
|
6821
6875
|
): void
|
|
6822
6876
|
declare function SetPlayerAllianceStateVisionBJ(
|
|
6823
6877
|
sourcePlayer: jplayer,
|
|
6824
6878
|
otherPlayer: jplayer,
|
|
6825
|
-
flag: boolean
|
|
6879
|
+
flag: boolean,
|
|
6826
6880
|
): void
|
|
6827
6881
|
declare function SetPlayerAllianceStateControlBJ(
|
|
6828
6882
|
sourcePlayer: jplayer,
|
|
6829
6883
|
otherPlayer: jplayer,
|
|
6830
|
-
flag: boolean
|
|
6884
|
+
flag: boolean,
|
|
6831
6885
|
): void
|
|
6832
6886
|
declare function SetPlayerAllianceStateFullControlBJ(
|
|
6833
6887
|
sourcePlayer: jplayer,
|
|
6834
6888
|
otherPlayer: jplayer,
|
|
6835
|
-
flag: boolean
|
|
6889
|
+
flag: boolean,
|
|
6836
6890
|
): void
|
|
6837
6891
|
declare function SetPlayerAllianceStateBJ(
|
|
6838
6892
|
sourcePlayer: jplayer,
|
|
6839
6893
|
otherPlayer: jplayer,
|
|
6840
|
-
allianceState: number
|
|
6894
|
+
allianceState: number,
|
|
6841
6895
|
): void
|
|
6842
6896
|
declare function SetForceAllianceStateBJ(
|
|
6843
6897
|
sourceForce: jforce,
|
|
6844
6898
|
targetForce: jforce,
|
|
6845
|
-
allianceState: number
|
|
6899
|
+
allianceState: number,
|
|
6846
6900
|
): void
|
|
6847
6901
|
declare function PlayersAreCoAllied(playerA: jplayer, playerB: jplayer): boolean
|
|
6848
6902
|
declare function ShareEverythingWithTeamAI(whichPlayer: jplayer): void
|
|
@@ -6859,7 +6913,7 @@ declare function GameOverDialogBJ(whichPlayer: jplayer, leftGame: boolean): void
|
|
|
6859
6913
|
declare function RemovePlayerPreserveUnitsBJ(
|
|
6860
6914
|
whichPlayer: jplayer,
|
|
6861
6915
|
gameResult: jplayergameresult,
|
|
6862
|
-
leftGame: boolean
|
|
6916
|
+
leftGame: boolean,
|
|
6863
6917
|
): void
|
|
6864
6918
|
declare function CustomVictoryOkBJ(): void
|
|
6865
6919
|
declare function CustomVictoryQuitBJ(): void
|
|
@@ -6868,7 +6922,7 @@ declare function CustomVictorySkipBJ(whichPlayer: jplayer): void
|
|
|
6868
6922
|
declare function CustomVictoryBJ(
|
|
6869
6923
|
whichPlayer: jplayer,
|
|
6870
6924
|
showDialog: boolean,
|
|
6871
|
-
showScores: boolean
|
|
6925
|
+
showScores: boolean,
|
|
6872
6926
|
): void
|
|
6873
6927
|
declare function CustomDefeatRestartBJ(): void
|
|
6874
6928
|
declare function CustomDefeatReduceDifficultyBJ(): void
|
|
@@ -6882,7 +6936,7 @@ declare function CreateQuestBJ(
|
|
|
6882
6936
|
questType: number,
|
|
6883
6937
|
title: string,
|
|
6884
6938
|
description: string,
|
|
6885
|
-
iconPath: string
|
|
6939
|
+
iconPath: string,
|
|
6886
6940
|
): jquest
|
|
6887
6941
|
declare function DestroyQuestBJ(whichQuest: jquest): void
|
|
6888
6942
|
declare function QuestSetEnabledBJ(enabled: boolean, whichQuest: jquest): void
|
|
@@ -6900,7 +6954,7 @@ declare function CreateDefeatConditionBJ(description: string): jdefeatcondition
|
|
|
6900
6954
|
declare function DestroyDefeatConditionBJ(whichCondition: jdefeatcondition): void
|
|
6901
6955
|
declare function DefeatConditionSetDescriptionBJ(
|
|
6902
6956
|
whichCondition: jdefeatcondition,
|
|
6903
|
-
description: string
|
|
6957
|
+
description: string,
|
|
6904
6958
|
): void
|
|
6905
6959
|
declare function GetLastCreatedDefeatConditionBJ(): jdefeatcondition
|
|
6906
6960
|
declare function FlashQuestDialogButtonBJ(): void
|
|
@@ -6918,20 +6972,20 @@ declare function TimerDialogSetTitleColorBJ(
|
|
|
6918
6972
|
red: number,
|
|
6919
6973
|
green: number,
|
|
6920
6974
|
blue: number,
|
|
6921
|
-
transparency: number
|
|
6975
|
+
transparency: number,
|
|
6922
6976
|
): void
|
|
6923
6977
|
declare function TimerDialogSetTimeColorBJ(
|
|
6924
6978
|
td: jtimerdialog,
|
|
6925
6979
|
red: number,
|
|
6926
6980
|
green: number,
|
|
6927
6981
|
blue: number,
|
|
6928
|
-
transparency: number
|
|
6982
|
+
transparency: number,
|
|
6929
6983
|
): void
|
|
6930
6984
|
declare function TimerDialogSetSpeedBJ(td: jtimerdialog, speedMultFactor: number): void
|
|
6931
6985
|
declare function TimerDialogDisplayForPlayerBJ(
|
|
6932
6986
|
show: boolean,
|
|
6933
6987
|
td: jtimerdialog,
|
|
6934
|
-
whichPlayer: jplayer
|
|
6988
|
+
whichPlayer: jplayer,
|
|
6935
6989
|
): void
|
|
6936
6990
|
declare function TimerDialogDisplayBJ(show: boolean, td: jtimerdialog): void
|
|
6937
6991
|
declare function GetLastCreatedTimerDialogBJ(): jtimerdialog
|
|
@@ -6939,19 +6993,19 @@ declare function LeaderboardResizeBJ(lb: jleaderboard): void
|
|
|
6939
6993
|
declare function LeaderboardSetPlayerItemValueBJ(
|
|
6940
6994
|
whichPlayer: jplayer,
|
|
6941
6995
|
lb: jleaderboard,
|
|
6942
|
-
val: number
|
|
6996
|
+
val: number,
|
|
6943
6997
|
): void
|
|
6944
6998
|
declare function LeaderboardSetPlayerItemLabelBJ(
|
|
6945
6999
|
whichPlayer: jplayer,
|
|
6946
7000
|
lb: jleaderboard,
|
|
6947
|
-
val: string
|
|
7001
|
+
val: string,
|
|
6948
7002
|
): void
|
|
6949
7003
|
declare function LeaderboardSetPlayerItemStyleBJ(
|
|
6950
7004
|
whichPlayer: jplayer,
|
|
6951
7005
|
lb: jleaderboard,
|
|
6952
7006
|
showLabel: boolean,
|
|
6953
7007
|
showValue: boolean,
|
|
6954
|
-
showIcon: boolean
|
|
7008
|
+
showIcon: boolean,
|
|
6955
7009
|
): void
|
|
6956
7010
|
declare function LeaderboardSetPlayerItemLabelColorBJ(
|
|
6957
7011
|
whichPlayer: jplayer,
|
|
@@ -6959,7 +7013,7 @@ declare function LeaderboardSetPlayerItemLabelColorBJ(
|
|
|
6959
7013
|
red: number,
|
|
6960
7014
|
green: number,
|
|
6961
7015
|
blue: number,
|
|
6962
|
-
transparency: number
|
|
7016
|
+
transparency: number,
|
|
6963
7017
|
): void
|
|
6964
7018
|
declare function LeaderboardSetPlayerItemValueColorBJ(
|
|
6965
7019
|
whichPlayer: jplayer,
|
|
@@ -6967,21 +7021,21 @@ declare function LeaderboardSetPlayerItemValueColorBJ(
|
|
|
6967
7021
|
red: number,
|
|
6968
7022
|
green: number,
|
|
6969
7023
|
blue: number,
|
|
6970
|
-
transparency: number
|
|
7024
|
+
transparency: number,
|
|
6971
7025
|
): void
|
|
6972
7026
|
declare function LeaderboardSetLabelColorBJ(
|
|
6973
7027
|
lb: jleaderboard,
|
|
6974
7028
|
red: number,
|
|
6975
7029
|
green: number,
|
|
6976
7030
|
blue: number,
|
|
6977
|
-
transparency: number
|
|
7031
|
+
transparency: number,
|
|
6978
7032
|
): void
|
|
6979
7033
|
declare function LeaderboardSetValueColorBJ(
|
|
6980
7034
|
lb: jleaderboard,
|
|
6981
7035
|
red: number,
|
|
6982
7036
|
green: number,
|
|
6983
7037
|
blue: number,
|
|
6984
|
-
transparency: number
|
|
7038
|
+
transparency: number,
|
|
6985
7039
|
): void
|
|
6986
7040
|
declare function LeaderboardSetLabelBJ(lb: jleaderboard, label: string): void
|
|
6987
7041
|
declare function LeaderboardSetStyleBJ(
|
|
@@ -6989,7 +7043,7 @@ declare function LeaderboardSetStyleBJ(
|
|
|
6989
7043
|
showLabel: boolean,
|
|
6990
7044
|
showNames: boolean,
|
|
6991
7045
|
showValues: boolean,
|
|
6992
|
-
showIcons: boolean
|
|
7046
|
+
showIcons: boolean,
|
|
6993
7047
|
): void
|
|
6994
7048
|
declare function LeaderboardGetItemCountBJ(lb: jleaderboard): number
|
|
6995
7049
|
declare function LeaderboardHasPlayerItemBJ(lb: jleaderboard, whichPlayer: jplayer): boolean
|
|
@@ -7001,13 +7055,13 @@ declare function LeaderboardAddItemBJ(
|
|
|
7001
7055
|
whichPlayer: jplayer,
|
|
7002
7056
|
lb: jleaderboard,
|
|
7003
7057
|
label: string,
|
|
7004
|
-
value: number
|
|
7058
|
+
value: number,
|
|
7005
7059
|
): void
|
|
7006
7060
|
declare function LeaderboardRemovePlayerItemBJ(whichPlayer: jplayer, lb: jleaderboard): void
|
|
7007
7061
|
declare function LeaderboardSortItemsBJ(
|
|
7008
7062
|
lb: jleaderboard,
|
|
7009
7063
|
sortType: number,
|
|
7010
|
-
ascending: boolean
|
|
7064
|
+
ascending: boolean,
|
|
7011
7065
|
): void
|
|
7012
7066
|
declare function LeaderboardSortItemsByPlayerBJ(lb: jleaderboard, ascending: boolean): void
|
|
7013
7067
|
declare function LeaderboardSortItemsByLabelBJ(lb: jleaderboard, ascending: boolean): void
|
|
@@ -7025,7 +7079,7 @@ declare function MultiboardSetTitleTextColorBJ(
|
|
|
7025
7079
|
red: number,
|
|
7026
7080
|
green: number,
|
|
7027
7081
|
blue: number,
|
|
7028
|
-
transparency: number
|
|
7082
|
+
transparency: number,
|
|
7029
7083
|
): void
|
|
7030
7084
|
declare function MultiboardAllowDisplayBJ(flag: boolean): void
|
|
7031
7085
|
declare function MultiboardSetItemStyleBJ(
|
|
@@ -7033,13 +7087,13 @@ declare function MultiboardSetItemStyleBJ(
|
|
|
7033
7087
|
col: number,
|
|
7034
7088
|
row: number,
|
|
7035
7089
|
showValue: boolean,
|
|
7036
|
-
showIcon: boolean
|
|
7090
|
+
showIcon: boolean,
|
|
7037
7091
|
): void
|
|
7038
7092
|
declare function MultiboardSetItemValueBJ(
|
|
7039
7093
|
mb: jmultiboard,
|
|
7040
7094
|
col: number,
|
|
7041
7095
|
row: number,
|
|
7042
|
-
val: string
|
|
7096
|
+
val: string,
|
|
7043
7097
|
): void
|
|
7044
7098
|
declare function MultiboardSetItemColorBJ(
|
|
7045
7099
|
mb: jmultiboard,
|
|
@@ -7048,19 +7102,19 @@ declare function MultiboardSetItemColorBJ(
|
|
|
7048
7102
|
red: number,
|
|
7049
7103
|
green: number,
|
|
7050
7104
|
blue: number,
|
|
7051
|
-
transparency: number
|
|
7105
|
+
transparency: number,
|
|
7052
7106
|
): void
|
|
7053
7107
|
declare function MultiboardSetItemWidthBJ(
|
|
7054
7108
|
mb: jmultiboard,
|
|
7055
7109
|
col: number,
|
|
7056
7110
|
row: number,
|
|
7057
|
-
width: number
|
|
7111
|
+
width: number,
|
|
7058
7112
|
): void
|
|
7059
7113
|
declare function MultiboardSetItemIconBJ(
|
|
7060
7114
|
mb: jmultiboard,
|
|
7061
7115
|
col: number,
|
|
7062
7116
|
row: number,
|
|
7063
|
-
iconFileName: string
|
|
7117
|
+
iconFileName: string,
|
|
7064
7118
|
): void
|
|
7065
7119
|
declare function TextTagSize2Height(size: number): number
|
|
7066
7120
|
declare function TextTagSpeed2Velocity(speed: number): number
|
|
@@ -7069,7 +7123,7 @@ declare function SetTextTagColorBJ(
|
|
|
7069
7123
|
red: number,
|
|
7070
7124
|
green: number,
|
|
7071
7125
|
blue: number,
|
|
7072
|
-
transparency: number
|
|
7126
|
+
transparency: number,
|
|
7073
7127
|
): void
|
|
7074
7128
|
declare function SetTextTagVelocityBJ(tt: jtexttag, speed: number, angle: number): void
|
|
7075
7129
|
declare function SetTextTagTextBJ(tt: jtexttag, s: string, size: number): void
|
|
@@ -7088,7 +7142,7 @@ declare function CreateTextTagLocBJ(
|
|
|
7088
7142
|
red: number,
|
|
7089
7143
|
green: number,
|
|
7090
7144
|
blue: number,
|
|
7091
|
-
transparency: number
|
|
7145
|
+
transparency: number,
|
|
7092
7146
|
): jtexttag
|
|
7093
7147
|
declare function CreateTextTagUnitBJ(
|
|
7094
7148
|
s: string,
|
|
@@ -7098,7 +7152,7 @@ declare function CreateTextTagUnitBJ(
|
|
|
7098
7152
|
red: number,
|
|
7099
7153
|
green: number,
|
|
7100
7154
|
blue: number,
|
|
7101
|
-
transparency: number
|
|
7155
|
+
transparency: number,
|
|
7102
7156
|
): jtexttag
|
|
7103
7157
|
declare function DestroyTextTagBJ(tt: jtexttag): void
|
|
7104
7158
|
declare function ShowTextTagForceBJ(show: boolean, tt: jtexttag, whichForce: jforce): void
|
|
@@ -7113,19 +7167,19 @@ declare function PingMinimapForForce(
|
|
|
7113
7167
|
whichForce: jforce,
|
|
7114
7168
|
x: number,
|
|
7115
7169
|
y: number,
|
|
7116
|
-
duration: number
|
|
7170
|
+
duration: number,
|
|
7117
7171
|
): void
|
|
7118
7172
|
declare function PingMinimapLocForForce(whichForce: jforce, loc: jlocation, duration: number): void
|
|
7119
7173
|
declare function PingMinimapForPlayer(
|
|
7120
7174
|
whichPlayer: jplayer,
|
|
7121
7175
|
x: number,
|
|
7122
7176
|
y: number,
|
|
7123
|
-
duration: number
|
|
7177
|
+
duration: number,
|
|
7124
7178
|
): void
|
|
7125
7179
|
declare function PingMinimapLocForPlayer(
|
|
7126
7180
|
whichPlayer: jplayer,
|
|
7127
7181
|
loc: jlocation,
|
|
7128
|
-
duration: number
|
|
7182
|
+
duration: number,
|
|
7129
7183
|
): void
|
|
7130
7184
|
declare function PingMinimapForForceEx(
|
|
7131
7185
|
whichForce: jforce,
|
|
@@ -7135,7 +7189,7 @@ declare function PingMinimapForForceEx(
|
|
|
7135
7189
|
style: number,
|
|
7136
7190
|
red: number,
|
|
7137
7191
|
green: number,
|
|
7138
|
-
blue: number
|
|
7192
|
+
blue: number,
|
|
7139
7193
|
): void
|
|
7140
7194
|
declare function PingMinimapLocForForceEx(
|
|
7141
7195
|
whichForce: jforce,
|
|
@@ -7144,7 +7198,7 @@ declare function PingMinimapLocForForceEx(
|
|
|
7144
7198
|
style: number,
|
|
7145
7199
|
red: number,
|
|
7146
7200
|
green: number,
|
|
7147
|
-
blue: number
|
|
7201
|
+
blue: number,
|
|
7148
7202
|
): void
|
|
7149
7203
|
declare function EnableWorldFogBoundaryBJ(enable: boolean, f: jforce): void
|
|
7150
7204
|
declare function EnableOcclusionBJ(enable: boolean, f: jforce): void
|
|
@@ -7157,17 +7211,17 @@ declare function SetCinematicSceneBJ(
|
|
|
7157
7211
|
speakerTitle: string,
|
|
7158
7212
|
text: string,
|
|
7159
7213
|
sceneDuration: number,
|
|
7160
|
-
voiceoverDuration: number
|
|
7214
|
+
voiceoverDuration: number,
|
|
7161
7215
|
): void
|
|
7162
7216
|
declare function GetTransmissionDuration(
|
|
7163
7217
|
soundHandle: jsound,
|
|
7164
7218
|
timeType: number,
|
|
7165
|
-
timeVal: number
|
|
7219
|
+
timeVal: number,
|
|
7166
7220
|
): number
|
|
7167
7221
|
declare function WaitTransmissionDuration(
|
|
7168
7222
|
soundHandle: jsound,
|
|
7169
7223
|
timeType: number,
|
|
7170
|
-
timeVal: number
|
|
7224
|
+
timeVal: number,
|
|
7171
7225
|
): void
|
|
7172
7226
|
declare function DoTransmissionBasicsXYBJ(
|
|
7173
7227
|
unitId: number,
|
|
@@ -7177,7 +7231,7 @@ declare function DoTransmissionBasicsXYBJ(
|
|
|
7177
7231
|
soundHandle: jsound,
|
|
7178
7232
|
unitName: string,
|
|
7179
7233
|
message: string,
|
|
7180
|
-
duration: number
|
|
7234
|
+
duration: number,
|
|
7181
7235
|
): void
|
|
7182
7236
|
declare function TransmissionFromUnitWithNameBJ(
|
|
7183
7237
|
toForce: jforce,
|
|
@@ -7187,7 +7241,7 @@ declare function TransmissionFromUnitWithNameBJ(
|
|
|
7187
7241
|
message: string,
|
|
7188
7242
|
timeType: number,
|
|
7189
7243
|
timeVal: number,
|
|
7190
|
-
wait: boolean
|
|
7244
|
+
wait: boolean,
|
|
7191
7245
|
): void
|
|
7192
7246
|
declare function PlayDialogueFromSpeakerEx(
|
|
7193
7247
|
toForce: jforce,
|
|
@@ -7196,7 +7250,7 @@ declare function PlayDialogueFromSpeakerEx(
|
|
|
7196
7250
|
soundHandle: jsound,
|
|
7197
7251
|
timeType: number,
|
|
7198
7252
|
timeVal: number,
|
|
7199
|
-
wait: boolean
|
|
7253
|
+
wait: boolean,
|
|
7200
7254
|
): boolean
|
|
7201
7255
|
declare function PlayDialogueFromSpeakerTypeEx(
|
|
7202
7256
|
toForce: jforce,
|
|
@@ -7206,7 +7260,7 @@ declare function PlayDialogueFromSpeakerTypeEx(
|
|
|
7206
7260
|
soundHandle: jsound,
|
|
7207
7261
|
timeType: number,
|
|
7208
7262
|
timeVal: number,
|
|
7209
|
-
wait: boolean
|
|
7263
|
+
wait: boolean,
|
|
7210
7264
|
): boolean
|
|
7211
7265
|
declare function TransmissionFromUnitTypeWithNameBJ(
|
|
7212
7266
|
toForce: jforce,
|
|
@@ -7218,14 +7272,14 @@ declare function TransmissionFromUnitTypeWithNameBJ(
|
|
|
7218
7272
|
message: string,
|
|
7219
7273
|
timeType: number,
|
|
7220
7274
|
timeVal: number,
|
|
7221
|
-
wait: boolean
|
|
7275
|
+
wait: boolean,
|
|
7222
7276
|
): void
|
|
7223
7277
|
declare function GetLastTransmissionDurationBJ(): number
|
|
7224
7278
|
declare function ForceCinematicSubtitlesBJ(flag: boolean): void
|
|
7225
7279
|
declare function CinematicModeExBJ(
|
|
7226
7280
|
cineMode: boolean,
|
|
7227
7281
|
forForce: jforce,
|
|
7228
|
-
interfaceFadeTime: number
|
|
7282
|
+
interfaceFadeTime: number,
|
|
7229
7283
|
): void
|
|
7230
7284
|
declare function CinematicModeBJ(cineMode: boolean, forForce: jforce): void
|
|
7231
7285
|
declare function DisplayCineFilterBJ(flag: boolean): void
|
|
@@ -7236,7 +7290,7 @@ declare function CinematicFadeCommonBJ(
|
|
|
7236
7290
|
duration: number,
|
|
7237
7291
|
tex: string,
|
|
7238
7292
|
startTrans: number,
|
|
7239
|
-
endTrans: number
|
|
7293
|
+
endTrans: number,
|
|
7240
7294
|
): void
|
|
7241
7295
|
declare function FinishCinematicFadeBJ(): void
|
|
7242
7296
|
declare function FinishCinematicFadeAfterBJ(duration: number): void
|
|
@@ -7247,7 +7301,7 @@ declare function ContinueCinematicFadeAfterBJ(
|
|
|
7247
7301
|
green: number,
|
|
7248
7302
|
blue: number,
|
|
7249
7303
|
trans: number,
|
|
7250
|
-
tex: string
|
|
7304
|
+
tex: string,
|
|
7251
7305
|
): void
|
|
7252
7306
|
declare function AbortCinematicFadeBJ(): void
|
|
7253
7307
|
declare function CinematicFadeBJ(
|
|
@@ -7257,7 +7311,7 @@ declare function CinematicFadeBJ(
|
|
|
7257
7311
|
red: number,
|
|
7258
7312
|
green: number,
|
|
7259
7313
|
blue: number,
|
|
7260
|
-
trans: number
|
|
7314
|
+
trans: number,
|
|
7261
7315
|
): void
|
|
7262
7316
|
declare function CinematicFilterGenericBJ(
|
|
7263
7317
|
duration: number,
|
|
@@ -7270,7 +7324,7 @@ declare function CinematicFilterGenericBJ(
|
|
|
7270
7324
|
red1: number,
|
|
7271
7325
|
green1: number,
|
|
7272
7326
|
blue1: number,
|
|
7273
|
-
trans1: number
|
|
7327
|
+
trans1: number,
|
|
7274
7328
|
): void
|
|
7275
7329
|
declare function RescueUnitBJ(whichUnit: junit, rescuer: jplayer, changeColor: boolean): void
|
|
7276
7330
|
declare function TriggerActionUnitRescuedBJ(): void
|
|
@@ -7281,18 +7335,18 @@ declare function MakeUnitRescuableToForceBJEnum(): void
|
|
|
7281
7335
|
declare function MakeUnitRescuableToForceBJ(
|
|
7282
7336
|
whichUnit: junit,
|
|
7283
7337
|
isRescuable: boolean,
|
|
7284
|
-
whichForce: jforce
|
|
7338
|
+
whichForce: jforce,
|
|
7285
7339
|
): void
|
|
7286
7340
|
declare function InitRescuableBehaviorBJ(): void
|
|
7287
7341
|
declare function SetPlayerTechResearchedSwap(
|
|
7288
7342
|
techid: number,
|
|
7289
7343
|
levels: number,
|
|
7290
|
-
whichPlayer: jplayer
|
|
7344
|
+
whichPlayer: jplayer,
|
|
7291
7345
|
): void
|
|
7292
7346
|
declare function SetPlayerTechMaxAllowedSwap(
|
|
7293
7347
|
techid: number,
|
|
7294
7348
|
maximum: number,
|
|
7295
|
-
whichPlayer: jplayer
|
|
7349
|
+
whichPlayer: jplayer,
|
|
7296
7350
|
): void
|
|
7297
7351
|
declare function SetPlayerMaxHeroesAllowed(maximum: number, whichPlayer: jplayer): void
|
|
7298
7352
|
declare function GetPlayerTechCountSimple(techid: number, whichPlayer: jplayer): number
|
|
@@ -7300,7 +7354,7 @@ declare function GetPlayerTechMaxAllowedSwap(techid: number, whichPlayer: jplaye
|
|
|
7300
7354
|
declare function SetPlayerAbilityAvailableBJ(
|
|
7301
7355
|
avail: boolean,
|
|
7302
7356
|
abilid: number,
|
|
7303
|
-
whichPlayer: jplayer
|
|
7357
|
+
whichPlayer: jplayer,
|
|
7304
7358
|
): void
|
|
7305
7359
|
declare function SetCampaignMenuRaceBJ(campaignNumber: number): void
|
|
7306
7360
|
declare function SetMissionAvailableBJ(available: boolean, missionIndex: number): void
|
|
@@ -7315,284 +7369,284 @@ declare function StoreRealBJ(
|
|
|
7315
7369
|
value: number,
|
|
7316
7370
|
key: string,
|
|
7317
7371
|
missionKey: string,
|
|
7318
|
-
cache: jgamecache
|
|
7372
|
+
cache: jgamecache,
|
|
7319
7373
|
): void
|
|
7320
7374
|
declare function StoreIntegerBJ(
|
|
7321
7375
|
value: number,
|
|
7322
7376
|
key: string,
|
|
7323
7377
|
missionKey: string,
|
|
7324
|
-
cache: jgamecache
|
|
7378
|
+
cache: jgamecache,
|
|
7325
7379
|
): void
|
|
7326
7380
|
declare function StoreBooleanBJ(
|
|
7327
7381
|
value: boolean,
|
|
7328
7382
|
key: string,
|
|
7329
7383
|
missionKey: string,
|
|
7330
|
-
cache: jgamecache
|
|
7384
|
+
cache: jgamecache,
|
|
7331
7385
|
): void
|
|
7332
7386
|
declare function StoreStringBJ(
|
|
7333
7387
|
value: string,
|
|
7334
7388
|
key: string,
|
|
7335
7389
|
missionKey: string,
|
|
7336
|
-
cache: jgamecache
|
|
7390
|
+
cache: jgamecache,
|
|
7337
7391
|
): boolean
|
|
7338
7392
|
declare function StoreUnitBJ(
|
|
7339
7393
|
whichUnit: junit,
|
|
7340
7394
|
key: string,
|
|
7341
7395
|
missionKey: string,
|
|
7342
|
-
cache: jgamecache
|
|
7396
|
+
cache: jgamecache,
|
|
7343
7397
|
): boolean
|
|
7344
7398
|
declare function SaveRealBJ(value: number, key: number, missionKey: number, table: jhashtable): void
|
|
7345
7399
|
declare function SaveIntegerBJ(
|
|
7346
7400
|
value: number,
|
|
7347
7401
|
key: number,
|
|
7348
7402
|
missionKey: number,
|
|
7349
|
-
table: jhashtable
|
|
7403
|
+
table: jhashtable,
|
|
7350
7404
|
): void
|
|
7351
7405
|
declare function SaveBooleanBJ(
|
|
7352
7406
|
value: boolean,
|
|
7353
7407
|
key: number,
|
|
7354
7408
|
missionKey: number,
|
|
7355
|
-
table: jhashtable
|
|
7409
|
+
table: jhashtable,
|
|
7356
7410
|
): void
|
|
7357
7411
|
declare function SaveStringBJ(
|
|
7358
7412
|
value: string,
|
|
7359
7413
|
key: number,
|
|
7360
7414
|
missionKey: number,
|
|
7361
|
-
table: jhashtable
|
|
7415
|
+
table: jhashtable,
|
|
7362
7416
|
): boolean
|
|
7363
7417
|
declare function SavePlayerHandleBJ(
|
|
7364
7418
|
whichPlayer: jplayer,
|
|
7365
7419
|
key: number,
|
|
7366
7420
|
missionKey: number,
|
|
7367
|
-
table: jhashtable
|
|
7421
|
+
table: jhashtable,
|
|
7368
7422
|
): boolean
|
|
7369
7423
|
declare function SaveWidgetHandleBJ(
|
|
7370
7424
|
whichWidget: jwidget,
|
|
7371
7425
|
key: number,
|
|
7372
7426
|
missionKey: number,
|
|
7373
|
-
table: jhashtable
|
|
7427
|
+
table: jhashtable,
|
|
7374
7428
|
): boolean
|
|
7375
7429
|
declare function SaveDestructableHandleBJ(
|
|
7376
7430
|
whichDestructable: jdestructable,
|
|
7377
7431
|
key: number,
|
|
7378
7432
|
missionKey: number,
|
|
7379
|
-
table: jhashtable
|
|
7433
|
+
table: jhashtable,
|
|
7380
7434
|
): boolean
|
|
7381
7435
|
declare function SaveItemHandleBJ(
|
|
7382
7436
|
whichItem: jitem,
|
|
7383
7437
|
key: number,
|
|
7384
7438
|
missionKey: number,
|
|
7385
|
-
table: jhashtable
|
|
7439
|
+
table: jhashtable,
|
|
7386
7440
|
): boolean
|
|
7387
7441
|
declare function SaveUnitHandleBJ(
|
|
7388
7442
|
whichUnit: junit,
|
|
7389
7443
|
key: number,
|
|
7390
7444
|
missionKey: number,
|
|
7391
|
-
table: jhashtable
|
|
7445
|
+
table: jhashtable,
|
|
7392
7446
|
): boolean
|
|
7393
7447
|
declare function SaveAbilityHandleBJ(
|
|
7394
7448
|
whichAbility: jability,
|
|
7395
7449
|
key: number,
|
|
7396
7450
|
missionKey: number,
|
|
7397
|
-
table: jhashtable
|
|
7451
|
+
table: jhashtable,
|
|
7398
7452
|
): boolean
|
|
7399
7453
|
declare function SaveTimerHandleBJ(
|
|
7400
7454
|
whichTimer: jtimer,
|
|
7401
7455
|
key: number,
|
|
7402
7456
|
missionKey: number,
|
|
7403
|
-
table: jhashtable
|
|
7457
|
+
table: jhashtable,
|
|
7404
7458
|
): boolean
|
|
7405
7459
|
declare function SaveTriggerHandleBJ(
|
|
7406
7460
|
whichTrigger: jtrigger,
|
|
7407
7461
|
key: number,
|
|
7408
7462
|
missionKey: number,
|
|
7409
|
-
table: jhashtable
|
|
7463
|
+
table: jhashtable,
|
|
7410
7464
|
): boolean
|
|
7411
7465
|
declare function SaveTriggerConditionHandleBJ(
|
|
7412
7466
|
whichTriggercondition: jtriggercondition,
|
|
7413
7467
|
key: number,
|
|
7414
7468
|
missionKey: number,
|
|
7415
|
-
table: jhashtable
|
|
7469
|
+
table: jhashtable,
|
|
7416
7470
|
): boolean
|
|
7417
7471
|
declare function SaveTriggerActionHandleBJ(
|
|
7418
7472
|
whichTriggeraction: jtriggeraction,
|
|
7419
7473
|
key: number,
|
|
7420
7474
|
missionKey: number,
|
|
7421
|
-
table: jhashtable
|
|
7475
|
+
table: jhashtable,
|
|
7422
7476
|
): boolean
|
|
7423
7477
|
declare function SaveTriggerEventHandleBJ(
|
|
7424
7478
|
whichEvent: jevent,
|
|
7425
7479
|
key: number,
|
|
7426
7480
|
missionKey: number,
|
|
7427
|
-
table: jhashtable
|
|
7481
|
+
table: jhashtable,
|
|
7428
7482
|
): boolean
|
|
7429
7483
|
declare function SaveForceHandleBJ(
|
|
7430
7484
|
whichForce: jforce,
|
|
7431
7485
|
key: number,
|
|
7432
7486
|
missionKey: number,
|
|
7433
|
-
table: jhashtable
|
|
7487
|
+
table: jhashtable,
|
|
7434
7488
|
): boolean
|
|
7435
7489
|
declare function SaveGroupHandleBJ(
|
|
7436
7490
|
whichGroup: jgroup,
|
|
7437
7491
|
key: number,
|
|
7438
7492
|
missionKey: number,
|
|
7439
|
-
table: jhashtable
|
|
7493
|
+
table: jhashtable,
|
|
7440
7494
|
): boolean
|
|
7441
7495
|
declare function SaveLocationHandleBJ(
|
|
7442
7496
|
whichLocation: jlocation,
|
|
7443
7497
|
key: number,
|
|
7444
7498
|
missionKey: number,
|
|
7445
|
-
table: jhashtable
|
|
7499
|
+
table: jhashtable,
|
|
7446
7500
|
): boolean
|
|
7447
7501
|
declare function SaveRectHandleBJ(
|
|
7448
7502
|
whichRect: jrect,
|
|
7449
7503
|
key: number,
|
|
7450
7504
|
missionKey: number,
|
|
7451
|
-
table: jhashtable
|
|
7505
|
+
table: jhashtable,
|
|
7452
7506
|
): boolean
|
|
7453
7507
|
declare function SaveBooleanExprHandleBJ(
|
|
7454
7508
|
whichBoolexpr: jboolexpr,
|
|
7455
7509
|
key: number,
|
|
7456
7510
|
missionKey: number,
|
|
7457
|
-
table: jhashtable
|
|
7511
|
+
table: jhashtable,
|
|
7458
7512
|
): boolean
|
|
7459
7513
|
declare function SaveSoundHandleBJ(
|
|
7460
7514
|
whichSound: jsound,
|
|
7461
7515
|
key: number,
|
|
7462
7516
|
missionKey: number,
|
|
7463
|
-
table: jhashtable
|
|
7517
|
+
table: jhashtable,
|
|
7464
7518
|
): boolean
|
|
7465
7519
|
declare function SaveEffectHandleBJ(
|
|
7466
7520
|
whichEffect: jeffect,
|
|
7467
7521
|
key: number,
|
|
7468
7522
|
missionKey: number,
|
|
7469
|
-
table: jhashtable
|
|
7523
|
+
table: jhashtable,
|
|
7470
7524
|
): boolean
|
|
7471
7525
|
declare function SaveUnitPoolHandleBJ(
|
|
7472
7526
|
whichUnitpool: junitpool,
|
|
7473
7527
|
key: number,
|
|
7474
7528
|
missionKey: number,
|
|
7475
|
-
table: jhashtable
|
|
7529
|
+
table: jhashtable,
|
|
7476
7530
|
): boolean
|
|
7477
7531
|
declare function SaveItemPoolHandleBJ(
|
|
7478
7532
|
whichItempool: jitempool,
|
|
7479
7533
|
key: number,
|
|
7480
7534
|
missionKey: number,
|
|
7481
|
-
table: jhashtable
|
|
7535
|
+
table: jhashtable,
|
|
7482
7536
|
): boolean
|
|
7483
7537
|
declare function SaveQuestHandleBJ(
|
|
7484
7538
|
whichQuest: jquest,
|
|
7485
7539
|
key: number,
|
|
7486
7540
|
missionKey: number,
|
|
7487
|
-
table: jhashtable
|
|
7541
|
+
table: jhashtable,
|
|
7488
7542
|
): boolean
|
|
7489
7543
|
declare function SaveQuestItemHandleBJ(
|
|
7490
7544
|
whichQuestitem: jquestitem,
|
|
7491
7545
|
key: number,
|
|
7492
7546
|
missionKey: number,
|
|
7493
|
-
table: jhashtable
|
|
7547
|
+
table: jhashtable,
|
|
7494
7548
|
): boolean
|
|
7495
7549
|
declare function SaveDefeatConditionHandleBJ(
|
|
7496
7550
|
whichDefeatcondition: jdefeatcondition,
|
|
7497
7551
|
key: number,
|
|
7498
7552
|
missionKey: number,
|
|
7499
|
-
table: jhashtable
|
|
7553
|
+
table: jhashtable,
|
|
7500
7554
|
): boolean
|
|
7501
7555
|
declare function SaveTimerDialogHandleBJ(
|
|
7502
7556
|
whichTimerdialog: jtimerdialog,
|
|
7503
7557
|
key: number,
|
|
7504
7558
|
missionKey: number,
|
|
7505
|
-
table: jhashtable
|
|
7559
|
+
table: jhashtable,
|
|
7506
7560
|
): boolean
|
|
7507
7561
|
declare function SaveLeaderboardHandleBJ(
|
|
7508
7562
|
whichLeaderboard: jleaderboard,
|
|
7509
7563
|
key: number,
|
|
7510
7564
|
missionKey: number,
|
|
7511
|
-
table: jhashtable
|
|
7565
|
+
table: jhashtable,
|
|
7512
7566
|
): boolean
|
|
7513
7567
|
declare function SaveMultiboardHandleBJ(
|
|
7514
7568
|
whichMultiboard: jmultiboard,
|
|
7515
7569
|
key: number,
|
|
7516
7570
|
missionKey: number,
|
|
7517
|
-
table: jhashtable
|
|
7571
|
+
table: jhashtable,
|
|
7518
7572
|
): boolean
|
|
7519
7573
|
declare function SaveMultiboardItemHandleBJ(
|
|
7520
7574
|
whichMultiboarditem: jmultiboarditem,
|
|
7521
7575
|
key: number,
|
|
7522
7576
|
missionKey: number,
|
|
7523
|
-
table: jhashtable
|
|
7577
|
+
table: jhashtable,
|
|
7524
7578
|
): boolean
|
|
7525
7579
|
declare function SaveTrackableHandleBJ(
|
|
7526
7580
|
whichTrackable: jtrackable,
|
|
7527
7581
|
key: number,
|
|
7528
7582
|
missionKey: number,
|
|
7529
|
-
table: jhashtable
|
|
7583
|
+
table: jhashtable,
|
|
7530
7584
|
): boolean
|
|
7531
7585
|
declare function SaveDialogHandleBJ(
|
|
7532
7586
|
whichDialog: jdialog,
|
|
7533
7587
|
key: number,
|
|
7534
7588
|
missionKey: number,
|
|
7535
|
-
table: jhashtable
|
|
7589
|
+
table: jhashtable,
|
|
7536
7590
|
): boolean
|
|
7537
7591
|
declare function SaveButtonHandleBJ(
|
|
7538
7592
|
whichButton: jbutton,
|
|
7539
7593
|
key: number,
|
|
7540
7594
|
missionKey: number,
|
|
7541
|
-
table: jhashtable
|
|
7595
|
+
table: jhashtable,
|
|
7542
7596
|
): boolean
|
|
7543
7597
|
declare function SaveTextTagHandleBJ(
|
|
7544
7598
|
whichTexttag: jtexttag,
|
|
7545
7599
|
key: number,
|
|
7546
7600
|
missionKey: number,
|
|
7547
|
-
table: jhashtable
|
|
7601
|
+
table: jhashtable,
|
|
7548
7602
|
): boolean
|
|
7549
7603
|
declare function SaveLightningHandleBJ(
|
|
7550
7604
|
whichLightning: jlightning,
|
|
7551
7605
|
key: number,
|
|
7552
7606
|
missionKey: number,
|
|
7553
|
-
table: jhashtable
|
|
7607
|
+
table: jhashtable,
|
|
7554
7608
|
): boolean
|
|
7555
7609
|
declare function SaveImageHandleBJ(
|
|
7556
7610
|
whichImage: jimage,
|
|
7557
7611
|
key: number,
|
|
7558
7612
|
missionKey: number,
|
|
7559
|
-
table: jhashtable
|
|
7613
|
+
table: jhashtable,
|
|
7560
7614
|
): boolean
|
|
7561
7615
|
declare function SaveUbersplatHandleBJ(
|
|
7562
7616
|
whichUbersplat: jubersplat,
|
|
7563
7617
|
key: number,
|
|
7564
7618
|
missionKey: number,
|
|
7565
|
-
table: jhashtable
|
|
7619
|
+
table: jhashtable,
|
|
7566
7620
|
): boolean
|
|
7567
7621
|
declare function SaveRegionHandleBJ(
|
|
7568
7622
|
whichRegion: jregion,
|
|
7569
7623
|
key: number,
|
|
7570
7624
|
missionKey: number,
|
|
7571
|
-
table: jhashtable
|
|
7625
|
+
table: jhashtable,
|
|
7572
7626
|
): boolean
|
|
7573
7627
|
declare function SaveFogStateHandleBJ(
|
|
7574
7628
|
whichFogState: jfogstate,
|
|
7575
7629
|
key: number,
|
|
7576
7630
|
missionKey: number,
|
|
7577
|
-
table: jhashtable
|
|
7631
|
+
table: jhashtable,
|
|
7578
7632
|
): boolean
|
|
7579
7633
|
declare function SaveFogModifierHandleBJ(
|
|
7580
7634
|
whichFogModifier: jfogmodifier,
|
|
7581
7635
|
key: number,
|
|
7582
7636
|
missionKey: number,
|
|
7583
|
-
table: jhashtable
|
|
7637
|
+
table: jhashtable,
|
|
7584
7638
|
): boolean
|
|
7585
7639
|
declare function SaveAgentHandleBJ(
|
|
7586
7640
|
whichAgent: jagent,
|
|
7587
7641
|
key: number,
|
|
7588
7642
|
missionKey: number,
|
|
7589
|
-
table: jhashtable
|
|
7643
|
+
table: jhashtable,
|
|
7590
7644
|
): boolean
|
|
7591
7645
|
declare function SaveHashtableHandleBJ(
|
|
7592
7646
|
whichHashtable: jhashtable,
|
|
7593
7647
|
key: number,
|
|
7594
7648
|
missionKey: number,
|
|
7595
|
-
table: jhashtable
|
|
7649
|
+
table: jhashtable,
|
|
7596
7650
|
): boolean
|
|
7597
7651
|
declare function GetStoredRealBJ(key: string, missionKey: string, cache: jgamecache): number
|
|
7598
7652
|
declare function GetStoredIntegerBJ(key: string, missionKey: string, cache: jgamecache): number
|
|
@@ -7607,7 +7661,7 @@ declare function LoadWidgetHandleBJ(key: number, missionKey: number, table: jhas
|
|
|
7607
7661
|
declare function LoadDestructableHandleBJ(
|
|
7608
7662
|
key: number,
|
|
7609
7663
|
missionKey: number,
|
|
7610
|
-
table: jhashtable
|
|
7664
|
+
table: jhashtable,
|
|
7611
7665
|
): jdestructable
|
|
7612
7666
|
declare function LoadItemHandleBJ(key: number, missionKey: number, table: jhashtable): jitem
|
|
7613
7667
|
declare function LoadUnitHandleBJ(key: number, missionKey: number, table: jhashtable): junit
|
|
@@ -7617,17 +7671,17 @@ declare function LoadTriggerHandleBJ(key: number, missionKey: number, table: jha
|
|
|
7617
7671
|
declare function LoadTriggerConditionHandleBJ(
|
|
7618
7672
|
key: number,
|
|
7619
7673
|
missionKey: number,
|
|
7620
|
-
table: jhashtable
|
|
7674
|
+
table: jhashtable,
|
|
7621
7675
|
): jtriggercondition
|
|
7622
7676
|
declare function LoadTriggerActionHandleBJ(
|
|
7623
7677
|
key: number,
|
|
7624
7678
|
missionKey: number,
|
|
7625
|
-
table: jhashtable
|
|
7679
|
+
table: jhashtable,
|
|
7626
7680
|
): jtriggeraction
|
|
7627
7681
|
declare function LoadTriggerEventHandleBJ(
|
|
7628
7682
|
key: number,
|
|
7629
7683
|
missionKey: number,
|
|
7630
|
-
table: jhashtable
|
|
7684
|
+
table: jhashtable,
|
|
7631
7685
|
): jevent
|
|
7632
7686
|
declare function LoadForceHandleBJ(key: number, missionKey: number, table: jhashtable): jforce
|
|
7633
7687
|
declare function LoadGroupHandleBJ(key: number, missionKey: number, table: jhashtable): jgroup
|
|
@@ -7636,7 +7690,7 @@ declare function LoadRectHandleBJ(key: number, missionKey: number, table: jhasht
|
|
|
7636
7690
|
declare function LoadBooleanExprHandleBJ(
|
|
7637
7691
|
key: number,
|
|
7638
7692
|
missionKey: number,
|
|
7639
|
-
table: jhashtable
|
|
7693
|
+
table: jhashtable,
|
|
7640
7694
|
): jboolexpr
|
|
7641
7695
|
declare function LoadSoundHandleBJ(key: number, missionKey: number, table: jhashtable): jsound
|
|
7642
7696
|
declare function LoadEffectHandleBJ(key: number, missionKey: number, table: jhashtable): jeffect
|
|
@@ -7646,37 +7700,37 @@ declare function LoadQuestHandleBJ(key: number, missionKey: number, table: jhash
|
|
|
7646
7700
|
declare function LoadQuestItemHandleBJ(
|
|
7647
7701
|
key: number,
|
|
7648
7702
|
missionKey: number,
|
|
7649
|
-
table: jhashtable
|
|
7703
|
+
table: jhashtable,
|
|
7650
7704
|
): jquestitem
|
|
7651
7705
|
declare function LoadDefeatConditionHandleBJ(
|
|
7652
7706
|
key: number,
|
|
7653
7707
|
missionKey: number,
|
|
7654
|
-
table: jhashtable
|
|
7708
|
+
table: jhashtable,
|
|
7655
7709
|
): jdefeatcondition
|
|
7656
7710
|
declare function LoadTimerDialogHandleBJ(
|
|
7657
7711
|
key: number,
|
|
7658
7712
|
missionKey: number,
|
|
7659
|
-
table: jhashtable
|
|
7713
|
+
table: jhashtable,
|
|
7660
7714
|
): jtimerdialog
|
|
7661
7715
|
declare function LoadLeaderboardHandleBJ(
|
|
7662
7716
|
key: number,
|
|
7663
7717
|
missionKey: number,
|
|
7664
|
-
table: jhashtable
|
|
7718
|
+
table: jhashtable,
|
|
7665
7719
|
): jleaderboard
|
|
7666
7720
|
declare function LoadMultiboardHandleBJ(
|
|
7667
7721
|
key: number,
|
|
7668
7722
|
missionKey: number,
|
|
7669
|
-
table: jhashtable
|
|
7723
|
+
table: jhashtable,
|
|
7670
7724
|
): jmultiboard
|
|
7671
7725
|
declare function LoadMultiboardItemHandleBJ(
|
|
7672
7726
|
key: number,
|
|
7673
7727
|
missionKey: number,
|
|
7674
|
-
table: jhashtable
|
|
7728
|
+
table: jhashtable,
|
|
7675
7729
|
): jmultiboarditem
|
|
7676
7730
|
declare function LoadTrackableHandleBJ(
|
|
7677
7731
|
key: number,
|
|
7678
7732
|
missionKey: number,
|
|
7679
|
-
table: jhashtable
|
|
7733
|
+
table: jhashtable,
|
|
7680
7734
|
): jtrackable
|
|
7681
7735
|
declare function LoadDialogHandleBJ(key: number, missionKey: number, table: jhashtable): jdialog
|
|
7682
7736
|
declare function LoadButtonHandleBJ(key: number, missionKey: number, table: jhashtable): jbutton
|
|
@@ -7684,25 +7738,25 @@ declare function LoadTextTagHandleBJ(key: number, missionKey: number, table: jha
|
|
|
7684
7738
|
declare function LoadLightningHandleBJ(
|
|
7685
7739
|
key: number,
|
|
7686
7740
|
missionKey: number,
|
|
7687
|
-
table: jhashtable
|
|
7741
|
+
table: jhashtable,
|
|
7688
7742
|
): jlightning
|
|
7689
7743
|
declare function LoadImageHandleBJ(key: number, missionKey: number, table: jhashtable): jimage
|
|
7690
7744
|
declare function LoadUbersplatHandleBJ(
|
|
7691
7745
|
key: number,
|
|
7692
7746
|
missionKey: number,
|
|
7693
|
-
table: jhashtable
|
|
7747
|
+
table: jhashtable,
|
|
7694
7748
|
): jubersplat
|
|
7695
7749
|
declare function LoadRegionHandleBJ(key: number, missionKey: number, table: jhashtable): jregion
|
|
7696
7750
|
declare function LoadFogStateHandleBJ(key: number, missionKey: number, table: jhashtable): jfogstate
|
|
7697
7751
|
declare function LoadFogModifierHandleBJ(
|
|
7698
7752
|
key: number,
|
|
7699
7753
|
missionKey: number,
|
|
7700
|
-
table: jhashtable
|
|
7754
|
+
table: jhashtable,
|
|
7701
7755
|
): jfogmodifier
|
|
7702
7756
|
declare function LoadHashtableHandleBJ(
|
|
7703
7757
|
key: number,
|
|
7704
7758
|
missionKey: number,
|
|
7705
|
-
table: jhashtable
|
|
7759
|
+
table: jhashtable,
|
|
7706
7760
|
): jhashtable
|
|
7707
7761
|
declare function RestoreUnitLocFacingAngleBJ(
|
|
7708
7762
|
key: string,
|
|
@@ -7710,7 +7764,7 @@ declare function RestoreUnitLocFacingAngleBJ(
|
|
|
7710
7764
|
cache: jgamecache,
|
|
7711
7765
|
forWhichPlayer: jplayer,
|
|
7712
7766
|
loc: jlocation,
|
|
7713
|
-
facing: number
|
|
7767
|
+
facing: number,
|
|
7714
7768
|
): junit
|
|
7715
7769
|
declare function RestoreUnitLocFacingPointBJ(
|
|
7716
7770
|
key: string,
|
|
@@ -7718,7 +7772,7 @@ declare function RestoreUnitLocFacingPointBJ(
|
|
|
7718
7772
|
cache: jgamecache,
|
|
7719
7773
|
forWhichPlayer: jplayer,
|
|
7720
7774
|
loc: jlocation,
|
|
7721
|
-
lookAt: jlocation
|
|
7775
|
+
lookAt: jlocation,
|
|
7722
7776
|
): junit
|
|
7723
7777
|
declare function GetLastRestoredUnitBJ(): junit
|
|
7724
7778
|
declare function FlushGameCacheBJ(cache: jgamecache): void
|
|
@@ -7729,13 +7783,13 @@ declare function HaveStoredValue(
|
|
|
7729
7783
|
key: string,
|
|
7730
7784
|
valueType: number,
|
|
7731
7785
|
missionKey: string,
|
|
7732
|
-
cache: jgamecache
|
|
7786
|
+
cache: jgamecache,
|
|
7733
7787
|
): boolean
|
|
7734
7788
|
declare function HaveSavedValue(
|
|
7735
7789
|
key: number,
|
|
7736
7790
|
valueType: number,
|
|
7737
7791
|
missionKey: number,
|
|
7738
|
-
table: jhashtable
|
|
7792
|
+
table: jhashtable,
|
|
7739
7793
|
): boolean
|
|
7740
7794
|
declare function ShowCustomCampaignButton(show: boolean, whichButton: number): void
|
|
7741
7795
|
declare function IsCustomCampaignButtonVisibile(whichButton: number): boolean
|
|
@@ -7744,12 +7798,12 @@ declare function LoadGameBJ(loadFileName: string, doScoreScreen: boolean): void
|
|
|
7744
7798
|
declare function SaveAndChangeLevelBJ(
|
|
7745
7799
|
saveFileName: string,
|
|
7746
7800
|
newLevel: string,
|
|
7747
|
-
doScoreScreen: boolean
|
|
7801
|
+
doScoreScreen: boolean,
|
|
7748
7802
|
): void
|
|
7749
7803
|
declare function SaveAndLoadGameBJ(
|
|
7750
7804
|
saveFileName: string,
|
|
7751
7805
|
loadFileName: string,
|
|
7752
|
-
doScoreScreen: boolean
|
|
7806
|
+
doScoreScreen: boolean,
|
|
7753
7807
|
): void
|
|
7754
7808
|
declare function RenameSaveDirectoryBJ(sourceDirName: string, destDirName: string): boolean
|
|
7755
7809
|
declare function RemoveSaveDirectoryBJ(sourceDirName: string): boolean
|
|
@@ -7764,33 +7818,33 @@ declare function GetFadeFromSecondsAsReal(seconds: number): number
|
|
|
7764
7818
|
declare function AdjustPlayerStateSimpleBJ(
|
|
7765
7819
|
whichPlayer: jplayer,
|
|
7766
7820
|
whichPlayerState: jplayerstate,
|
|
7767
|
-
delta: number
|
|
7821
|
+
delta: number,
|
|
7768
7822
|
): void
|
|
7769
7823
|
declare function AdjustPlayerStateBJ(
|
|
7770
7824
|
delta: number,
|
|
7771
7825
|
whichPlayer: jplayer,
|
|
7772
|
-
whichPlayerState: jplayerstate
|
|
7826
|
+
whichPlayerState: jplayerstate,
|
|
7773
7827
|
): void
|
|
7774
7828
|
declare function SetPlayerStateBJ(
|
|
7775
7829
|
whichPlayer: jplayer,
|
|
7776
7830
|
whichPlayerState: jplayerstate,
|
|
7777
|
-
value: number
|
|
7831
|
+
value: number,
|
|
7778
7832
|
): void
|
|
7779
7833
|
declare function SetPlayerFlagBJ(
|
|
7780
7834
|
whichPlayerFlag: jplayerstate,
|
|
7781
7835
|
flag: boolean,
|
|
7782
|
-
whichPlayer: jplayer
|
|
7836
|
+
whichPlayer: jplayer,
|
|
7783
7837
|
): void
|
|
7784
7838
|
declare function SetPlayerTaxRateBJ(
|
|
7785
7839
|
rate: number,
|
|
7786
7840
|
whichResource: jplayerstate,
|
|
7787
7841
|
sourcePlayer: jplayer,
|
|
7788
|
-
otherPlayer: jplayer
|
|
7842
|
+
otherPlayer: jplayer,
|
|
7789
7843
|
): void
|
|
7790
7844
|
declare function GetPlayerTaxRateBJ(
|
|
7791
7845
|
whichResource: jplayerstate,
|
|
7792
7846
|
sourcePlayer: jplayer,
|
|
7793
|
-
otherPlayer: jplayer
|
|
7847
|
+
otherPlayer: jplayer,
|
|
7794
7848
|
): number
|
|
7795
7849
|
declare function IsPlayerFlagSetBJ(whichPlayerFlag: jplayerstate, whichPlayer: jplayer): boolean
|
|
7796
7850
|
declare function AddResourceAmountBJ(delta: number, whichUnit: junit): void
|
|
@@ -7806,12 +7860,12 @@ declare function SetPlayerColorBJEnum(): void
|
|
|
7806
7860
|
declare function SetPlayerColorBJ(
|
|
7807
7861
|
whichPlayer: jplayer,
|
|
7808
7862
|
color: jplayercolor,
|
|
7809
|
-
changeExisting: boolean
|
|
7863
|
+
changeExisting: boolean,
|
|
7810
7864
|
): void
|
|
7811
7865
|
declare function SetPlayerUnitAvailableBJ(
|
|
7812
7866
|
unitId: number,
|
|
7813
7867
|
allowed: boolean,
|
|
7814
|
-
whichPlayer: jplayer
|
|
7868
|
+
whichPlayer: jplayer,
|
|
7815
7869
|
): void
|
|
7816
7870
|
declare function LockGameSpeedBJ(): void
|
|
7817
7871
|
declare function UnlockGameSpeedBJ(): void
|
|
@@ -7819,39 +7873,39 @@ declare function IssueTargetOrderBJ(whichUnit: junit, order: string, targetWidge
|
|
|
7819
7873
|
declare function IssuePointOrderLocBJ(
|
|
7820
7874
|
whichUnit: junit,
|
|
7821
7875
|
order: string,
|
|
7822
|
-
whichLocation: jlocation
|
|
7876
|
+
whichLocation: jlocation,
|
|
7823
7877
|
): boolean
|
|
7824
7878
|
declare function IssueTargetDestructableOrder(
|
|
7825
7879
|
whichUnit: junit,
|
|
7826
7880
|
order: string,
|
|
7827
|
-
targetWidget: jwidget
|
|
7881
|
+
targetWidget: jwidget,
|
|
7828
7882
|
): boolean
|
|
7829
7883
|
declare function IssueTargetItemOrder(
|
|
7830
7884
|
whichUnit: junit,
|
|
7831
7885
|
order: string,
|
|
7832
|
-
targetWidget: jwidget
|
|
7886
|
+
targetWidget: jwidget,
|
|
7833
7887
|
): boolean
|
|
7834
7888
|
declare function IssueImmediateOrderBJ(whichUnit: junit, order: string): boolean
|
|
7835
7889
|
declare function GroupTargetOrderBJ(
|
|
7836
7890
|
whichGroup: jgroup,
|
|
7837
7891
|
order: string,
|
|
7838
|
-
targetWidget: jwidget
|
|
7892
|
+
targetWidget: jwidget,
|
|
7839
7893
|
): boolean
|
|
7840
7894
|
declare function GroupPointOrderLocBJ(
|
|
7841
7895
|
whichGroup: jgroup,
|
|
7842
7896
|
order: string,
|
|
7843
|
-
whichLocation: jlocation
|
|
7897
|
+
whichLocation: jlocation,
|
|
7844
7898
|
): boolean
|
|
7845
7899
|
declare function GroupImmediateOrderBJ(whichGroup: jgroup, order: string): boolean
|
|
7846
7900
|
declare function GroupTargetDestructableOrder(
|
|
7847
7901
|
whichGroup: jgroup,
|
|
7848
7902
|
order: string,
|
|
7849
|
-
targetWidget: jwidget
|
|
7903
|
+
targetWidget: jwidget,
|
|
7850
7904
|
): boolean
|
|
7851
7905
|
declare function GroupTargetItemOrder(
|
|
7852
7906
|
whichGroup: jgroup,
|
|
7853
7907
|
order: string,
|
|
7854
|
-
targetWidget: jwidget
|
|
7908
|
+
targetWidget: jwidget,
|
|
7855
7909
|
): boolean
|
|
7856
7910
|
declare function GetDyingDestructable(): jdestructable
|
|
7857
7911
|
declare function SetUnitRallyPoint(whichUnit: junit, targPos: jlocation): void
|
|
@@ -7863,7 +7917,7 @@ declare function SetBlightRadiusLocBJ(
|
|
|
7863
7917
|
addBlight: boolean,
|
|
7864
7918
|
whichPlayer: jplayer,
|
|
7865
7919
|
loc: jlocation,
|
|
7866
|
-
radius: number
|
|
7920
|
+
radius: number,
|
|
7867
7921
|
): void
|
|
7868
7922
|
declare function GetAbilityName(abilcode: number): string
|
|
7869
7923
|
declare function MeleeStartingVisibility(): void
|
|
@@ -7871,7 +7925,7 @@ declare function MeleeStartingResources(): void
|
|
|
7871
7925
|
declare function ReducePlayerTechMaxAllowed(
|
|
7872
7926
|
whichPlayer: jplayer,
|
|
7873
7927
|
techId: number,
|
|
7874
|
-
limit: number
|
|
7928
|
+
limit: number,
|
|
7875
7929
|
): void
|
|
7876
7930
|
declare function MeleeStartingHeroLimit(): void
|
|
7877
7931
|
declare function MeleeTrainedUnitIsHeroBJFilter(): boolean
|
|
@@ -7890,13 +7944,13 @@ declare function MeleeRandomHeroLoc(
|
|
|
7890
7944
|
id2: number,
|
|
7891
7945
|
id3: number,
|
|
7892
7946
|
id4: number,
|
|
7893
|
-
loc: jlocation
|
|
7947
|
+
loc: jlocation,
|
|
7894
7948
|
): junit
|
|
7895
7949
|
declare function MeleeGetProjectedLoc(
|
|
7896
7950
|
src: jlocation,
|
|
7897
7951
|
targ: jlocation,
|
|
7898
7952
|
distance: number,
|
|
7899
|
-
deltaAngle: number
|
|
7953
|
+
deltaAngle: number,
|
|
7900
7954
|
): jlocation
|
|
7901
7955
|
declare function MeleeGetNearestValueWithin(val: number, minVal: number, maxVal: number): number
|
|
7902
7956
|
declare function MeleeGetLocWithinRect(src: jlocation, r: jrect): jlocation
|
|
@@ -7905,42 +7959,42 @@ declare function MeleeStartingUnitsHuman(
|
|
|
7905
7959
|
startLoc: jlocation,
|
|
7906
7960
|
doHeroes: boolean,
|
|
7907
7961
|
doCamera: boolean,
|
|
7908
|
-
doPreload: boolean
|
|
7962
|
+
doPreload: boolean,
|
|
7909
7963
|
): void
|
|
7910
7964
|
declare function MeleeStartingUnitsOrc(
|
|
7911
7965
|
whichPlayer: jplayer,
|
|
7912
7966
|
startLoc: jlocation,
|
|
7913
7967
|
doHeroes: boolean,
|
|
7914
7968
|
doCamera: boolean,
|
|
7915
|
-
doPreload: boolean
|
|
7969
|
+
doPreload: boolean,
|
|
7916
7970
|
): void
|
|
7917
7971
|
declare function MeleeStartingUnitsUndead(
|
|
7918
7972
|
whichPlayer: jplayer,
|
|
7919
7973
|
startLoc: jlocation,
|
|
7920
7974
|
doHeroes: boolean,
|
|
7921
7975
|
doCamera: boolean,
|
|
7922
|
-
doPreload: boolean
|
|
7976
|
+
doPreload: boolean,
|
|
7923
7977
|
): void
|
|
7924
7978
|
declare function MeleeStartingUnitsNightElf(
|
|
7925
7979
|
whichPlayer: jplayer,
|
|
7926
7980
|
startLoc: jlocation,
|
|
7927
7981
|
doHeroes: boolean,
|
|
7928
7982
|
doCamera: boolean,
|
|
7929
|
-
doPreload: boolean
|
|
7983
|
+
doPreload: boolean,
|
|
7930
7984
|
): void
|
|
7931
7985
|
declare function MeleeStartingUnitsUnknownRace(
|
|
7932
7986
|
whichPlayer: jplayer,
|
|
7933
7987
|
startLoc: jlocation,
|
|
7934
7988
|
doHeroes: boolean,
|
|
7935
7989
|
doCamera: boolean,
|
|
7936
|
-
doPreload: boolean
|
|
7990
|
+
doPreload: boolean,
|
|
7937
7991
|
): void
|
|
7938
7992
|
declare function MeleeStartingUnits(): void
|
|
7939
7993
|
declare function MeleeStartingUnitsForPlayer(
|
|
7940
7994
|
whichRace: jrace,
|
|
7941
7995
|
whichPlayer: jplayer,
|
|
7942
7996
|
loc: jlocation,
|
|
7943
|
-
doHeroes: boolean
|
|
7997
|
+
doHeroes: boolean,
|
|
7944
7998
|
): void
|
|
7945
7999
|
declare function PickMeleeAI(num: jplayer, s1: string, s2: string, s3: string): void
|
|
7946
8000
|
declare function MeleeStartingAI(): void
|
|
@@ -8013,186 +8067,186 @@ declare function BlzIsLastInstanceObjectFunctionSuccessful(): boolean
|
|
|
8013
8067
|
declare function BlzSetAbilityBooleanFieldBJ(
|
|
8014
8068
|
whichAbility: jability,
|
|
8015
8069
|
whichField: jabilitybooleanfield,
|
|
8016
|
-
value: boolean
|
|
8070
|
+
value: boolean,
|
|
8017
8071
|
): void
|
|
8018
8072
|
declare function BlzSetAbilityIntegerFieldBJ(
|
|
8019
8073
|
whichAbility: jability,
|
|
8020
8074
|
whichField: jabilityintegerfield,
|
|
8021
|
-
value: number
|
|
8075
|
+
value: number,
|
|
8022
8076
|
): void
|
|
8023
8077
|
declare function BlzSetAbilityRealFieldBJ(
|
|
8024
8078
|
whichAbility: jability,
|
|
8025
8079
|
whichField: jabilityrealfield,
|
|
8026
|
-
value: number
|
|
8080
|
+
value: number,
|
|
8027
8081
|
): void
|
|
8028
8082
|
declare function BlzSetAbilityStringFieldBJ(
|
|
8029
8083
|
whichAbility: jability,
|
|
8030
8084
|
whichField: jabilitystringfield,
|
|
8031
|
-
value: string
|
|
8085
|
+
value: string,
|
|
8032
8086
|
): void
|
|
8033
8087
|
declare function BlzSetAbilityBooleanLevelFieldBJ(
|
|
8034
8088
|
whichAbility: jability,
|
|
8035
8089
|
whichField: jabilitybooleanlevelfield,
|
|
8036
8090
|
level: number,
|
|
8037
|
-
value: boolean
|
|
8091
|
+
value: boolean,
|
|
8038
8092
|
): void
|
|
8039
8093
|
declare function BlzSetAbilityIntegerLevelFieldBJ(
|
|
8040
8094
|
whichAbility: jability,
|
|
8041
8095
|
whichField: jabilityintegerlevelfield,
|
|
8042
8096
|
level: number,
|
|
8043
|
-
value: number
|
|
8097
|
+
value: number,
|
|
8044
8098
|
): void
|
|
8045
8099
|
declare function BlzSetAbilityRealLevelFieldBJ(
|
|
8046
8100
|
whichAbility: jability,
|
|
8047
8101
|
whichField: jabilityreallevelfield,
|
|
8048
8102
|
level: number,
|
|
8049
|
-
value: number
|
|
8103
|
+
value: number,
|
|
8050
8104
|
): void
|
|
8051
8105
|
declare function BlzSetAbilityStringLevelFieldBJ(
|
|
8052
8106
|
whichAbility: jability,
|
|
8053
8107
|
whichField: jabilitystringlevelfield,
|
|
8054
8108
|
level: number,
|
|
8055
|
-
value: string
|
|
8109
|
+
value: string,
|
|
8056
8110
|
): void
|
|
8057
8111
|
declare function BlzSetAbilityBooleanLevelArrayFieldBJ(
|
|
8058
8112
|
whichAbility: jability,
|
|
8059
8113
|
whichField: jabilitybooleanlevelarrayfield,
|
|
8060
8114
|
level: number,
|
|
8061
8115
|
index: number,
|
|
8062
|
-
value: boolean
|
|
8116
|
+
value: boolean,
|
|
8063
8117
|
): void
|
|
8064
8118
|
declare function BlzSetAbilityIntegerLevelArrayFieldBJ(
|
|
8065
8119
|
whichAbility: jability,
|
|
8066
8120
|
whichField: jabilityintegerlevelarrayfield,
|
|
8067
8121
|
level: number,
|
|
8068
8122
|
index: number,
|
|
8069
|
-
value: number
|
|
8123
|
+
value: number,
|
|
8070
8124
|
): void
|
|
8071
8125
|
declare function BlzSetAbilityRealLevelArrayFieldBJ(
|
|
8072
8126
|
whichAbility: jability,
|
|
8073
8127
|
whichField: jabilityreallevelarrayfield,
|
|
8074
8128
|
level: number,
|
|
8075
8129
|
index: number,
|
|
8076
|
-
value: number
|
|
8130
|
+
value: number,
|
|
8077
8131
|
): void
|
|
8078
8132
|
declare function BlzSetAbilityStringLevelArrayFieldBJ(
|
|
8079
8133
|
whichAbility: jability,
|
|
8080
8134
|
whichField: jabilitystringlevelarrayfield,
|
|
8081
8135
|
level: number,
|
|
8082
8136
|
index: number,
|
|
8083
|
-
value: string
|
|
8137
|
+
value: string,
|
|
8084
8138
|
): void
|
|
8085
8139
|
declare function BlzAddAbilityBooleanLevelArrayFieldBJ(
|
|
8086
8140
|
whichAbility: jability,
|
|
8087
8141
|
whichField: jabilitybooleanlevelarrayfield,
|
|
8088
8142
|
level: number,
|
|
8089
|
-
value: boolean
|
|
8143
|
+
value: boolean,
|
|
8090
8144
|
): void
|
|
8091
8145
|
declare function BlzAddAbilityIntegerLevelArrayFieldBJ(
|
|
8092
8146
|
whichAbility: jability,
|
|
8093
8147
|
whichField: jabilityintegerlevelarrayfield,
|
|
8094
8148
|
level: number,
|
|
8095
|
-
value: number
|
|
8149
|
+
value: number,
|
|
8096
8150
|
): void
|
|
8097
8151
|
declare function BlzAddAbilityRealLevelArrayFieldBJ(
|
|
8098
8152
|
whichAbility: jability,
|
|
8099
8153
|
whichField: jabilityreallevelarrayfield,
|
|
8100
8154
|
level: number,
|
|
8101
|
-
value: number
|
|
8155
|
+
value: number,
|
|
8102
8156
|
): void
|
|
8103
8157
|
declare function BlzAddAbilityStringLevelArrayFieldBJ(
|
|
8104
8158
|
whichAbility: jability,
|
|
8105
8159
|
whichField: jabilitystringlevelarrayfield,
|
|
8106
8160
|
level: number,
|
|
8107
|
-
value: string
|
|
8161
|
+
value: string,
|
|
8108
8162
|
): void
|
|
8109
8163
|
declare function BlzRemoveAbilityBooleanLevelArrayFieldBJ(
|
|
8110
8164
|
whichAbility: jability,
|
|
8111
8165
|
whichField: jabilitybooleanlevelarrayfield,
|
|
8112
8166
|
level: number,
|
|
8113
|
-
value: boolean
|
|
8167
|
+
value: boolean,
|
|
8114
8168
|
): void
|
|
8115
8169
|
declare function BlzRemoveAbilityIntegerLevelArrayFieldBJ(
|
|
8116
8170
|
whichAbility: jability,
|
|
8117
8171
|
whichField: jabilityintegerlevelarrayfield,
|
|
8118
8172
|
level: number,
|
|
8119
|
-
value: number
|
|
8173
|
+
value: number,
|
|
8120
8174
|
): void
|
|
8121
8175
|
declare function BlzRemoveAbilityRealLevelArrayFieldBJ(
|
|
8122
8176
|
whichAbility: jability,
|
|
8123
8177
|
whichField: jabilityreallevelarrayfield,
|
|
8124
8178
|
level: number,
|
|
8125
|
-
value: number
|
|
8179
|
+
value: number,
|
|
8126
8180
|
): void
|
|
8127
8181
|
declare function BlzRemoveAbilityStringLevelArrayFieldBJ(
|
|
8128
8182
|
whichAbility: jability,
|
|
8129
8183
|
whichField: jabilitystringlevelarrayfield,
|
|
8130
8184
|
level: number,
|
|
8131
|
-
value: string
|
|
8185
|
+
value: string,
|
|
8132
8186
|
): void
|
|
8133
8187
|
declare function BlzItemAddAbilityBJ(whichItem: jitem, abilCode: number): void
|
|
8134
8188
|
declare function BlzItemRemoveAbilityBJ(whichItem: jitem, abilCode: number): void
|
|
8135
8189
|
declare function BlzSetItemBooleanFieldBJ(
|
|
8136
8190
|
whichItem: jitem,
|
|
8137
8191
|
whichField: jitembooleanfield,
|
|
8138
|
-
value: boolean
|
|
8192
|
+
value: boolean,
|
|
8139
8193
|
): void
|
|
8140
8194
|
declare function BlzSetItemIntegerFieldBJ(
|
|
8141
8195
|
whichItem: jitem,
|
|
8142
8196
|
whichField: jitemintegerfield,
|
|
8143
|
-
value: number
|
|
8197
|
+
value: number,
|
|
8144
8198
|
): void
|
|
8145
8199
|
declare function BlzSetItemRealFieldBJ(
|
|
8146
8200
|
whichItem: jitem,
|
|
8147
8201
|
whichField: jitemrealfield,
|
|
8148
|
-
value: number
|
|
8202
|
+
value: number,
|
|
8149
8203
|
): void
|
|
8150
8204
|
declare function BlzSetItemStringFieldBJ(
|
|
8151
8205
|
whichItem: jitem,
|
|
8152
8206
|
whichField: jitemstringfield,
|
|
8153
|
-
value: string
|
|
8207
|
+
value: string,
|
|
8154
8208
|
): void
|
|
8155
8209
|
declare function BlzSetUnitBooleanFieldBJ(
|
|
8156
8210
|
whichUnit: junit,
|
|
8157
8211
|
whichField: junitbooleanfield,
|
|
8158
|
-
value: boolean
|
|
8212
|
+
value: boolean,
|
|
8159
8213
|
): void
|
|
8160
8214
|
declare function BlzSetUnitIntegerFieldBJ(
|
|
8161
8215
|
whichUnit: junit,
|
|
8162
8216
|
whichField: junitintegerfield,
|
|
8163
|
-
value: number
|
|
8217
|
+
value: number,
|
|
8164
8218
|
): void
|
|
8165
8219
|
declare function BlzSetUnitRealFieldBJ(
|
|
8166
8220
|
whichUnit: junit,
|
|
8167
8221
|
whichField: junitrealfield,
|
|
8168
|
-
value: number
|
|
8222
|
+
value: number,
|
|
8169
8223
|
): void
|
|
8170
8224
|
declare function BlzSetUnitStringFieldBJ(
|
|
8171
8225
|
whichUnit: junit,
|
|
8172
8226
|
whichField: junitstringfield,
|
|
8173
|
-
value: string
|
|
8227
|
+
value: string,
|
|
8174
8228
|
): void
|
|
8175
8229
|
declare function BlzSetUnitWeaponBooleanFieldBJ(
|
|
8176
8230
|
whichUnit: junit,
|
|
8177
8231
|
whichField: junitweaponbooleanfield,
|
|
8178
8232
|
index: number,
|
|
8179
|
-
value: boolean
|
|
8233
|
+
value: boolean,
|
|
8180
8234
|
): void
|
|
8181
8235
|
declare function BlzSetUnitWeaponIntegerFieldBJ(
|
|
8182
8236
|
whichUnit: junit,
|
|
8183
8237
|
whichField: junitweaponintegerfield,
|
|
8184
8238
|
index: number,
|
|
8185
|
-
value: number
|
|
8239
|
+
value: number,
|
|
8186
8240
|
): void
|
|
8187
8241
|
declare function BlzSetUnitWeaponRealFieldBJ(
|
|
8188
8242
|
whichUnit: junit,
|
|
8189
8243
|
whichField: junitweaponrealfield,
|
|
8190
8244
|
index: number,
|
|
8191
|
-
value: number
|
|
8245
|
+
value: number,
|
|
8192
8246
|
): void
|
|
8193
8247
|
declare function BlzSetUnitWeaponStringFieldBJ(
|
|
8194
8248
|
whichUnit: junit,
|
|
8195
8249
|
whichField: junitweaponstringfield,
|
|
8196
8250
|
index: number,
|
|
8197
|
-
value: string
|
|
8251
|
+
value: string,
|
|
8198
8252
|
): void
|