71 lines
1.5 KiB
Go
71 lines
1.5 KiB
Go
package old
|
|
|
|
type MsgBattleEnterReq struct {
|
|
SceneId uint32 `json:"SceneId"`
|
|
}
|
|
|
|
type MsgBattleEnterAck struct {
|
|
SceneId uint32 `json:"SceneId"`
|
|
RandSeed int64 `json:"RandSeed"`
|
|
}
|
|
|
|
type BattleKill struct {
|
|
Id uint32 `json:"Id"`
|
|
Num uint32 `json:"Num"`
|
|
}
|
|
|
|
type MsgBattleResultReq struct {
|
|
SceneId uint32 `json:"SceneId"`
|
|
Result uint32 `json:"Result"`
|
|
Duration int64 `json:"Duration"`
|
|
MaxDepth uint32 `json:"MaxDepth"`
|
|
KillList []*BattleKill `json:"KillList"`
|
|
ItemList []*ItemPair `json:"ItemList"`
|
|
}
|
|
|
|
type BattleExtraReward struct {
|
|
*MsgRewardListAck
|
|
|
|
Type uint32 `json:"Type"` //额外奖励类型: 1.月卡
|
|
}
|
|
|
|
type MsgBattleResultAck struct {
|
|
*MsgRewardListAck
|
|
|
|
SceneId uint32 `json:"SceneId"`
|
|
Result uint32 `json:"Result,omitempty"`
|
|
CopyRank uint32 `json:"CopyRank,omitempty"`
|
|
|
|
ExtraRewards []*BattleExtraReward `json:"ExtraRewards,omitempty"`
|
|
}
|
|
|
|
type MsgIdleBattleStatusAck struct {
|
|
SceneId uint32 `json:"SceneId,omitempty"`
|
|
GetTime int64 `json:"GetTime,omitempty"`
|
|
|
|
*MsgRewardListAck
|
|
}
|
|
|
|
type MsgIdleBattleRewardListAck struct {
|
|
*MsgRewardListAck
|
|
}
|
|
|
|
type MsgArenaBattleResultReq struct {
|
|
SceneId uint32 `json:"SceneId"`
|
|
Result uint32 `json:"Result"`
|
|
}
|
|
|
|
type MsgArenaBattleResultAck struct {
|
|
*MsgRewardListAck
|
|
Result uint32 `json:"Result"`
|
|
Self *ArenaPlayer `json:"Self"`
|
|
Enemy *ArenaPlayer `json:"Enemy"`
|
|
}
|
|
|
|
type MsgBattleRadarUseReq struct {
|
|
}
|
|
|
|
type MsgBattleRadarUseAck struct {
|
|
Duration int64 `json:"Duration"`
|
|
}
|