ecs/proto/old/external_game_item.go
2025-06-04 18:17:39 +08:00

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"`
}