mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-14 02:42:27 +08:00
优化架构
This commit is contained in:
6
gate/entity/gm/kick_player_info.go
Normal file
6
gate/entity/gm/kick_player_info.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package gm
|
||||
|
||||
type KickPlayerInfo struct {
|
||||
UserId uint32
|
||||
Reason uint32
|
||||
}
|
||||
11
gate/entity/gm/online_user_info.go
Normal file
11
gate/entity/gm/online_user_info.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package gm
|
||||
|
||||
type OnlineUserList struct {
|
||||
UserList []*OnlineUserInfo `json:"userList"`
|
||||
}
|
||||
|
||||
type OnlineUserInfo struct {
|
||||
Uid uint32 `json:"uid"`
|
||||
ConvId uint64 `json:"convId"`
|
||||
Addr string `json:"addr"`
|
||||
}
|
||||
Reference in New Issue
Block a user