Files
bl/logic/service/item/item.go

33 lines
760 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package item
import (
"blazing/logic/service/player"
"blazing/modules/blazing/model"
)
// 实现了入站消息接口Go中通过方法集隐式实现
type ItemListInboundInfo struct {
Head player.TomeeHeader `cmd:"2605" struc:"[0]pad"`
// 查询物品id的开始
Param1 uint32
// 查询物品id的结尾
Param2 uint32
// 默认值2
Param3 uint32
}
type ItemListOutboundInfo struct {
// 物品列表,
ItemListLen uint32 `struc:"sizeof=ItemList"`
ItemList []model.SingleItemInfo
}
type GoldOnlineRemainInboundInfo struct {
Head player.TomeeHeader `cmd:"1106" struc:"[0]pad"`
}
type GoldOnlineRemainOutboundInfo struct {
// GoldNumber 金豆数量(后端返回实际数量需要*100
GoldNumber uint32 `json:"goldNumber" `
}