Skip to content

five-on-it / packages/protocol/src/cops / RoleCommand

Variable: RoleCommand ​

const RoleCommand: ZodObject<{ role: ZodEnum<{ dispatcher: "dispatcher"; driver: "driver"; gunner: "gunner"; hacker: "hacker"; medic: "medic"; none: "none"; }>; type: ZodLiteral<"role">; }, $strip>

Defined in: packages/protocol/src/cops.ts:84

The role a run's player takes in their team (P2, P3); none gives it up.