上传海盗代码
This commit is contained in:
parent
c889b45192
commit
18ccd3ca0d
@ -28,7 +28,7 @@ type IsLand struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *IsLand) GetType() core.M_Modules {
|
func (this *IsLand) GetType() core.M_Modules {
|
||||||
return comm.ModuleGameInvite
|
return comm.ModuleIsLand
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *IsLand) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error) {
|
func (this *IsLand) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error) {
|
||||||
|
@ -451,10 +451,12 @@ const (
|
|||||||
//捕羊大赛的
|
//捕羊大赛的
|
||||||
ErrorCode_CapturesheepRankCloseed ErrorCode = 5101 //排位比赛不在开启时间内
|
ErrorCode_CapturesheepRankCloseed ErrorCode = 5101 //排位比赛不在开启时间内
|
||||||
// xxl
|
// xxl
|
||||||
ErrorCode_EntertainCantSwap ErrorCode = 5201 //不能交换
|
ErrorCode_EntertainCantSwap ErrorCode = 5201 //不能交换
|
||||||
ErrorCode_EntertainNoPower ErrorCode = 5202 //对方操作
|
ErrorCode_EntertainNoPower ErrorCode = 5202 //对方操作
|
||||||
ErrorCode_EntertainNoHeroSkill ErrorCode = 5203 //没找到该英雄对应的技能
|
ErrorCode_EntertainNoHeroSkill ErrorCode = 5203 //没找到该英雄对应的技能
|
||||||
ErrorCode_EntertainNoEnergy ErrorCode = 5204 //技能能量不足
|
ErrorCode_EntertainNoEnergy ErrorCode = 5204 //技能能量不足
|
||||||
|
ErrorCode_EntertainCreateFailed ErrorCode = 5205 // 创建房间失败
|
||||||
|
ErrorCode_EntertainPlayerNoReady ErrorCode = 5206 // 玩家1还没准备不能开始游戏
|
||||||
)
|
)
|
||||||
|
|
||||||
// Enum value maps for ErrorCode.
|
// Enum value maps for ErrorCode.
|
||||||
@ -847,6 +849,8 @@ var (
|
|||||||
5202: "EntertainNoPower",
|
5202: "EntertainNoPower",
|
||||||
5203: "EntertainNoHeroSkill",
|
5203: "EntertainNoHeroSkill",
|
||||||
5204: "EntertainNoEnergy",
|
5204: "EntertainNoEnergy",
|
||||||
|
5205: "EntertainCreateFailed",
|
||||||
|
5206: "EntertainPlayerNoReady",
|
||||||
}
|
}
|
||||||
ErrorCode_value = map[string]int32{
|
ErrorCode_value = map[string]int32{
|
||||||
"Success": 0,
|
"Success": 0,
|
||||||
@ -1236,6 +1240,8 @@ var (
|
|||||||
"EntertainNoPower": 5202,
|
"EntertainNoPower": 5202,
|
||||||
"EntertainNoHeroSkill": 5203,
|
"EntertainNoHeroSkill": 5203,
|
||||||
"EntertainNoEnergy": 5204,
|
"EntertainNoEnergy": 5204,
|
||||||
|
"EntertainCreateFailed": 5205,
|
||||||
|
"EntertainPlayerNoReady": 5206,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1270,7 +1276,7 @@ var File_errorcode_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_errorcode_proto_rawDesc = []byte{
|
var file_errorcode_proto_rawDesc = []byte{
|
||||||
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||||
0x6f, 0x2a, 0xe4, 0x47, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
0x6f, 0x2a, 0x9d, 0x48, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
||||||
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10,
|
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10,
|
||||||
0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76,
|
0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76,
|
||||||
@ -1844,8 +1850,12 @@ var file_errorcode_proto_rawDesc = []byte{
|
|||||||
0x65, 0x72, 0x10, 0xd2, 0x28, 0x12, 0x19, 0x0a, 0x14, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61,
|
0x65, 0x72, 0x10, 0xd2, 0x28, 0x12, 0x19, 0x0a, 0x14, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61,
|
||||||
0x69, 0x6e, 0x4e, 0x6f, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x10, 0xd3, 0x28,
|
0x69, 0x6e, 0x4e, 0x6f, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x10, 0xd3, 0x28,
|
||||||
0x12, 0x16, 0x0a, 0x11, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x45,
|
0x12, 0x16, 0x0a, 0x11, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x45,
|
||||||
0x6e, 0x65, 0x72, 0x67, 0x79, 0x10, 0xd4, 0x28, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
0x6e, 0x65, 0x72, 0x67, 0x79, 0x10, 0xd4, 0x28, 0x12, 0x1a, 0x0a, 0x15, 0x45, 0x6e, 0x74, 0x65,
|
||||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x72, 0x74, 0x61, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x65,
|
||||||
|
0x64, 0x10, 0xd5, 0x28, 0x12, 0x1b, 0x0a, 0x16, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69,
|
||||||
|
0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4e, 0x6f, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0xd6,
|
||||||
|
0x28, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
|
0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -36,6 +36,7 @@ import (
|
|||||||
"go_dreamfactory/modules/herotask"
|
"go_dreamfactory/modules/herotask"
|
||||||
"go_dreamfactory/modules/horoscope"
|
"go_dreamfactory/modules/horoscope"
|
||||||
"go_dreamfactory/modules/hunting"
|
"go_dreamfactory/modules/hunting"
|
||||||
|
"go_dreamfactory/modules/island"
|
||||||
"go_dreamfactory/modules/items"
|
"go_dreamfactory/modules/items"
|
||||||
"go_dreamfactory/modules/jielong"
|
"go_dreamfactory/modules/jielong"
|
||||||
"go_dreamfactory/modules/kftask"
|
"go_dreamfactory/modules/kftask"
|
||||||
@ -180,6 +181,7 @@ func main() {
|
|||||||
treasuremap.NewModule(),
|
treasuremap.NewModule(),
|
||||||
gameinvite.NewModule(),
|
gameinvite.NewModule(),
|
||||||
caninerabbit.NewModule(),
|
caninerabbit.NewModule(),
|
||||||
|
island.NewModule(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user