优化
This commit is contained in:
parent
3a82f1cda8
commit
6dc3be91f6
@ -3,17 +3,17 @@ package msg
|
||||
import "server/game/mod/item"
|
||||
|
||||
type Msg struct {
|
||||
Type int // 消息类型
|
||||
To int // 接收者
|
||||
From int // 发送者
|
||||
Item []*item.Item // 物品
|
||||
SendT int64 // 发送时间
|
||||
End int64 // 过期时间
|
||||
Extra interface{} //额外信息
|
||||
Id int64
|
||||
UniKey string // 回调监听唯一键值
|
||||
H int //处理类型
|
||||
HandleType int //处理类型
|
||||
Type int `json:"type"` // 消息类型
|
||||
To int `json:"to"` // 接收者
|
||||
From int `json:"from"` // 发送者
|
||||
Item []*item.Item `json:"item"` // 物品
|
||||
SendT int64 `json:"sendT"` // 发送时间
|
||||
End int64 `json:"end"` // 过期时间
|
||||
Extra interface{} `json:"extra"` //额外信息
|
||||
Id int64 `json:"id"`
|
||||
UniKey string `json:"uniKey"` // 回调监听唯一键值
|
||||
H int `json:"h"` //处理类型
|
||||
HandleType int `json:"handleType"` //处理类型
|
||||
}
|
||||
|
||||
type VarData struct {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user