defineDebugCommand beta
Function of @v12-engine/engine/debug
ts
export declare function defineDebugCommand<const T extends string, F extends Fields>(type: T, fields: F, execute: (world: World, player: PlayerId, command: Checked<F>) => void): DefinedCommand<T, F>;A debug command of a game's or a scene's own: one that goes through only for players allowed the debug tools (world.debugPlayers), and tells others so. Otherwise like defineCommand