| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package enum
- const (
- BattleType_Test int32 = 1
- BattleType_Chapter int32 = 2
- BattleType_PVP int32 = 3
- BattleType_SLG int32 = 4
- )
- const (
- BattleObjType_Hero int32 = 1
- BattleObjType_Monster int32 = 2
- )
- const (
- BattleCampType_Left int32 = 0
- BattleCampType_Right int32 = 1
- )
- // 战斗结果
- type BattleResult int32
- const (
- BattleResult_Draw BattleResult = -1 // 平局
- BattleResult_Fail BattleResult = 0 // 失败
- BattleResult_Win BattleResult = 1 // 胜出
- )
- // 战报分类ID
- type ReportCategory int32
- const (
- ReportCategory_All ReportCategory = 0 // 0:全部
- ReportCategory_PVE ReportCategory = 1 // 1:开拓
- ReportCategory_PVP ReportCategory = 2 // 2:交战
- ReportCategory_Scout ReportCategory = 3 // 3:侦察
- )
- // 战报收藏类型
- type ReportLikeType int32
- const (
- ReportLikeType_Group ReportLikeType = 1 // 1:战报组
- ReportLikeType_Report ReportLikeType = 2 // 2:单个战报
- )
|