添加技能相关协议

This commit is contained in:
aozhiwei 2019-04-26 16:47:19 +08:00
parent 22d271e65e
commit bcf06862ca

View File

@ -294,6 +294,31 @@ message MFProjectileFull
optional float pos_z = 3; //
}
//()-
message MFHeroPart
{
optional int32 obj_uniid = 1; //id
optional MFVector2D pos = 2; //
optional MFVector2D dir = 3; //
}
//()-
message MFHeroFull
{
optional int32 obj_uniid = 1; //id
optional MFVector2D pos = 2; //
optional MFVector2D dir = 3; //
optional int32 masert_uniid = 4; //id
optional int32 skin = 13; //id
optional int32 backpack = 14; //
optional int32 helmet = 16; //
optional int32 chest = 17; //
optional MFWeapon weapon = 18; //
}
//-
message MFSmokePart
{
@ -313,7 +338,7 @@ message MFSmokeFull
//-
message MFObjectPart
{
//1:player 2:obstacle 3:building 4:lootspawner 5:loot 6:deadbody 7:decal 8:projectile 9:smoke
//1:player 2:obstacle 3:building 4:lootspawner 5:loot 6:deadbody 7:decal 8:projectile 9:smoke 10:hero
optional int32 object_type = 1;
optional MFPlayerPart union_obj_1 = 2;
@ -325,12 +350,13 @@ message MFObjectPart
optional MFDecalPart union_obj_7 = 8;
optional MFProjectilePart union_obj_8 = 9;
optional MFSmokePart union_obj_9 = 10;
optional MFHeroPart union_obj_10 = 11;
}
//-
message MFObjectFull
{
//1:player 2:obstacle 3:building 4:lootspawner 5:loot 6:deadbody 7:decal 8:projectile 9:smoke
//1:player 2:obstacle 3:building 4:lootspawner 5:loot 6:deadbody 7:decal 8:projectile 9:smoke 10:hero
optional int32 object_type = 1;
optional MFPlayerFull union_obj_1 = 2;
@ -342,6 +368,7 @@ message MFObjectFull
optional MFDecalFull union_obj_7 = 8;
optional MFProjectileFull union_obj_8 = 9;
optional MFSmokeFull union_obj_9 = 10;
optional MFHeroFull union_obj_10 = 11;
}
//()
@ -391,6 +418,9 @@ message MFActivePlayerData
optional int32 spectator_count = 20;
repeated MFBodyState states = 27; //
optional int32 skill_left_time = 50; //cd时间()
optional int32 skill_cd_time = 51; //cd时间()
}
//
@ -511,7 +541,20 @@ message MFAirDrop
//()
message MFBodyState
{
optional int32 state_type = 1; //1: 2:(left_timelasting_time无意义) 3:
/*
1:
2: (left_timelasting_time无意义)
3:
4: ()
5:
6:
7:
8:
9:
*/
optional int32 state_type = 1;
optional float left_time = 2; //()
optional float lasting_time = 3; //()
}
@ -571,6 +614,8 @@ message CMMove
optional bool interaction = 9; //
repeated int32 interaction_objids = 23; //id列表
optional bool use_skill = 29; //使
optional bool spectate = 30; //
optional int32 emote = 31; //id