WorldWatcher beta
Interface of @v12-engine/engine
ts
export interface WorldWatcherWhat watches a world from outside (World.watch): told of each command a player gives it, each save taken of it, and each tick it ran
Members
command
ts
command?(command: IssuedCommand): void;A command given from outside a tick, before the tick it is applied at runs
saved
ts
saved?(): void;A save was taken, which put the world's crowd back as a load puts it
stepped
ts
stepped?(): void;A tick ran