WirePatch beta
Interface of @v12-engine/engine
ts
export interface WirePatchA list or an object sent as the parts of it that changed ($patch): by index for a list as long as the one before, by key for an object, each part whole or a patch of its own, and the keys of an object that are gone ($unset). What a cooldown of one ability of four, or the gold of one player, sends in place of all of them
Members
$patch
ts
$patch: Record<string, unknown>;The parts that changed, by index or key: each the part whole, or a patch of its own
$unset
ts
$unset?: string[];The keys of an object that are gone