网络游戏初步接入

This commit is contained in:
2024-10-18 15:11:40 +08:00
parent 263a57f636
commit b27d2b80f7
12 changed files with 306 additions and 67 deletions
+5 -2
View File
@@ -1,6 +1,9 @@
package models
type GameMessage struct {
UserID string `json:"user_id"`
Pos int `json:"pos"`
Router string `json:"router"`
User *Users `json:"user_id"`
Pos int `json:"pos"`
GameType int
GameUuid string
}