This commit is contained in:
aozhiwei 2019-03-11 20:11:45 +08:00
parent 561b183c41
commit bc2d8dc12b
2 changed files with 52 additions and 23 deletions

View File

@ -168,16 +168,18 @@ message CMJoin
optional int32 player_count = 4; //
optional int32 auto_fill = 5; //
optional int32 bot = 6; //
optional string name = 7; //zzzz
optional string name = 7; //
optional int32 use_touch = 8; //zzz
optional string uuid = 9; //zzz
optional string uuid = 9; //id account_id
repeated int32 emotes = 10; //
optional string icon = 11; //zzz
optional int32 energy_shield = 12; //zz
//baseskin
//basemelee
optional int32 elo_score = 13;
optional string icon = 11; //
optional int32 energy_shield = 12; //
optional int32 baseskin = 13; //id
optional int32 basemelee = 14; //xx
optional int32 elo_score = 15;
//plugs
optional string channel = 20; //
optional string gmode = 21;
}
//线
@ -224,24 +226,24 @@ message CMEditMsg
optional float zoom = 2; //zz
}
//xx
//
message CMDropItem
{
//item
optional int32 weapon_idx = 1;
optional int32 item_id = 1;
optional int32 weapon_idx = 2;
}
//xxx
message CMEmoteMsg
//
message CMSendEmote
{
optional int32 type = 1;
optional MFVector2D pos = 2;
optional bool use_loadout = 3;
//optional bool use_loadout = 3;
optional bool team_only = 4;
optional bool is_ping = 5;
//optional bool is_ping = 5;
}
//xxx
//
message SMJoinedNotify
{
optional int32 team_mode = 1;
@ -252,6 +254,12 @@ message SMJoinedNotify
optional bool elo_start = 6;
}
//
message SMPlayerInfo
{
optional MFPlayerInfo info = 1; //
}
//
message SMUpdate
{
@ -271,7 +279,13 @@ message SMKillMsg
optional int32 killed =7;
}
//xx
//
message SMPlayerStats
{
optional MFPlayerStats player_stats = 1;
}
//
message SMGameOver
{
optional int32 team_id = 1;
@ -283,17 +297,32 @@ message SMGameOver
repeated MFPlayerStats player_stats = 6;
}
//xx
message CMPickup
//
message SMPickup
{
optional int32 type = 1;
//item
optional int32 item_id = 2;
optional int32 count = 3;
}
//xx
message SMSpectate
//
message CMSpectate
{
optional int32 spec_next = 1;
optional int32 spec_prev = 2;
}
}
//
message CMSendVoice
{
optional int32 mode = 1; //
optional string uuid = 2; //id
optional string msg = 3; //
}
message CMVoiceNotify
{
optional int32 mode = 1; //
optional string uuid = 2; //id
optional string msg = 3; //
}

2
third_party/tools vendored

@ -1 +1 @@
Subproject commit 80f14970e1be8aa575ad9271bdf3a813c848354a
Subproject commit 9d23cf84bbd8db847fc180ab34f426d949f161b1