mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 17:53:29 +00:00
use structed logging
This commit is contained in:
+2
-2
@@ -114,9 +114,9 @@ export const ClientIntentMessageSchema = ClientBaseMessageSchema.extend({
|
||||
export const ClientJoinMessageSchema = ClientBaseMessageSchema.extend({
|
||||
type: z.literal('join'),
|
||||
clientID: z.string(),
|
||||
clientIP: z.string().nullable(),
|
||||
gameID: z.string(),
|
||||
// The last turn the client saw.
|
||||
lastTurn: z.number()
|
||||
lastTurn: z.number() // The last turn the client saw.
|
||||
})
|
||||
|
||||
export const ClientLeaveMessageSchema = ClientBaseMessageSchema.extend({
|
||||
|
||||
Reference in New Issue
Block a user