1
This commit is contained in:
parent
561b183c41
commit
bc2d8dc12b
@ -168,16 +168,18 @@ message CMJoin
|
|||||||
optional int32 player_count = 4; //玩家数
|
optional int32 player_count = 4; //玩家数
|
||||||
optional int32 auto_fill = 5; //是否自动填充玩家
|
optional int32 auto_fill = 5; //是否自动填充玩家
|
||||||
optional int32 bot = 6; //是否机器人
|
optional int32 bot = 6; //是否机器人
|
||||||
optional string name = 7; //zzzz
|
optional string name = 7; //角色名
|
||||||
optional int32 use_touch = 8; //zzz
|
optional int32 use_touch = 8; //zzz
|
||||||
optional string uuid = 9; //zzz
|
optional string uuid = 9; //账号id account_id
|
||||||
repeated int32 emotes = 10; //表情列表
|
repeated int32 emotes = 10; //表情列表
|
||||||
optional string icon = 11; //zzz
|
optional string icon = 11; //头像
|
||||||
optional int32 energy_shield = 12; //zz
|
optional int32 energy_shield = 12; //能量护盾
|
||||||
//baseskin
|
optional int32 baseskin = 13; //皮肤id
|
||||||
//basemelee
|
optional int32 basemelee = 14; //xx
|
||||||
optional int32 elo_score = 13;
|
optional int32 elo_score = 15;
|
||||||
//plugs
|
//plugs
|
||||||
|
optional string channel = 20; //渠道编号
|
||||||
|
optional string gmode = 21;
|
||||||
}
|
}
|
||||||
|
|
||||||
//断线通知
|
//断线通知
|
||||||
@ -224,24 +226,24 @@ message CMEditMsg
|
|||||||
optional float zoom = 2; //zz
|
optional float zoom = 2; //zz
|
||||||
}
|
}
|
||||||
|
|
||||||
//xx
|
//丢弃道具
|
||||||
message CMDropItem
|
message CMDropItem
|
||||||
{
|
{
|
||||||
//item
|
optional int32 item_id = 1;
|
||||||
optional int32 weapon_idx = 1;
|
optional int32 weapon_idx = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
//xxx
|
//发送表情
|
||||||
message CMEmoteMsg
|
message CMSendEmote
|
||||||
{
|
{
|
||||||
optional int32 type = 1;
|
optional int32 type = 1;
|
||||||
optional MFVector2D pos = 2;
|
optional MFVector2D pos = 2;
|
||||||
optional bool use_loadout = 3;
|
//optional bool use_loadout = 3;
|
||||||
optional bool team_only = 4;
|
optional bool team_only = 4;
|
||||||
optional bool is_ping = 5;
|
//optional bool is_ping = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
//xxx
|
//加入成功
|
||||||
message SMJoinedNotify
|
message SMJoinedNotify
|
||||||
{
|
{
|
||||||
optional int32 team_mode = 1;
|
optional int32 team_mode = 1;
|
||||||
@ -252,6 +254,12 @@ message SMJoinedNotify
|
|||||||
optional bool elo_start = 6;
|
optional bool elo_start = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//玩家信息
|
||||||
|
message SMPlayerInfo
|
||||||
|
{
|
||||||
|
optional MFPlayerInfo info = 1; //玩家信息
|
||||||
|
}
|
||||||
|
|
||||||
//帧事件
|
//帧事件
|
||||||
message SMUpdate
|
message SMUpdate
|
||||||
{
|
{
|
||||||
@ -271,7 +279,13 @@ message SMKillMsg
|
|||||||
optional int32 killed =7;
|
optional int32 killed =7;
|
||||||
}
|
}
|
||||||
|
|
||||||
//xx
|
//个人信息统计
|
||||||
|
message SMPlayerStats
|
||||||
|
{
|
||||||
|
optional MFPlayerStats player_stats = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//游戏结束
|
||||||
message SMGameOver
|
message SMGameOver
|
||||||
{
|
{
|
||||||
optional int32 team_id = 1;
|
optional int32 team_id = 1;
|
||||||
@ -283,17 +297,32 @@ message SMGameOver
|
|||||||
repeated MFPlayerStats player_stats = 6;
|
repeated MFPlayerStats player_stats = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
//xx
|
//拾取
|
||||||
message CMPickup
|
message SMPickup
|
||||||
{
|
{
|
||||||
optional int32 type = 1;
|
optional int32 type = 1;
|
||||||
//item
|
optional int32 item_id = 2;
|
||||||
optional int32 count = 3;
|
optional int32 count = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//xx
|
//自杀
|
||||||
message SMSpectate
|
message CMSpectate
|
||||||
{
|
{
|
||||||
optional int32 spec_next = 1;
|
optional int32 spec_next = 1;
|
||||||
optional int32 spec_prev = 2;
|
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
2
third_party/tools
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 80f14970e1be8aa575ad9271bdf3a813c848354a
|
Subproject commit 9d23cf84bbd8db847fc180ab34f426d949f161b1
|
Loading…
x
Reference in New Issue
Block a user