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