This commit is contained in:
hahwu 2026-03-09 11:50:27 +08:00
parent 3a82f1cda8
commit 6dc3be91f6

View File

@ -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 {