mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-23 06:53:02 +00:00
have client create player id
This commit is contained in:
@@ -55,6 +55,7 @@ export const AttackIntentSchema = BaseIntentSchema.extend({
|
||||
|
||||
export const SpawnIntentSchema = BaseIntentSchema.extend({
|
||||
type: z.literal('spawn'),
|
||||
playerID: z.string(),
|
||||
name: z.string(),
|
||||
playerType: PlayerTypeSchema,
|
||||
x: z.number(),
|
||||
|
||||
Reference in New Issue
Block a user