This commit is contained in:
@@ -2,18 +2,21 @@ package controller
|
||||
|
||||
import "blazing/logic/service/common"
|
||||
|
||||
// BuyInboundInfo 定义请求或响应数据结构。
|
||||
type BuyInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2601" struc:"skip"`
|
||||
ItemId int64 `struc:"uint32"`
|
||||
Count int64 `struc:"uint32"`
|
||||
}
|
||||
|
||||
// BuyMultiInboundInfo 定义请求或响应数据结构。
|
||||
type BuyMultiInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2606" struc:"skip"`
|
||||
ItemListLen uint32 `struc:"sizeof=ItemIds"`
|
||||
ItemIds []uint32 `json:"itemIds" description:"购买的物品ID列表"`
|
||||
}
|
||||
|
||||
// C2S_GOLD_BUY_PRODUCT 定义请求或响应数据结构。
|
||||
type C2S_GOLD_BUY_PRODUCT struct {
|
||||
Head common.TomeeHeader `cmd:"1104" struc:"skip"`
|
||||
Type uint32 `json:"type"`
|
||||
@@ -21,6 +24,7 @@ type C2S_GOLD_BUY_PRODUCT struct {
|
||||
Count int64 `struc:"uint32"`
|
||||
}
|
||||
|
||||
// ItemListInboundInfo 定义请求或响应数据结构。
|
||||
type ItemListInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2605|4475" struc:"skip"`
|
||||
Param1 uint32
|
||||
@@ -28,36 +32,43 @@ type ItemListInboundInfo struct {
|
||||
Param3 uint32
|
||||
}
|
||||
|
||||
// GoldOnlineRemainInboundInfo 定义请求或响应数据结构。
|
||||
type GoldOnlineRemainInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"1105|1106" struc:"skip"`
|
||||
}
|
||||
|
||||
// ExpTotalRemainInboundInfo 定义请求或响应数据结构。
|
||||
type ExpTotalRemainInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2319" struc:"skip"`
|
||||
}
|
||||
|
||||
// ChangePlayerClothInboundInfo 定义请求或响应数据结构。
|
||||
type ChangePlayerClothInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2604" struc:"skip"`
|
||||
ClothesLen uint32 `struc:"sizeof=ClothList" fieldDesc:"穿戴装备的信息" json:"clothes_len"`
|
||||
ClothList []uint32 `description:"玩家装备列表" codec:"list"`
|
||||
}
|
||||
|
||||
// TalkCountInboundInfo 定义请求或响应数据结构。
|
||||
type TalkCountInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2701" struc:"skip"`
|
||||
ID uint32 `description:"奖品的Type, 即ID" codec:"uint"`
|
||||
}
|
||||
|
||||
// TalkCateInboundInfo 定义请求或响应数据结构。
|
||||
type TalkCateInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2702" struc:"skip"`
|
||||
ID uint32 `description:"奖品的Type, 即ID" codec:"uint"`
|
||||
}
|
||||
|
||||
// C2S_USE_PET_ITEM_OUT_OF_FIGHT 定义请求或响应数据结构。
|
||||
type C2S_USE_PET_ITEM_OUT_OF_FIGHT struct {
|
||||
Head common.TomeeHeader `cmd:"2326" struc:"skip"`
|
||||
CatchTime uint32 `json:"catch_time"`
|
||||
ItemID int32 `struc:"uint32"`
|
||||
}
|
||||
|
||||
// C2S_PET_RESET_NATURE 定义请求或响应数据结构。
|
||||
type C2S_PET_RESET_NATURE struct {
|
||||
Head common.TomeeHeader `cmd:"2343" struc:"skip"`
|
||||
CatchTime uint32
|
||||
@@ -65,22 +76,26 @@ type C2S_PET_RESET_NATURE struct {
|
||||
ItemId uint32
|
||||
}
|
||||
|
||||
// C2S_ITEM_SALE 定义请求或响应数据结构。
|
||||
type C2S_ITEM_SALE struct {
|
||||
Head common.TomeeHeader `cmd:"2602" struc:"skip"`
|
||||
ItemId uint32
|
||||
Amount uint32
|
||||
}
|
||||
|
||||
// C2S_USE_SPEEDUP_ITEM 定义请求或响应数据结构。
|
||||
type C2S_USE_SPEEDUP_ITEM struct {
|
||||
Head common.TomeeHeader `cmd:"2327" struc:"skip"`
|
||||
ItemID uint32
|
||||
}
|
||||
|
||||
// C2S_USE_ENERGY_XISHOU 定义请求或响应数据结构。
|
||||
type C2S_USE_ENERGY_XISHOU struct {
|
||||
Head common.TomeeHeader `cmd:"2331" struc:"skip"`
|
||||
ItemID uint32
|
||||
}
|
||||
|
||||
// C2S_USE_AUTO_FIGHT_ITEM 定义请求或响应数据结构。
|
||||
type C2S_USE_AUTO_FIGHT_ITEM struct {
|
||||
Head common.TomeeHeader `cmd:"2329" struc:"skip"`
|
||||
ItemID uint32
|
||||
|
||||
Reference in New Issue
Block a user