feat: add private and profile

This commit is contained in:
2026-06-17 11:32:51 +03:30
parent 02060a4dc0
commit 0827858752
23 changed files with 972 additions and 25 deletions
+4 -3
View File
@@ -31,9 +31,10 @@ type Client struct {
closeOnce sync.Once
// توسط goroutine هاب ست می‌شوند (تک‌نویسنده) و فقط توسط آن خوانده می‌شوند.
room *Room
seat int
tier string // نوع میزی که در صفش است (برای تسویه)
room *Room
seat int
tier string // نوع میزی که در صفش است (برای تسویه)
tableCode string // کدِ میز خصوصیِ در انتظار (پیش از شروع بازی)
}
// close اتصال را یک‌بار به‌صورت امن می‌بندد.