chore(vscode): 更新调试配置并删除无用的 API 代码

- 在 .vscode/launch.json 中添加了新的 Go 调试配置项
- 删除了 blazing/common/api 目录下未使用的 Kick.pb.go 和 Quit.pb.go 文件
This commit is contained in:
2025-07-06 19:31:30 +08:00
parent 83ecb90baf
commit 53da82df82
17 changed files with 279 additions and 1453 deletions

View File

@@ -38,3 +38,8 @@ func NewPlayer(opts ...PlayerOption) *Player {
func (p *Player) GetUserID() uint32 {
return p.UserID
}
func (p *Player) SendPack(b []byte) error {
_, err := p.MainConn.Write(b)
return err
}