Logo
Explore Help
Register Sign In
admin/bl
1
0
Fork 0
You've already forked bl
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
feabc7153a702ee135492ac567d2dbd2ec10f852
bl/common/core/global.go

11 lines
128 B
Go
Raw Normal View History

refactor(logic): 重构逻辑模块 - 移除了 player.go 中的 SendPackBytes 方法 - 将 TomeeHeader 中的 CMDID 改为 CMD,类型从 uint32 改为 EnumCommandID - 删除了 controller 文件夹下的 service.go 和 login.go - 新增了 login 文件夹下的 PlayerLoginService.go - 优化了 main.go 中的 Start 函数,使用 controller.Recv 作为回调
2025-06-26 23:20:11 +08:00
package core
import (
"sync"
)
var (
Mainplayer sync.Map //玩家数据
Maincmdcache sync.Map //命令缓存
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 24.7.0 Page: 30ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API