@v12-engine/engine 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/dist/abilities/buffs.d.ts +83 -0
- package/dist/abilities/castTold.d.ts +12 -0
- package/dist/abilities/charges.d.ts +28 -0
- package/dist/abilities/dispel.d.ts +9 -0
- package/dist/abilities/effectFields.d.ts +10 -0
- package/dist/abilities/effects/buff.d.ts +8 -0
- package/dist/abilities/effects/core.d.ts +1 -0
- package/dist/abilities/effects/damage.d.ts +1 -0
- package/dist/abilities/effects/heal.d.ts +2 -0
- package/dist/abilities/effects/missile.d.ts +1 -0
- package/dist/abilities/effects/moves.d.ts +11 -0
- package/dist/abilities/effects/passives.d.ts +15 -0
- package/dist/abilities/effects/sight.d.ts +4 -0
- package/dist/abilities/effects/spawn.d.ts +2 -0
- package/dist/abilities/effects/timed.d.ts +4 -0
- package/dist/abilities/effects/trade.d.ts +1 -0
- package/dist/abilities/effects.d.ts +122 -0
- package/dist/abilities/land.d.ts +21 -0
- package/dist/abilities/scaled.d.ts +21 -0
- package/dist/abilities/text.d.ts +113 -0
- package/dist/ai/area.d.ts +53 -0
- package/dist/ai/brain.d.ts +528 -0
- package/dist/ai/budget.d.ts +67 -0
- package/dist/ai/checks.d.ts +115 -0
- package/dist/ai/computer.d.ts +166 -0
- package/dist/ai/defence.d.ts +108 -0
- package/dist/ai/define.d.ts +21 -0
- package/dist/ai/economy.d.ts +129 -0
- package/dist/ai/geometry.d.ts +35 -0
- package/dist/ai/goals.d.ts +360 -0
- package/dist/ai/index.d.ts +38 -0
- package/dist/ai/knowledge.d.ts +418 -0
- package/dist/ai/lanes.d.ts +232 -0
- package/dist/ai/melee/build.d.ts +61 -0
- package/dist/ai/melee/goals.d.ts +299 -0
- package/dist/ai/melee/heroes.d.ts +27 -0
- package/dist/ai/melee/index.d.ts +14 -0
- package/dist/ai/melee/production.d.ts +8 -0
- package/dist/ai/melee/surrender.d.ts +24 -0
- package/dist/ai/micro.d.ts +278 -0
- package/dist/ai/mission.d.ts +195 -0
- package/dist/ai/missionRules.d.ts +18 -0
- package/dist/ai/module.d.ts +116 -0
- package/dist/ai/options.d.ts +61 -0
- package/dist/ai/plans/build.d.ts +280 -0
- package/dist/ai/plans/placement.d.ts +82 -0
- package/dist/ai/plans/plans.d.ts +105 -0
- package/dist/ai/plans/production.d.ts +210 -0
- package/dist/ai/plans/purse.d.ts +73 -0
- package/dist/ai/plans/tech.d.ts +37 -0
- package/dist/ai/profiles.d.ts +204 -0
- package/dist/ai/reach.d.ts +4 -0
- package/dist/ai/report.d.ts +203 -0
- package/dist/ai/roles.d.ts +133 -0
- package/dist/ai/rules.d.ts +288 -0
- package/dist/ai/scouting.d.ts +98 -0
- package/dist/ai/settings.d.ts +73 -0
- package/dist/ai/squads.d.ts +429 -0
- package/dist/ai/strength.d.ts +167 -0
- package/dist/ai/task.d.ts +118 -0
- package/dist/ai/tasks/attack.d.ts +7 -0
- package/dist/ai/tasks/capture.d.ts +21 -0
- package/dist/ai/tasks/creep.d.ts +16 -0
- package/dist/ai/tasks/defend.d.ts +29 -0
- package/dist/ai/tasks/drop.d.ts +34 -0
- package/dist/ai/tasks/escort.d.ts +16 -0
- package/dist/ai/tasks/gather.d.ts +23 -0
- package/dist/ai/tasks/harass.d.ts +7 -0
- package/dist/ai/tasks/hold.d.ts +20 -0
- package/dist/ai/tasks/index.d.ts +32 -0
- package/dist/ai/tasks/move.d.ts +19 -0
- package/dist/ai/tasks/patrol.d.ts +8 -0
- package/dist/ai/tasks/retreat.d.ts +20 -0
- package/dist/ai/tasks/scout.d.ts +29 -0
- package/dist/ai/tasks/shared.d.ts +74 -0
- package/dist/ai/team.d.ts +155 -0
- package/dist/ai/threat.d.ts +91 -0
- package/dist/ai/view.d.ts +366 -0
- package/dist/ai/waves.d.ts +126 -0
- package/dist/ai.js +6239 -0
- package/dist/ai.js.map +1 -0
- package/dist/aiTesting.d.ts +179 -0
- package/dist/areas.d.ts +149 -0
- package/dist/attacks.d.ts +66 -0
- package/dist/attributes.d.ts +66 -0
- package/dist/brain-BvVdUhX8.js +7659 -0
- package/dist/brain-BvVdUhX8.js.map +1 -0
- package/dist/builds-C6LfgvEU.js +460 -0
- package/dist/builds-C6LfgvEU.js.map +1 -0
- package/dist/bytes.d.ts +6 -0
- package/dist/camps.d.ts +95 -0
- package/dist/capture.d.ts +131 -0
- package/dist/cellLayers.d.ts +75 -0
- package/dist/cinematics.d.ts +194 -0
- package/dist/clock.d.ts +32 -0
- package/dist/commands.d.ts +235 -0
- package/dist/components.d.ts +184 -0
- package/dist/computers.d.ts +108 -0
- package/dist/concealment.d.ts +61 -0
- package/dist/coreComponents-syuh2fPG.js +5149 -0
- package/dist/coreComponents-syuh2fPG.js.map +1 -0
- package/dist/coreComponents.d.ts +1 -0
- package/dist/dashing.d.ts +8 -0
- package/dist/debug.d.ts +36 -0
- package/dist/debug.js +3 -0
- package/dist/debugCommands-CzjrSm66.js +14739 -0
- package/dist/debugCommands-CzjrSm66.js.map +1 -0
- package/dist/debugCommands.d.ts +213 -0
- package/dist/debugging.d.ts +10 -0
- package/dist/definitions.d.ts +43 -0
- package/dist/defs.d.ts +1162 -0
- package/dist/denying.d.ts +81 -0
- package/dist/destructibles.d.ts +27 -0
- package/dist/determinism-BCymQwiE.js +518 -0
- package/dist/determinism-BCymQwiE.js.map +1 -0
- package/dist/determinism.d.ts +121 -0
- package/dist/dialog.d.ts +94 -0
- package/dist/effectRefs.d.ts +16 -0
- package/dist/effects.d.ts +80 -0
- package/dist/endings.d.ts +22 -0
- package/dist/engagement.d.ts +108 -0
- package/dist/engineEvents.d.ts +710 -0
- package/dist/entity.d.ts +409 -0
- package/dist/entityIndex.d.ts +50 -0
- package/dist/errors.d.ts +85 -0
- package/dist/events.d.ts +97 -0
- package/dist/exactMath.d.ts +63 -0
- package/dist/features.d.ts +10 -0
- package/dist/fields.d.ts +114 -0
- package/dist/fixture.d.ts +17 -0
- package/dist/fog.d.ts +110 -0
- package/dist/formation.d.ts +111 -0
- package/dist/friendlyFire.d.ts +26 -0
- package/dist/game-DiJEN-Ks.js +5800 -0
- package/dist/game-DiJEN-Ks.js.map +1 -0
- package/dist/game.d.ts +501 -0
- package/dist/gameData.d.ts +325 -0
- package/dist/gameFiles.d.ts +26 -0
- package/dist/gates.d.ts +28 -0
- package/dist/generate.d.ts +403 -0
- package/dist/generateWorker.d.ts +39 -0
- package/dist/grid.d.ts +53 -0
- package/dist/ground.d.ts +127 -0
- package/dist/groundSpeed.d.ts +22 -0
- package/dist/hero.d.ts +177 -0
- package/dist/home.d.ts +14 -0
- package/dist/hooks.d.ts +780 -0
- package/dist/hotReload.d.ts +76 -0
- package/dist/ids.d.ts +26 -0
- package/dist/index.d.ts +227 -0
- package/dist/index.js +4701 -0
- package/dist/index.js.map +1 -0
- package/dist/inspect-D9dWHmZ0.js +491 -0
- package/dist/inspect-D9dWHmZ0.js.map +1 -0
- package/dist/inspect.d.ts +176 -0
- package/dist/inventory.d.ts +18 -0
- package/dist/items.d.ts +91 -0
- package/dist/lanes.d.ts +213 -0
- package/dist/life.d.ts +53 -0
- package/dist/local-Dkovq42k.js +1379 -0
- package/dist/local-Dkovq42k.js.map +1 -0
- package/dist/log.d.ts +140 -0
- package/dist/manaBurn.d.ts +39 -0
- package/dist/map/file.d.ts +114 -0
- package/dist/map/images.d.ts +18 -0
- package/dist/map/look.d.ts +47 -0
- package/dist/map/pathProfile.d.ts +13 -0
- package/dist/map/resize.d.ts +54 -0
- package/dist/map/schema.d.ts +10 -0
- package/dist/map/terrain.d.ts +32 -0
- package/dist/map/types.d.ts +613 -0
- package/dist/map.d.ts +7 -0
- package/dist/mapCheck/cells.d.ts +19 -0
- package/dist/mapCheck/rule.d.ts +30 -0
- package/dist/mapCheck/rules/names.d.ts +3 -0
- package/dist/mapCheck/rules/objects.d.ts +3 -0
- package/dist/mapCheck/rules/paths.d.ts +3 -0
- package/dist/mapCheck/rules/players.d.ts +3 -0
- package/dist/mapCheck/rules/races.d.ts +3 -0
- package/dist/mapCheck/rules/random.d.ts +3 -0
- package/dist/mapCheck/rules/regions.d.ts +3 -0
- package/dist/mapCheck/rules/targets.d.ts +3 -0
- package/dist/mapCheck/rules/walking.d.ts +3 -0
- package/dist/mapCheck.d.ts +23 -0
- package/dist/mapFields.d.ts +364 -0
- package/dist/mapFile.d.ts +23 -0
- package/dist/mapMeasure.d.ts +95 -0
- package/dist/mapMerge.d.ts +19 -0
- package/dist/mapObjectives.d.ts +82 -0
- package/dist/mapObjects.d.ts +1 -0
- package/dist/math.d.ts +44 -0
- package/dist/messages.d.ts +150 -0
- package/dist/missionRules-C-bGxm0Q.js +523 -0
- package/dist/missionRules-C-bGxm0Q.js.map +1 -0
- package/dist/missionRules.d.ts +179 -0
- package/dist/mods.d.ts +146 -0
- package/dist/names.d.ts +93 -0
- package/dist/navigation/agentParams.d.ts +4 -0
- package/dist/navigation/air.d.ts +89 -0
- package/dist/navigation/builds.d.ts +140 -0
- package/dist/navigation/groundAreas.d.ts +23 -0
- package/dist/navigation/navigation.d.ts +127 -0
- package/dist/navigation/recast.d.ts +214 -0
- package/dist/navigation/sidePaths.d.ts +69 -0
- package/dist/navigation/sized.d.ts +1 -0
- package/dist/navigation-worker.js +11 -0
- package/dist/navigation-worker.js.map +1 -0
- package/dist/nearest.d.ts +8 -0
- package/dist/noise.d.ts +12 -0
- package/dist/objectives.d.ts +93 -0
- package/dist/orders/basic.d.ts +96 -0
- package/dist/orders/build.d.ts +91 -0
- package/dist/orders/cast.d.ts +105 -0
- package/dist/orders/facts.d.ts +14 -0
- package/dist/orders/harvest.d.ts +94 -0
- package/dist/orders/idle.d.ts +7 -0
- package/dist/orders/items.d.ts +14 -0
- package/dist/orders/queue.d.ts +24 -0
- package/dist/pack.schema.json +6621 -0
- package/dist/packs/director/index.d.ts +81 -0
- package/dist/packs/heroes/campaign.d.ts +137 -0
- package/dist/packs/heroes/carry.d.ts +59 -0
- package/dist/packs/heroes/commands.d.ts +6 -0
- package/dist/packs/heroes/hire.d.ts +9 -0
- package/dist/packs/heroes/index.d.ts +12 -0
- package/dist/packs/heroes/making.d.ts +16 -0
- package/dist/packs/heroes/respawn.d.ts +42 -0
- package/dist/packs/moba/index.d.ts +34 -0
- package/dist/packs/pack.d.ts +84 -0
- package/dist/packs-g5thvmGn.js +3199 -0
- package/dist/packs-g5thvmGn.js.map +1 -0
- package/dist/packs.d.ts +84 -0
- package/dist/paths.d.ts +51 -0
- package/dist/plain.d.ts +17 -0
- package/dist/player.d.ts +117 -0
- package/dist/portals.d.ts +66 -0
- package/dist/prefabs.d.ts +139 -0
- package/dist/presetBuildings.d.ts +52 -0
- package/dist/presetGround.d.ts +22 -0
- package/dist/profiles-B3NS9jwk.js +335 -0
- package/dist/profiles-B3NS9jwk.js.map +1 -0
- package/dist/races.d.ts +136 -0
- package/dist/randomGroups.d.ts +2 -0
- package/dist/registry.d.ts +464 -0
- package/dist/remains.d.ts +119 -0
- package/dist/replication.d.ts +103 -0
- package/dist/rng.d.ts +17 -0
- package/dist/rules.d.ts +395 -0
- package/dist/rulesCheck.d.ts +37 -0
- package/dist/runes.d.ts +41 -0
- package/dist/save.d.ts +277 -0
- package/dist/scenario.d.ts +56 -0
- package/dist/scheduler.d.ts +67 -0
- package/dist/score.d.ts +306 -0
- package/dist/sequences.d.ts +132 -0
- package/dist/server/doorman.d.ts +21 -0
- package/dist/server/gameServer.d.ts +346 -0
- package/dist/server/index.d.ts +24 -0
- package/dist/server/lobby.d.ts +1 -0
- package/dist/server/log.d.ts +13 -0
- package/dist/server/match.d.ts +24 -0
- package/dist/server/mode.d.ts +168 -0
- package/dist/server/navigation-worker.d.ts +1 -0
- package/dist/server/navigation.d.ts +11 -0
- package/dist/server/ops.d.ts +78 -0
- package/dist/server/packs.d.ts +15 -0
- package/dist/server/ratings.d.ts +62 -0
- package/dist/server/relay.d.ts +34 -0
- package/dist/server/rooms.d.ts +162 -0
- package/dist/server/seat.d.ts +2 -0
- package/dist/server/seatSettings.d.ts +15 -0
- package/dist/server/secret.d.ts +5 -0
- package/dist/server/start.d.ts +54 -0
- package/dist/server/websocket.d.ts +74 -0
- package/dist/server.js +2861 -0
- package/dist/server.js.map +1 -0
- package/dist/session/can.d.ts +20 -0
- package/dist/session/commandReplay.d.ts +92 -0
- package/dist/session/debug.d.ts +65 -0
- package/dist/session/delay.d.ts +15 -0
- package/dist/session/delta.d.ts +98 -0
- package/dist/session/entityState.d.ts +1 -0
- package/dist/session/local.d.ts +214 -0
- package/dist/session/memory.d.ts +27 -0
- package/dist/session/protocol.d.ts +1155 -0
- package/dist/session/remote.d.ts +530 -0
- package/dist/session/replay.d.ts +114 -0
- package/dist/session/seed.d.ts +7 -0
- package/dist/session/share.d.ts +78 -0
- package/dist/session/socket.d.ts +8 -0
- package/dist/session/wire.d.ts +153 -0
- package/dist/session/worker.d.ts +227 -0
- package/dist/shared.d.ts +171 -0
- package/dist/sides.d.ts +75 -0
- package/dist/sight.d.ts +27 -0
- package/dist/simulate-oXBiw1Ff.js +167 -0
- package/dist/simulate-oXBiw1Ff.js.map +1 -0
- package/dist/simulate-worker.d.ts +1 -0
- package/dist/simulate-worker.js +28 -0
- package/dist/simulate-worker.js.map +1 -0
- package/dist/simulate.d.ts +154 -0
- package/dist/smart.d.ts +9 -0
- package/dist/spatial.d.ts +62 -0
- package/dist/spawning.d.ts +33 -0
- package/dist/stances.d.ts +76 -0
- package/dist/start.d.ts +71 -0
- package/dist/stats.d.ts +122 -0
- package/dist/summons.d.ts +63 -0
- package/dist/systems/abilities.d.ts +3 -0
- package/dist/systems/combat.d.ts +71 -0
- package/dist/systems/combatTold.d.ts +14 -0
- package/dist/systems/construction.d.ts +34 -0
- package/dist/systems/economy.d.ts +21 -0
- package/dist/systems/fog.d.ts +19 -0
- package/dist/systems/life.d.ts +3 -0
- package/dist/systems/movement.d.ts +105 -0
- package/dist/systems/orders.d.ts +7 -0
- package/dist/systems/production.d.ts +49 -0
- package/dist/systems/productionQueue.d.ts +40 -0
- package/dist/systems/victory.d.ts +14 -0
- package/dist/talk.d.ts +65 -0
- package/dist/tech.d.ts +62 -0
- package/dist/techTree.d.ts +38 -0
- package/dist/terrain.d.ts +173 -0
- package/dist/terrainSave.d.ts +29 -0
- package/dist/testing.d.ts +58 -0
- package/dist/testing.js +822 -0
- package/dist/testing.js.map +1 -0
- package/dist/tiles.d.ts +34 -0
- package/dist/timers.d.ts +146 -0
- package/dist/tomes.d.ts +48 -0
- package/dist/trade.d.ts +28 -0
- package/dist/transport.d.ts +76 -0
- package/dist/tunables.d.ts +45 -0
- package/dist/upkeep.d.ts +16 -0
- package/dist/veterancy.d.ts +80 -0
- package/dist/walls.d.ts +86 -0
- package/dist/world.d.ts +1118 -0
- package/package.json +80 -5
- package/README.md +0 -3
|
@@ -0,0 +1,710 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Something was made in the world: a unit trained or spawned, a building put down, a tree of the map
|
|
3
|
+
*
|
|
4
|
+
* @beta
|
|
5
|
+
*/
|
|
6
|
+
export declare const entitySpawned: import("./events").EventKey<import("./entity").Entity>;
|
|
7
|
+
/**
|
|
8
|
+
* Something left the world for good: a corpse gone, a building taken down, a unit removed by the rules
|
|
9
|
+
*
|
|
10
|
+
* @beta
|
|
11
|
+
*/
|
|
12
|
+
export declare const entityRemoved: import("./events").EventKey<import("./entity").Entity>;
|
|
13
|
+
/**
|
|
14
|
+
* Something died: what killed it, and how. `cause`: the blow, for what died of damage. `how`: what the rules made
|
|
15
|
+
* of the death in the `death` hook, for the screen to show (`'exploded'`, `'burned'`)
|
|
16
|
+
*
|
|
17
|
+
* @beta
|
|
18
|
+
*/
|
|
19
|
+
export declare const entityDied: import("./events").EventKey<{
|
|
20
|
+
entity: import("./entity").Entity;
|
|
21
|
+
killer?: import("./entity").Entity;
|
|
22
|
+
attack: boolean;
|
|
23
|
+
cause?: import("./world").DeathCause;
|
|
24
|
+
how?: string;
|
|
25
|
+
reason: import("./world").DeathReason;
|
|
26
|
+
}>;
|
|
27
|
+
/**
|
|
28
|
+
* A buff was put on, or put on again (`renewed`, with the level it had before: `previousLevel`)
|
|
29
|
+
*
|
|
30
|
+
* @beta
|
|
31
|
+
*/
|
|
32
|
+
export declare const buffApplied: import("./events").EventKey<{
|
|
33
|
+
target: import("./entity").Entity;
|
|
34
|
+
buff: string;
|
|
35
|
+
level: number;
|
|
36
|
+
source?: import("./entity").Entity;
|
|
37
|
+
renewed: boolean;
|
|
38
|
+
previousLevel?: number;
|
|
39
|
+
}>;
|
|
40
|
+
/**
|
|
41
|
+
* A buff came off: it ran out (`expired`), or was taken off. Not for the buffs of something that dies
|
|
42
|
+
*
|
|
43
|
+
* @beta
|
|
44
|
+
*/
|
|
45
|
+
export declare const buffRemoved: import("./events").EventKey<{
|
|
46
|
+
entity: import("./entity").Entity;
|
|
47
|
+
buff: string;
|
|
48
|
+
expired: boolean;
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* Something took damage: who dealt it, how much, of which type, whether a critical strike, and by an attack or an ability
|
|
52
|
+
*
|
|
53
|
+
* @beta
|
|
54
|
+
*/
|
|
55
|
+
export declare const damaged: import("./events").EventKey<{
|
|
56
|
+
target: import("./entity").Entity;
|
|
57
|
+
source?: import("./entity").Entity;
|
|
58
|
+
amount: number;
|
|
59
|
+
type: import("./defs").DamageType;
|
|
60
|
+
crit: boolean;
|
|
61
|
+
attack: boolean;
|
|
62
|
+
ability?: string;
|
|
63
|
+
tags?: string[];
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* An attack went wide. Where it would have landed, and whom it was for
|
|
67
|
+
*
|
|
68
|
+
* @beta
|
|
69
|
+
*/
|
|
70
|
+
export declare const missed: import("./events").EventKey<{
|
|
71
|
+
x: number;
|
|
72
|
+
z: number;
|
|
73
|
+
source?: import("./entity").Entity;
|
|
74
|
+
target?: import("./entity").Entity;
|
|
75
|
+
}>;
|
|
76
|
+
/**
|
|
77
|
+
* Something was given health back, and by whom
|
|
78
|
+
*
|
|
79
|
+
* @beta
|
|
80
|
+
*/
|
|
81
|
+
export declare const healed: import("./events").EventKey<{
|
|
82
|
+
target: import("./entity").Entity;
|
|
83
|
+
source?: import("./entity").Entity;
|
|
84
|
+
amount: number;
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* A unit began an attack: its swing, at its target where it has one
|
|
88
|
+
*
|
|
89
|
+
* @beta
|
|
90
|
+
*/
|
|
91
|
+
export declare const attackStarted: import("./events").EventKey<{
|
|
92
|
+
attacker: import("./entity").Entity;
|
|
93
|
+
target?: import("./entity").Entity;
|
|
94
|
+
weapon: number;
|
|
95
|
+
}>;
|
|
96
|
+
/**
|
|
97
|
+
* An attack's projectile set off
|
|
98
|
+
*
|
|
99
|
+
* @beta
|
|
100
|
+
*/
|
|
101
|
+
export declare const projectileSpawned: import("./events").EventKey<import("./world").Projectile>;
|
|
102
|
+
/**
|
|
103
|
+
* An attack's projectile landed or was taken away
|
|
104
|
+
*
|
|
105
|
+
* @beta
|
|
106
|
+
*/
|
|
107
|
+
export declare const projectileRemoved: import("./events").EventKey<import("./world").Projectile>;
|
|
108
|
+
/**
|
|
109
|
+
* An attack that hits an area came down
|
|
110
|
+
*
|
|
111
|
+
* @beta
|
|
112
|
+
*/
|
|
113
|
+
export declare const impact: import("./events").EventKey<{
|
|
114
|
+
x: number;
|
|
115
|
+
z: number;
|
|
116
|
+
radius: number;
|
|
117
|
+
owner: import("./entity").PlayerId;
|
|
118
|
+
}>;
|
|
119
|
+
/**
|
|
120
|
+
* A building's site was put down: what it will be, while it goes up
|
|
121
|
+
*
|
|
122
|
+
* @beta
|
|
123
|
+
*/
|
|
124
|
+
export declare const constructionStarted: import("./events").EventKey<import("./entity").Entity>;
|
|
125
|
+
/**
|
|
126
|
+
* A building went up whole and works
|
|
127
|
+
*
|
|
128
|
+
* @beta
|
|
129
|
+
*/
|
|
130
|
+
export declare const constructionFinished: import("./events").EventKey<import("./entity").Entity>;
|
|
131
|
+
/**
|
|
132
|
+
* A construction was called off by its owner: it dies next, with the reason `cancelled`
|
|
133
|
+
*
|
|
134
|
+
* @beta
|
|
135
|
+
*/
|
|
136
|
+
export declare const constructionCancelled: import("./events").EventKey<import("./entity").Entity>;
|
|
137
|
+
/**
|
|
138
|
+
* A building started to turn into another type (`UnitTypeDef.upgradesTo`), over `time` seconds
|
|
139
|
+
*
|
|
140
|
+
* @beta
|
|
141
|
+
*/
|
|
142
|
+
export declare const morphStarted: import("./events").EventKey<{
|
|
143
|
+
entity: import("./entity").Entity;
|
|
144
|
+
into: string;
|
|
145
|
+
time: number;
|
|
146
|
+
}>;
|
|
147
|
+
/**
|
|
148
|
+
* That was called off, or the building died before it was done
|
|
149
|
+
*
|
|
150
|
+
* @beta
|
|
151
|
+
*/
|
|
152
|
+
export declare const morphCancelled: import("./events").EventKey<{
|
|
153
|
+
entity: import("./entity").Entity;
|
|
154
|
+
into: string;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* A building trained a unit: the building, and the unit made
|
|
158
|
+
*
|
|
159
|
+
* @beta
|
|
160
|
+
*/
|
|
161
|
+
export declare const unitTrained: import("./events").EventKey<{
|
|
162
|
+
building: import("./entity").Entity;
|
|
163
|
+
unit: import("./entity").Entity;
|
|
164
|
+
}>;
|
|
165
|
+
/**
|
|
166
|
+
* An entity became another type: `from`, what it was
|
|
167
|
+
*
|
|
168
|
+
* @beta
|
|
169
|
+
*/
|
|
170
|
+
export declare const entityMorphed: import("./events").EventKey<{
|
|
171
|
+
entity: import("./entity").Entity;
|
|
172
|
+
from: string;
|
|
173
|
+
}>;
|
|
174
|
+
/**
|
|
175
|
+
* A player lost: their units and buildings are gone, or the rules said so
|
|
176
|
+
*
|
|
177
|
+
* @beta
|
|
178
|
+
*/
|
|
179
|
+
export declare const playerDefeated: import("./events").EventKey<import("./player").Player>;
|
|
180
|
+
/**
|
|
181
|
+
* A player gave up (see `surrender`): `playerDefeated` follows
|
|
182
|
+
*
|
|
183
|
+
* @beta
|
|
184
|
+
*/
|
|
185
|
+
export declare const playerSurrendered: import("./events").EventKey<{
|
|
186
|
+
player: import("./entity").PlayerId;
|
|
187
|
+
}>;
|
|
188
|
+
/**
|
|
189
|
+
* A player asked for a pause, and the rules let them (see `askPause`): whoever runs the world pauses it, for `seconds` at most
|
|
190
|
+
*
|
|
191
|
+
* @beta
|
|
192
|
+
*/
|
|
193
|
+
export declare const pauseAsked: import("./events").EventKey<{
|
|
194
|
+
player: import("./entity").PlayerId;
|
|
195
|
+
seconds: number;
|
|
196
|
+
left: number;
|
|
197
|
+
}>;
|
|
198
|
+
/**
|
|
199
|
+
* The game ended, with the winning team (`0` for none)
|
|
200
|
+
*
|
|
201
|
+
* @beta
|
|
202
|
+
*/
|
|
203
|
+
export declare const gameOver: import("./events").EventKey<{
|
|
204
|
+
winner: number;
|
|
205
|
+
}>;
|
|
206
|
+
/**
|
|
207
|
+
* The game ended on an error in its rules (`world.failure`): it is not stepped again
|
|
208
|
+
*
|
|
209
|
+
* @beta
|
|
210
|
+
*/
|
|
211
|
+
export declare const worldFailed: import("./events").EventKey<import("./errors").WorldFailure>;
|
|
212
|
+
/**
|
|
213
|
+
* A unit got into a transport (`UnitTypeDef.transport`), or out of one
|
|
214
|
+
*
|
|
215
|
+
* @beta
|
|
216
|
+
*/
|
|
217
|
+
export declare const boarded: import("./events").EventKey<{
|
|
218
|
+
passenger: import("./entity").Entity;
|
|
219
|
+
transport: import("./entity").Entity;
|
|
220
|
+
}>;
|
|
221
|
+
/**
|
|
222
|
+
* A unit was hired at a place that hires (`UnitTypeDef.hires`)
|
|
223
|
+
*
|
|
224
|
+
* @beta
|
|
225
|
+
*/
|
|
226
|
+
export declare const unitHired: import("./events").EventKey<{
|
|
227
|
+
shop: import("./entity").Entity;
|
|
228
|
+
unit: import("./entity").Entity;
|
|
229
|
+
player: import("./entity").PlayerId;
|
|
230
|
+
}>;
|
|
231
|
+
/**
|
|
232
|
+
* A passenger left its transport
|
|
233
|
+
*
|
|
234
|
+
* @beta
|
|
235
|
+
*/
|
|
236
|
+
export declare const unloaded: import("./events").EventKey<{
|
|
237
|
+
passenger: import("./entity").Entity;
|
|
238
|
+
transport: import("./entity").Entity;
|
|
239
|
+
}>;
|
|
240
|
+
/**
|
|
241
|
+
* A hero went up a level
|
|
242
|
+
*
|
|
243
|
+
* @beta
|
|
244
|
+
*/
|
|
245
|
+
export declare const heroLevelUp: import("./events").EventKey<{
|
|
246
|
+
hero: import("./entity").Entity;
|
|
247
|
+
level: number;
|
|
248
|
+
}>;
|
|
249
|
+
/**
|
|
250
|
+
* A hero earned experience (`grantXp`): how much, after `beforeXp`, and the level it is at after it
|
|
251
|
+
*
|
|
252
|
+
* @beta
|
|
253
|
+
*/
|
|
254
|
+
export declare const xpGained: import("./events").EventKey<{
|
|
255
|
+
hero: import("./entity").Entity;
|
|
256
|
+
amount: number;
|
|
257
|
+
level: number;
|
|
258
|
+
from?: import("./entity").Entity;
|
|
259
|
+
}>;
|
|
260
|
+
/**
|
|
261
|
+
* A unit's mana changed by something it did or was given: spent on a cast (`amount` below 0, `ability` the one cast)
|
|
262
|
+
* or given by an effect (above 0). Not its regeneration, which would be every tick
|
|
263
|
+
*
|
|
264
|
+
* @beta
|
|
265
|
+
*/
|
|
266
|
+
export declare const manaChanged: import("./events").EventKey<{
|
|
267
|
+
entity: import("./entity").Entity;
|
|
268
|
+
amount: number;
|
|
269
|
+
ability?: string;
|
|
270
|
+
source?: import("./entity").Entity;
|
|
271
|
+
}>;
|
|
272
|
+
/**
|
|
273
|
+
* A pool of a game's own on a unit (rage, energy, charges) changed: emitted by the game's rules
|
|
274
|
+
* (`world.events.emit('resourceChanged', …)`), heard by the screens of the unit's owner and allies (`resource`)
|
|
275
|
+
*
|
|
276
|
+
* @beta
|
|
277
|
+
*/
|
|
278
|
+
export declare const resourceChanged: import("./events").EventKey<{
|
|
279
|
+
entity: import("./entity").Entity;
|
|
280
|
+
kind: string;
|
|
281
|
+
amount: number;
|
|
282
|
+
reason?: string;
|
|
283
|
+
}>;
|
|
284
|
+
/**
|
|
285
|
+
* A hero came back to life (at an altar, or by the rules)
|
|
286
|
+
*
|
|
287
|
+
* @beta
|
|
288
|
+
*/
|
|
289
|
+
export declare const heroRevived: import("./events").EventKey<import("./entity").Entity>;
|
|
290
|
+
/**
|
|
291
|
+
* A unit began casting an ability, at a point where it has one. `duration`: seconds of the wind-up
|
|
292
|
+
*
|
|
293
|
+
* @beta
|
|
294
|
+
*/
|
|
295
|
+
export declare const castStarted: import("./events").EventKey<{
|
|
296
|
+
caster: import("./entity").Entity;
|
|
297
|
+
ability: import("./defs").AbilityDef;
|
|
298
|
+
point?: import("./math").Vec2;
|
|
299
|
+
duration: number;
|
|
300
|
+
}>;
|
|
301
|
+
/**
|
|
302
|
+
* A channelled ability started to be kept up, or ended: done, or `interrupted`
|
|
303
|
+
*
|
|
304
|
+
* @beta
|
|
305
|
+
*/
|
|
306
|
+
export declare const channelStarted: import("./events").EventKey<{
|
|
307
|
+
caster: import("./entity").Entity;
|
|
308
|
+
ability: import("./defs").AbilityDef;
|
|
309
|
+
duration: number;
|
|
310
|
+
}>;
|
|
311
|
+
/**
|
|
312
|
+
* A channelled ability stopped: run to its end, or broken off (`interrupted`)
|
|
313
|
+
*
|
|
314
|
+
* @beta
|
|
315
|
+
*/
|
|
316
|
+
export declare const channelEnded: import("./events").EventKey<{
|
|
317
|
+
caster: import("./entity").Entity;
|
|
318
|
+
ability: import("./defs").AbilityDef;
|
|
319
|
+
interrupted: boolean;
|
|
320
|
+
}>;
|
|
321
|
+
/**
|
|
322
|
+
* An ability's missile set off
|
|
323
|
+
*
|
|
324
|
+
* @beta
|
|
325
|
+
*/
|
|
326
|
+
export declare const missileSpawned: import("./events").EventKey<import("./world").Missile>;
|
|
327
|
+
/**
|
|
328
|
+
* An ability's missile reached what it was sent at
|
|
329
|
+
*
|
|
330
|
+
* @beta
|
|
331
|
+
*/
|
|
332
|
+
export declare const missileHit: import("./events").EventKey<{
|
|
333
|
+
missile: import("./world").Missile;
|
|
334
|
+
target: import("./entity").Entity;
|
|
335
|
+
}>;
|
|
336
|
+
/**
|
|
337
|
+
* An ability's missile is gone: it hit, or ran out
|
|
338
|
+
*
|
|
339
|
+
* @beta
|
|
340
|
+
*/
|
|
341
|
+
export declare const missileRemoved: import("./events").EventKey<import("./world").Missile>;
|
|
342
|
+
/**
|
|
343
|
+
* An ability went off: who cast it, at what level, at whom or where
|
|
344
|
+
*
|
|
345
|
+
* @beta
|
|
346
|
+
*/
|
|
347
|
+
export declare const abilityCast: import("./events").EventKey<{
|
|
348
|
+
caster: import("./entity").Entity;
|
|
349
|
+
ability: import("./defs").AbilityDef;
|
|
350
|
+
level: number;
|
|
351
|
+
target?: import("./entity").Entity;
|
|
352
|
+
point: import("./math").Vec2;
|
|
353
|
+
charged?: boolean;
|
|
354
|
+
}>;
|
|
355
|
+
/**
|
|
356
|
+
* What an ability set off arrived: a missile hit, a rush ended, the time was up
|
|
357
|
+
*
|
|
358
|
+
* @beta
|
|
359
|
+
*/
|
|
360
|
+
export declare const abilityImpact: import("./events").EventKey<{
|
|
361
|
+
caster: import("./entity").Entity;
|
|
362
|
+
ability: import("./defs").AbilityDef;
|
|
363
|
+
level: number;
|
|
364
|
+
target?: import("./entity").Entity;
|
|
365
|
+
point: import("./math").Vec2;
|
|
366
|
+
radius: number;
|
|
367
|
+
impact?: string;
|
|
368
|
+
}>;
|
|
369
|
+
/**
|
|
370
|
+
* A building finished researching an upgrade: which, and its level now
|
|
371
|
+
*
|
|
372
|
+
* @beta
|
|
373
|
+
*/
|
|
374
|
+
export declare const researchFinished: import("./events").EventKey<{
|
|
375
|
+
building: import("./entity").Entity;
|
|
376
|
+
upgrade: string;
|
|
377
|
+
level: number;
|
|
378
|
+
}>;
|
|
379
|
+
/**
|
|
380
|
+
* An item was put on the ground
|
|
381
|
+
*
|
|
382
|
+
* @beta
|
|
383
|
+
*/
|
|
384
|
+
export declare const itemDropped: import("./events").EventKey<import("./items").GroundItem>;
|
|
385
|
+
/**
|
|
386
|
+
* An item was picked up from the ground
|
|
387
|
+
*
|
|
388
|
+
* @beta
|
|
389
|
+
*/
|
|
390
|
+
export declare const itemPicked: import("./events").EventKey<{
|
|
391
|
+
entity: import("./entity").Entity;
|
|
392
|
+
item: import("./entity").ItemInstance;
|
|
393
|
+
}>;
|
|
394
|
+
/**
|
|
395
|
+
* Every creep of a camp is gone. It comes back after a while, when it says so (see `Camp.respawn`)
|
|
396
|
+
*
|
|
397
|
+
* @beta
|
|
398
|
+
*/
|
|
399
|
+
export declare const campCleared: import("./events").EventKey<{
|
|
400
|
+
camp: import("./camps").Camp;
|
|
401
|
+
}>;
|
|
402
|
+
/**
|
|
403
|
+
* A camp cleared came back, its creeps where they stood (see `respawnCamp`)
|
|
404
|
+
*
|
|
405
|
+
* @beta
|
|
406
|
+
*/
|
|
407
|
+
export declare const campReturned: import("./events").EventKey<{
|
|
408
|
+
camp: import("./camps").Camp;
|
|
409
|
+
}>;
|
|
410
|
+
/**
|
|
411
|
+
* A player marked a spot for their allies, or for everyone (see `ping`)
|
|
412
|
+
*
|
|
413
|
+
* @beta
|
|
414
|
+
*/
|
|
415
|
+
export declare const pinged: import("./events").EventKey<{
|
|
416
|
+
player: import("./entity").PlayerId;
|
|
417
|
+
point: import("./math").Vec2;
|
|
418
|
+
kind: import("./talk").PingKind;
|
|
419
|
+
to: import("./talk").ChatAudience;
|
|
420
|
+
by?: string;
|
|
421
|
+
}>;
|
|
422
|
+
/**
|
|
423
|
+
* A player gave an ally resources (see `give`): how much went, and how much came after the tax
|
|
424
|
+
*
|
|
425
|
+
* @beta
|
|
426
|
+
*/
|
|
427
|
+
export declare const traded: import("./events").EventKey<{
|
|
428
|
+
from: import("./entity").PlayerId;
|
|
429
|
+
to: import("./entity").PlayerId;
|
|
430
|
+
resource: string;
|
|
431
|
+
sent: number;
|
|
432
|
+
received: number;
|
|
433
|
+
}>;
|
|
434
|
+
/**
|
|
435
|
+
* A player traded one resource for another at a rate (see `exchange`): how much of what went, and how much of what came
|
|
436
|
+
*
|
|
437
|
+
* @beta
|
|
438
|
+
*/
|
|
439
|
+
export declare const exchanged: import("./events").EventKey<{
|
|
440
|
+
player: import("./entity").PlayerId;
|
|
441
|
+
sold: string;
|
|
442
|
+
sent: number;
|
|
443
|
+
bought: string;
|
|
444
|
+
received: number;
|
|
445
|
+
}>;
|
|
446
|
+
/**
|
|
447
|
+
* A player said a line (see `chat`): to their side, or to everyone
|
|
448
|
+
*
|
|
449
|
+
* @beta
|
|
450
|
+
*/
|
|
451
|
+
export declare const chatted: import("./events").EventKey<{
|
|
452
|
+
player: import("./entity").PlayerId;
|
|
453
|
+
text: string;
|
|
454
|
+
to: import("./talk").ChatAudience;
|
|
455
|
+
by?: string;
|
|
456
|
+
}>;
|
|
457
|
+
/**
|
|
458
|
+
* What a unit carries changed: an item given, taken, bought, sold, used up, or a hero carried in with theirs
|
|
459
|
+
*
|
|
460
|
+
* @beta
|
|
461
|
+
*/
|
|
462
|
+
export declare const inventoryChanged: import("./events").EventKey<{
|
|
463
|
+
entity: import("./entity").Entity;
|
|
464
|
+
}>;
|
|
465
|
+
/**
|
|
466
|
+
* A player was paid for a kill: the unit killed, who was paid, how much
|
|
467
|
+
*
|
|
468
|
+
* @beta
|
|
469
|
+
*/
|
|
470
|
+
export declare const bounty: import("./events").EventKey<{
|
|
471
|
+
entity: import("./entity").Entity;
|
|
472
|
+
player: import("./entity").PlayerId;
|
|
473
|
+
amount: number;
|
|
474
|
+
}>;
|
|
475
|
+
/**
|
|
476
|
+
* A worker struck what it is mending
|
|
477
|
+
*
|
|
478
|
+
* @beta
|
|
479
|
+
*/
|
|
480
|
+
export declare const worked: import("./events").EventKey<{
|
|
481
|
+
worker: import("./entity").Entity;
|
|
482
|
+
target: import("./entity").Entity;
|
|
483
|
+
}>;
|
|
484
|
+
/**
|
|
485
|
+
* A worker struck the tree it is working on
|
|
486
|
+
*
|
|
487
|
+
* @beta
|
|
488
|
+
*/
|
|
489
|
+
export declare const chopped: import("./events").EventKey<{
|
|
490
|
+
worker: import("./entity").Entity;
|
|
491
|
+
source: import("./entity").Entity;
|
|
492
|
+
}>;
|
|
493
|
+
/**
|
|
494
|
+
* A worker handed in what it carried: `amount` as it went into the purse, `upkeep` what upkeep took of it at the door
|
|
495
|
+
*
|
|
496
|
+
* @beta
|
|
497
|
+
*/
|
|
498
|
+
export declare const resourcesDeposited: import("./events").EventKey<{
|
|
499
|
+
entity: import("./entity").Entity;
|
|
500
|
+
player: import("./entity").PlayerId;
|
|
501
|
+
kind: import("./defs").ResourceKind;
|
|
502
|
+
amount: number;
|
|
503
|
+
upkeep?: number;
|
|
504
|
+
}>;
|
|
505
|
+
/**
|
|
506
|
+
* A player paid for something (`spend`), or was given back what they paid (`refund`, `giveBack`): `on` what (`unit`,
|
|
507
|
+
* `upgrade`, `structure`, `item`, `hire`, `repair`... or a game's own word), and its id
|
|
508
|
+
*
|
|
509
|
+
* @beta
|
|
510
|
+
*/
|
|
511
|
+
export declare const resourcesSpent: import("./events").EventKey<{
|
|
512
|
+
player: import("./entity").PlayerId;
|
|
513
|
+
cost: import("./defs").Cost;
|
|
514
|
+
on: import("./player").SpentOn;
|
|
515
|
+
id?: string;
|
|
516
|
+
refund: boolean;
|
|
517
|
+
}>;
|
|
518
|
+
/**
|
|
519
|
+
* A command, or a part of one, that a player's own client never sends: not what it says it is (an unknown type, a
|
|
520
|
+
* field missing or of the wrong kind), or naming another player's unit, or a unit there never was. What a race makes
|
|
521
|
+
* (an order to a unit that has just died) is not one. A server counts these against whoever sent them (`onCheat`);
|
|
522
|
+
* a game's own commands may emit it too
|
|
523
|
+
*/
|
|
524
|
+
/**
|
|
525
|
+
* A command turned away (`RejectedKind`: why, for what counts them, as a server's cheat counter does), with the
|
|
526
|
+
* reason in words for the log
|
|
527
|
+
*
|
|
528
|
+
* @beta
|
|
529
|
+
*/
|
|
530
|
+
export declare const commandRejected: import("./events").EventKey<{
|
|
531
|
+
player?: import("./entity").PlayerId;
|
|
532
|
+
type?: string;
|
|
533
|
+
kind: import("./errors").RejectedKind;
|
|
534
|
+
reason: string;
|
|
535
|
+
}>;
|
|
536
|
+
/**
|
|
537
|
+
* A command that came with a number of its sender's (`seq`) was carried out: refused with the first error the player was told, or not
|
|
538
|
+
*
|
|
539
|
+
* @beta
|
|
540
|
+
*/
|
|
541
|
+
export declare const commandHandled: import("./events").EventKey<{
|
|
542
|
+
player: import("./entity").PlayerId;
|
|
543
|
+
seq: number;
|
|
544
|
+
refusal?: import("./messages").Message;
|
|
545
|
+
}>;
|
|
546
|
+
/**
|
|
547
|
+
* Feedback for a player, like "Not enough gold": what the client finds the words for
|
|
548
|
+
*
|
|
549
|
+
* @beta
|
|
550
|
+
*/
|
|
551
|
+
export declare const messageSent: import("./events").EventKey<{
|
|
552
|
+
player: import("./entity").PlayerId;
|
|
553
|
+
message: import("./messages").Message;
|
|
554
|
+
kind: import("./world").MessageKind;
|
|
555
|
+
seconds?: number;
|
|
556
|
+
}>;
|
|
557
|
+
/**
|
|
558
|
+
* A unit walked into an area of the game (`GameModule.areas`)
|
|
559
|
+
*
|
|
560
|
+
* @beta
|
|
561
|
+
*/
|
|
562
|
+
export declare const enteredArea: import("./events").EventKey<{
|
|
563
|
+
area: string;
|
|
564
|
+
entity: import("./entity").Entity;
|
|
565
|
+
}>;
|
|
566
|
+
/**
|
|
567
|
+
* A unit walked out of one. What dies in an area is not said to leave it
|
|
568
|
+
*
|
|
569
|
+
* @beta
|
|
570
|
+
*/
|
|
571
|
+
export declare const leftArea: import("./events").EventKey<{
|
|
572
|
+
area: string;
|
|
573
|
+
entity: import("./entity").Entity;
|
|
574
|
+
}>;
|
|
575
|
+
/**
|
|
576
|
+
* An objective of a player was given (`was` undefined), got further along, was done or failed
|
|
577
|
+
*
|
|
578
|
+
* @beta
|
|
579
|
+
*/
|
|
580
|
+
export declare const objectiveChanged: import("./events").EventKey<{
|
|
581
|
+
player: import("./entity").PlayerId;
|
|
582
|
+
objective: import("./objectives").ObjectiveState;
|
|
583
|
+
was?: import("./objectives").ObjectiveStatus;
|
|
584
|
+
}>;
|
|
585
|
+
/**
|
|
586
|
+
* Someone said a line, to some players or everyone (see `world.dialog`)
|
|
587
|
+
*
|
|
588
|
+
* @beta
|
|
589
|
+
*/
|
|
590
|
+
export declare const lineSaid: import("./events").EventKey<import("./dialog").SaidLine>;
|
|
591
|
+
/**
|
|
592
|
+
* A line was skipped by whom it was said to: it ends early for them
|
|
593
|
+
*
|
|
594
|
+
* @beta
|
|
595
|
+
*/
|
|
596
|
+
export declare const lineEnded: import("./events").EventKey<{
|
|
597
|
+
id: number;
|
|
598
|
+
to: import("./entity").PlayerId[];
|
|
599
|
+
}>;
|
|
600
|
+
/**
|
|
601
|
+
* A player went over to another team (`setTeam`)
|
|
602
|
+
*
|
|
603
|
+
* @beta
|
|
604
|
+
*/
|
|
605
|
+
export declare const teamChanged: import("./events").EventKey<{
|
|
606
|
+
player: import("./entity").PlayerId;
|
|
607
|
+
from: number;
|
|
608
|
+
to: number;
|
|
609
|
+
}>;
|
|
610
|
+
/**
|
|
611
|
+
* The rules marked a moment to start again from, like the start of a wave: a session keeps a save of it
|
|
612
|
+
*
|
|
613
|
+
* @beta
|
|
614
|
+
*/
|
|
615
|
+
export declare const checkpoint: import("./events").EventKey<{
|
|
616
|
+
label: import("./messages").Message;
|
|
617
|
+
}>;
|
|
618
|
+
/**
|
|
619
|
+
* The rules play one of the view's cinematics on the screens of some players, or everyone's (see `playCinematic`)
|
|
620
|
+
*
|
|
621
|
+
* @beta
|
|
622
|
+
*/
|
|
623
|
+
export declare const cinematicCue: import("./events").EventKey<import("./cinematics").CinematicCue>;
|
|
624
|
+
/**
|
|
625
|
+
* The rules cue the cinematic playing on some screens, or everyone's (see `cueCinematic`)
|
|
626
|
+
*
|
|
627
|
+
* @beta
|
|
628
|
+
*/
|
|
629
|
+
export declare const cinematicCued: import("./events").EventKey<import("./cinematics").CinematicCueSent>;
|
|
630
|
+
/**
|
|
631
|
+
* A cinematic the rules played is over on a player's screen, as their screen said (see `cinematic`'s `wait`)
|
|
632
|
+
*
|
|
633
|
+
* @beta
|
|
634
|
+
*/
|
|
635
|
+
export declare const cinematicEnded: import("./events").EventKey<import("./cinematics").CinematicEnded>;
|
|
636
|
+
/**
|
|
637
|
+
* A player picked an answer of a cinematic's choice, as their screen said (see `cinematicChose`)
|
|
638
|
+
*
|
|
639
|
+
* @beta
|
|
640
|
+
*/
|
|
641
|
+
export declare const cinematicChoice: import("./events").EventKey<import("./cinematics").CinematicChoice>;
|
|
642
|
+
/**
|
|
643
|
+
* The rules play one of the view's effects at a place or on an entity, for everyone who sees it (see `world.effect`)
|
|
644
|
+
*
|
|
645
|
+
* @beta
|
|
646
|
+
*/
|
|
647
|
+
export declare const effectStarted: import("./events").EventKey<import("./effects").EffectCue>;
|
|
648
|
+
/**
|
|
649
|
+
* The rules stop an effect they played (see `world.stopEffect`)
|
|
650
|
+
*
|
|
651
|
+
* @beta
|
|
652
|
+
*/
|
|
653
|
+
export declare const effectStopped: import("./events").EventKey<{
|
|
654
|
+
id: number;
|
|
655
|
+
fade?: number;
|
|
656
|
+
}>;
|
|
657
|
+
/**
|
|
658
|
+
* One hidden in a layer of cells moved in it, or stepped into it (`ConcealmentOptions.rustle`): told to the teams
|
|
659
|
+
* it names that do not see it (all of them, where none are named), where they see the ground, as a shake of what the
|
|
660
|
+
* layer draws there
|
|
661
|
+
*
|
|
662
|
+
* @beta
|
|
663
|
+
*/
|
|
664
|
+
export declare const rustled: import("./events").EventKey<{
|
|
665
|
+
layer: string;
|
|
666
|
+
entity: import("./entity").Entity;
|
|
667
|
+
x: number;
|
|
668
|
+
z: number;
|
|
669
|
+
entered: boolean;
|
|
670
|
+
teams?: number[];
|
|
671
|
+
}>;
|
|
672
|
+
/**
|
|
673
|
+
* Cells of a layer (`Terrain.cells`) were set to a value (`setCells`): told to the players who see them, the others as
|
|
674
|
+
* they come into sight (`cellsSeen`)
|
|
675
|
+
*
|
|
676
|
+
* @beta
|
|
677
|
+
*/
|
|
678
|
+
export declare const cellsChanged: import("./events").EventKey<{
|
|
679
|
+
layer: string;
|
|
680
|
+
cells: number[];
|
|
681
|
+
value: number;
|
|
682
|
+
}>;
|
|
683
|
+
/**
|
|
684
|
+
* A part of the ground was reshaped (`World.reshapeGround`): told to every player
|
|
685
|
+
*
|
|
686
|
+
* @beta
|
|
687
|
+
*/
|
|
688
|
+
export declare const groundReshaped: import("./events").EventKey<{
|
|
689
|
+
patch: import("./ground").TerrainPatch;
|
|
690
|
+
}>;
|
|
691
|
+
/**
|
|
692
|
+
* Cells of a layer that changed out of a team's sight came into it (`TeamMemory.cells`): told to that team's players
|
|
693
|
+
*
|
|
694
|
+
* @beta
|
|
695
|
+
*/
|
|
696
|
+
export declare const cellsSeen: import("./events").EventKey<{
|
|
697
|
+
team: number;
|
|
698
|
+
layer: string;
|
|
699
|
+
cells: number[];
|
|
700
|
+
value: number;
|
|
701
|
+
}>;
|
|
702
|
+
/** What the map looks like beyond its ground changed (`setEnvironment`): as it is now, told to every player */
|
|
703
|
+
/** `over`: the seconds the screens ease into it over, where the rules said
|
|
704
|
+
*
|
|
705
|
+
* @beta
|
|
706
|
+
*/
|
|
707
|
+
export declare const environmentChanged: import("./events").EventKey<{
|
|
708
|
+
environment: import("./map").MapEnvironment;
|
|
709
|
+
over?: number;
|
|
710
|
+
}>;
|