five-on-it / packages/protocol/src/cops / CopsMessage
Variable: CopsMessage
constCopsMessage:ZodObject<{bounties:ZodObject<{list:ZodArray<ZodObject<{amount:ZodNumber;client:ZodNumber;name:ZodString;stars:ZodNumber;x:ZodOptional<ZodNumber>;z:ZodOptional<ZodNumber>; },$strip>>;on:ZodBoolean; },$strip>;cop:ZodOptional<ZodObject<{budget:ZodNumber;costs:ZodArray<ZodNumber>;cuff:ZodOptional<ZodObject<{client:ZodNumber;progress:ZodNumber; },$strip>>;dispatcher:ZodBoolean;last:ZodOptional<ZodObject<{answer:ZodEnum<{budget:"budget";cooldown:"cooldown";dispatcherOnly:"dispatcherOnly";failed:"failed";noBuilding:"noBuilding";noRoad:"noRoad";noSuspect:"noSuspect";notCop:"notCop";ok:"ok";rate:"rate";room:"room"; }>;n:ZodNumber;order:ZodEnum<{cruiser:"cruiser";drone:"drone";roadblock:"roadblock";swat:"swat"; }>; },$strip>>;max:ZodNumber;ready:ZodArray<ZodNumber>;suspects:ZodArray<ZodObject<{age:ZodNumber;client:ZodNumber;name:ZodOptional<ZodString>;stars:ZodNumber;x:ZodNumber;z:ZodNumber; },$strip>>;units:ZodArray<ZodObject<{kind:ZodEnum<{cruiser:"cruiser";drone:"drone";roadblock:"roadblock";swat:"swat"; }>;seconds:ZodNumber;x:ZodNumber;z:ZodNumber; },$strip>>; },$strip>>;transports:ZodArray<ZodObject<{captive:ZodBoolean;id:ZodNumber;name:ZodOptional<ZodString>;rear:ZodObject<{x:ZodNumber;z:ZodNumber; },$strip>;rescue:ZodNumber;still:ZodBoolean;to:ZodObject<{x:ZodNumber;z:ZodNumber; },$strip>;x:ZodNumber;z:ZodNumber; },$strip>>;type:ZodLiteral<"cops">; },$strip>
Defined in: packages/protocol/src/cops.ts:201
One player's view of the cops, the transports and the bounty board, sent when it changes.