BlueGit

timfa questward

Files

questward / server / src / simulation / protocol.js

protocol.js

protocol.js 1.7 KiB Download Raw
1export const WorkerMessage = Object.freeze({
2 configure: "configure",
3 assignRegion: "assignRegion",
4 dropRegion: "dropRegion",
5 replaceRegionChunks: "replaceRegionChunks",
6 setReplicas: "setReplicas",
7 setSimulatingChunks: "setSimulatingChunks",
8 setGhosts: "setGhosts",
9 spawn: "spawn",
10 despawn: "despawn",
11 despawnCharacter: "despawnCharacter",
12 reattachSession: "reattachSession",
13 command: "command",
14 stepMovement: "stepMovement",
15 applyTransfer: "applyTransfer",
16 commitTransfer: "commitTransfer",
17 abortTransfer: "abortTransfer",
18 snapshotChunk: "snapshotChunk",
19 listLoaders: "listLoaders",
20 listPublicEntities: "listPublicEntities",
21 entitiesInRegion: "entitiesInRegion",
22 inspect: "inspect",
23 inspectBag: "inspectBag",
24 inspectSkills: "inspectSkills",
25 inspectSpells: "inspectSpells",
26 applyBag: "applyBag",
27 updateFlight: "updateFlight",
28 chunkIsSimulating: "chunkIsSimulating",
29 setGroundItems: "setGroundItems",
30 stepSpawners: "stepSpawners",
31 stepSystems: "stepSystems",
32 inspectStamina: "inspectStamina",
33 remoteCombatEngage: "remoteCombatEngage",
34 applyRemoteMelee: "applyRemoteMelee",
35 applyRemoteRanged: "applyRemoteRanged",
36 applyCombatHitXp: "applyCombatHitXp",
37 spawnCorpseDrops: "spawnCorpseDrops",
38 applyRespawn: "applyRespawn",
39 relocateEntity: "relocateEntity",
40 clearCombat: "clearCombat",
41 setItemLastSales: "setItemLastSales",
42 stationExchangeClerk: "stationExchangeClerk",
43 releaseExchangeClerk: "releaseExchangeClerk",
44 applyAppearance: "applyAppearance",
45 applySkullValue: "applySkullValue",
46 engageTarget: "engageTarget",
47 listTownGuardsNear: "listTownGuardsNear",
48 pinDialogue: "pinDialogue",
49 unpinDialogue: "unpinDialogue",
50 setSpellAutoCast: "setSpellAutoCast",
51 inspectCombatState: "inspectCombatState"
52});