28 lines
466 B
Go
28 lines
466 B
Go
package old
|
|
|
|
type ItemPair struct {
|
|
ItemId uint32 `json:"ItemId"` //物品ID
|
|
ItemNum uint32 `json:"ItemNum"` //物品数量
|
|
}
|
|
|
|
type MsgRewardListAck struct {
|
|
RewardList []*ItemPair `json:"RewardList,omitempty"`
|
|
}
|
|
|
|
type Item struct {
|
|
ItemPair
|
|
}
|
|
|
|
type MsgItemListAck struct {
|
|
List []*Item `json:"List,omitempty"`
|
|
}
|
|
|
|
type ItemChange struct {
|
|
*Item
|
|
ChangeType uint32 `json:"ChangeType"`
|
|
}
|
|
|
|
type MsgItemChangeListAck struct {
|
|
List []*ItemChange `json:"List"`
|
|
}
|