refactor(fight): 优化战斗逻辑代码结构,清理冗余代码

This commit is contained in:
1
2025-11-05 22:34:03 +00:00
parent 4263e4050c
commit f687599d1a

View File

@@ -217,7 +217,8 @@ func NewClientData(c gnet.Conn) *ClientData {
cd := &ClientData{ cd := &ClientData{
Conn: c, Conn: c,
Wsmsg: &WsCodec{},
} }
cd.LF = lockfree.NewLockfree[[]byte]( cd.LF = lockfree.NewLockfree[[]byte](
1024*1024, 1024*1024,