上传支付
This commit is contained in:
parent
28f9427303
commit
85a4867083
@ -47,7 +47,7 @@ func (this *apiComp) Teaching(session comm.IUserSession, req *pb.AcademyTeaching
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
cd, record = this.module.battle.CreateEveBattle(session, &pb.BattleEVEReq{
|
cd, record = this.module.battle.CreateEveBattle(session, &pb.BattleEVEReq{
|
||||||
Ptype: pb.PlayType_academy,
|
Ptype: pb.PlayType_heroteaching,
|
||||||
Redformat: level.UsFormatList,
|
Redformat: level.UsFormatList,
|
||||||
Buleformat: level.FormatList,
|
Buleformat: level.FormatList,
|
||||||
})
|
})
|
||||||
|
@ -79,15 +79,16 @@ func (BattleType) EnumDescriptor() ([]byte, []int) {
|
|||||||
type PlayType int32
|
type PlayType int32
|
||||||
|
|
||||||
const (
|
const (
|
||||||
PlayType_null PlayType = 0 //无效类型
|
PlayType_null PlayType = 0 //无效类型
|
||||||
PlayType_mainline PlayType = 1 //主线玩法
|
PlayType_mainline PlayType = 1 //主线玩法
|
||||||
PlayType_pagoda PlayType = 2 //爬塔
|
PlayType_pagoda PlayType = 2 //爬塔
|
||||||
PlayType_rtask PlayType = 3 //随机任务战斗
|
PlayType_rtask PlayType = 3 //随机任务战斗
|
||||||
PlayType_hunting PlayType = 4 //狩猎
|
PlayType_hunting PlayType = 4 //狩猎
|
||||||
PlayType_viking PlayType = 5 //维京远征
|
PlayType_viking PlayType = 5 //维京远征
|
||||||
PlayType_moonfantasy PlayType = 6 //月之秘境
|
PlayType_moonfantasy PlayType = 6 //月之秘境
|
||||||
PlayType_arena PlayType = 7 //竞技场
|
PlayType_arena PlayType = 7 //竞技场
|
||||||
PlayType_academy PlayType = 8 //联盟学院
|
PlayType_academy PlayType = 8 //联盟学院
|
||||||
|
PlayType_heroteaching PlayType = 9 //英雄教学
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for PlayType.
|
// Enum value maps for PlayType.
|
||||||
@ -102,17 +103,19 @@ var (
|
|||||||
6: "moonfantasy",
|
6: "moonfantasy",
|
||||||
7: "arena",
|
7: "arena",
|
||||||
8: "academy",
|
8: "academy",
|
||||||
|
9: "heroteaching",
|
||||||
}
|
}
|
||||||
PlayType_value = map[string]int32{
|
PlayType_value = map[string]int32{
|
||||||
"null": 0,
|
"null": 0,
|
||||||
"mainline": 1,
|
"mainline": 1,
|
||||||
"pagoda": 2,
|
"pagoda": 2,
|
||||||
"rtask": 3,
|
"rtask": 3,
|
||||||
"hunting": 4,
|
"hunting": 4,
|
||||||
"viking": 5,
|
"viking": 5,
|
||||||
"moonfantasy": 6,
|
"moonfantasy": 6,
|
||||||
"arena": 7,
|
"arena": 7,
|
||||||
"academy": 8,
|
"academy": 8,
|
||||||
|
"heroteaching": 9,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -644,21 +647,22 @@ var file_battle_battle_db_proto_rawDesc = []byte{
|
|||||||
0x39, 0x0a, 0x0a, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a,
|
0x39, 0x0a, 0x0a, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a,
|
||||||
0x03, 0x6e, 0x69, 0x6c, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x65, 0x10, 0x01, 0x12,
|
0x03, 0x6e, 0x69, 0x6c, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x65, 0x10, 0x01, 0x12,
|
||||||
0x07, 0x0a, 0x03, 0x70, 0x76, 0x70, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x62, 0x10,
|
0x07, 0x0a, 0x03, 0x70, 0x76, 0x70, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x62, 0x10,
|
||||||
0x03, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x76, 0x65, 0x10, 0x04, 0x2a, 0x7b, 0x0a, 0x08, 0x50, 0x6c,
|
0x03, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x76, 0x65, 0x10, 0x04, 0x2a, 0x8d, 0x01, 0x0a, 0x08, 0x50,
|
||||||
0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x10, 0x00,
|
0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x10,
|
||||||
0x12, 0x0c, 0x0a, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x12, 0x0a,
|
0x00, 0x12, 0x0c, 0x0a, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x12,
|
||||||
0x0a, 0x06, 0x70, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x72, 0x74,
|
0x0a, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x72,
|
||||||
0x61, 0x73, 0x6b, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67,
|
0x74, 0x61, 0x73, 0x6b, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e,
|
||||||
0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x76, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x10, 0x05, 0x12, 0x0f,
|
0x67, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x76, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x10, 0x05, 0x12,
|
||||||
0x0a, 0x0b, 0x6d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x10, 0x06, 0x12,
|
0x0f, 0x0a, 0x0b, 0x6d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x10, 0x06,
|
||||||
0x09, 0x0a, 0x05, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x61, 0x63,
|
0x12, 0x09, 0x0a, 0x05, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x61,
|
||||||
0x61, 0x64, 0x65, 0x6d, 0x79, 0x10, 0x08, 0x2a, 0x1f, 0x0a, 0x0c, 0x42, 0x42, 0x61, 0x74, 0x74,
|
0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x10, 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x68, 0x65, 0x72, 0x6f,
|
||||||
0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x69, 0x6e, 0x10, 0x00, 0x12,
|
0x74, 0x65, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x10, 0x09, 0x2a, 0x1f, 0x0a, 0x0c, 0x42, 0x42,
|
||||||
0x07, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x10, 0x02, 0x2a, 0x2b, 0x0a, 0x0c, 0x44, 0x42, 0x42, 0x61,
|
0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x69, 0x6e,
|
||||||
0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x72, 0x61, 0x77,
|
0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x10, 0x02, 0x2a, 0x2b, 0x0a, 0x0c, 0x44,
|
||||||
0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x62,
|
0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x12, 0x08, 0x0a, 0x04, 0x64,
|
||||||
0x75, 0x6c, 0x65, 0x10, 0x02, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
0x72, 0x61, 0x77, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x10, 0x01, 0x12, 0x08,
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x10, 0x02, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
||||||
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user