清理代码注释和优化返回值处理

This commit is contained in:
1
2025-08-11 07:25:18 +00:00
parent b8166892dc
commit d075ec0676
4 changed files with 5 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ import (
type Player struct {
MainConn Conn
UserID uint32 //用户ID
IsLogin bool //是否登录 //TODO 待实现登录包为第一个包,后续再发其他的包
IsLogin bool //是否登录
mu sync.Mutex
loginChan chan struct{} // 登录完成通知通道