feat(login): 初始化玩家登录信息中的 Nonono

This commit is contained in:
2025-10-20 00:23:16 +08:00
parent e12155f86f
commit d673ee4776
9 changed files with 124 additions and 67 deletions

View File

@@ -87,7 +87,11 @@ func (h *Controller) Login(data *user.MAIN_LOGIN_IN, c gnet.Conn) (result *user.
result = user.NewOutInfo() //设置登录消息
result.PlayerInfo = *t.Info
for i := 0; i < 80; i++ {
result.PlayerInfo.NonoChipList[i] = 255
}
result.NONO.SuperNono = 1
defer func() {
tt := maps.NewOutInfo()
copier.CopyWithOption(tt, t.Info, copier.Option{DeepCopy: true})