魂印协议

master_huanxiang
zhangshanxue 2019-09-05 10:18:14 +08:00
parent 480efcd287
commit 384983c641
4 changed files with 66 additions and 3 deletions

View File

@ -64,6 +64,7 @@ option optimize_for = SPEED;
optional int32 createTime = 6;//
optional int32 skillId = 7;//
optional int32 isLocked = 8; // 1 0:
optional int32 exp = 9; //
}
@ -82,6 +83,7 @@ option optimize_for = SPEED;
optional int32 starBreakId = 10 ;//breakId
repeated string especialEquip = 11;//穿
repeated string soulEquipIdList = 12;//
}
message FightUnitInfo {

View File

@ -58,12 +58,45 @@ import "CommonProto.proto";
optional int32 type = 3;//1 2
}
message UpSoulEquipRequest{
optional string pos = 1; //
optional string equipId = 2; //id
}
message UpQuickSoulEquipRequest{
optional string pos = 1; //
optional string equipId = 2; //id
repeated string soulEquipIds= 3; //
}
message UpSoulEquipResponse{
optional string pos = 1; //
optional string equipId = 2; //id
optional int32 leve =3;//
optional int32 exp =4;//
repeated string soulEquipIds= 5; //
}
message EquipWearRequest{
optional string heroId =1 ; //穿id
repeated string equipId =2 ; //id
optional int32 type = 3;//1 2
}
message SoulEquipWearRequest{
optional string heroId =1 ; //穿id
repeated SoulEquipPos soulEquipIds =2 ; //id
}
message SoulEquipUnLoadWearRequest{
optional string heroId =1 ; //穿id
repeated SoulEquipPos soulEquipIds =2 ; //id
}
message SoulEquipPos{
optional string equipId =1 ; //id
optional int32 position= 2; //
}
message EquipUnLoadOptRequest{
optional string heroId = 1;
@ -79,7 +112,7 @@ import "CommonProto.proto";
}
message GetAllEquipRequest{
optional int32 index = 1; //0, :+
optional int32 type = 2;//1 2
optional int32 type = 2;//1 23
}
message GetAllEquipResponse{
@ -113,5 +146,16 @@ import "CommonProto.proto";
repeated RingFireInfo ringFireInfo =1;
}
message SoulRandRequest{
optional int32 time =1; //
}
message SoulRandResponse{
optional Drop drop = 1;//
optional int32 pos = 2;
}
message SoulForceRandRequest{
}
message SoulForceRandResponse{
optional int32 pos = 1;
}

View File

@ -153,6 +153,7 @@ enum MessageType{
ENDLESS_MIN_MAP_INFO_REQUEST = 10421;//
ENDLESS_MIN_MAP_INFO_RESPONSE = 10422;
// F 10500
FIGHT_START_REQUEST = 10500; //
@ -553,6 +554,16 @@ enum MessageType{
SCENE_GAME_OVER_INDICATION = 11830; //
SOUL_EQUIP_WEAR_REQUEST = 11831; //
SOUL_EQUIP_WEAR_RESPONSE = 11832;
SOUL_EQUIP_UNLOAD_OPT_REQUEST = 11833; //
SOUL_EQUIP_UNLOAD_OPT_RESPONSE = 11834;
SOUL_RAND_EQUIP_REQUEST = 11835; //
SOUL_RAND_EQUIP_RESPONSE = 11836;
SOUL_FORCE_RAND_EQUIP_REQUEST = 11837; //
SOUL_FORCE_RAND_EQUIP_RESPONSE = 11838;
// T 11900
TRIGGER_EVENT_REQUEST = 11900; //
@ -606,6 +617,12 @@ enum MessageType{
UPDATE_QUESTION_REQUEST = 12015; //
UPDATE_QUESTION_RESPONSE = 12016;
UP_SOUL_EQUIP_REQUEST = 12017; //
UP_SOUL_EQUIP_QUICK_REQUEST = 12018;
UP_SOUL_UNLOAD_RESPONSE = 12019; //
// V 12100
VIEW_FIGHTREPLAY_REQUEST = 12100; //

View File

@ -77,7 +77,7 @@ import "CommonProto.proto";
}
message UseAndPriceItemRequest{
optional int32 type = 1; //0:使 1: 23: 4
optional int32 type = 1; //0:使 1: 23: 4 5:
optional int32 itemId = 2;
repeated Item items = 3;
repeated string equipIds = 4;