Single module modding
This commit is contained in:
+2
-2
@@ -166,7 +166,7 @@ export type ClientMessage =
|
||||
| { type: "chat"; text: string }
|
||||
// what could come next in a command being typed, answered with suggestions. id matches them up
|
||||
| { type: "suggest"; id: number; text: string }
|
||||
// a mod's client script talking to its server script, see ctx.net
|
||||
// a mod's client phase talking to its server phase, see ctx.net
|
||||
| { type: "mod"; channel: string; data: unknown };
|
||||
|
||||
export type ServerMessage =
|
||||
@@ -304,7 +304,7 @@ export type ServerMessage =
|
||||
// the player's own effects that show an icon, when they change. duration is in ticks, -1 for forever, and the
|
||||
// client counts it down itself, so it isn't sent every tick
|
||||
| { type: "effects"; effects: { id: string; amplifier: number; duration: number }[] }
|
||||
// a mod's server script talking to its client script, see ctx.net
|
||||
// a mod's server phase talking to its client phase, see ctx.net
|
||||
| { type: "mod"; channel: string; data: unknown };
|
||||
|
||||
export const MAX_NAME_LENGTH = 16;
|
||||
|
||||
Reference in New Issue
Block a user