fix
This commit is contained in:
@@ -27,9 +27,10 @@ type chatMsg struct {
|
||||
|
||||
// lobbyPlayer یک بازیکن در اتاق انتظارِ میز خصوصی.
|
||||
type lobbyPlayer struct {
|
||||
Name string `json:"name"`
|
||||
Host bool `json:"host"`
|
||||
Seat int `json:"seat"` // جایگاهِ مطلق (۰..۳)
|
||||
Name string `json:"name"`
|
||||
Avatar string `json:"avatar"` // seed آواتارِ کاربر
|
||||
Host bool `json:"host"`
|
||||
Seat int `json:"seat"` // جایگاهِ مطلق (۰..۳)
|
||||
}
|
||||
|
||||
// tableLobbyMsg وضعیت اتاق انتظارِ میز خصوصی (دورهمی).
|
||||
@@ -64,6 +65,7 @@ type PlayerInfo struct {
|
||||
Connected bool `json:"connected"`
|
||||
Coins int64 `json:"coins"`
|
||||
RankTier string `json:"rank_tier"` // bronze..king (برای نشانِ رتبه)
|
||||
Avatar string `json:"avatar"` // seed آواتارِ کاربر
|
||||
}
|
||||
|
||||
// matchedMsg به کلاینت پس از تشکیل میز.
|
||||
|
||||
Reference in New Issue
Block a user