From cf21189e976e014c8f660d5174e3687c824b47bc Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 2 Apr 2021 15:02:46 +0800 Subject: [PATCH] 1 --- server/tools/protobuild/cs_proto.proto | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index 8605e1c..42bdaf3 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -751,23 +751,29 @@ message MFSkill optional int32 cd_time = 3; //技能cd时间(总时间) } -message TextElement +message MFPlaySkill +{ + optional int32 obj_uniid = 1; //技能id + optional int32 skill_id = 2; //技能id +} + +message MFTextElement { optional string text = 1; //文本内容 optional int32 color = 2; //默认系统颜色rgb } -message ImageElement +message MFImageElement { optional int32 id = 1; //装备id } -message RichTextElement +message MFRichTextElement { //1:TextElement 2:ImageElement optional int32 element_type = 1; //富文本类型 - optional TextElement union_obj_1 = 2; //文本元素 - optional ImageElement union_obj_2 = 3; //图片元素 + optional MFTextElement union_obj_1 = 2; //文本元素 + optional MFImageElement union_obj_2 = 3; //图片元素 } //end mfmsg @@ -1022,6 +1028,7 @@ message SMUpdate optional MFPlane plane = 27; //飞机 repeated MFBuffChg chged_buff_list = 28; //buff变更列表 repeated MFPropertyChg chged_property_list = 31; //property变更列表 + repeated MFPlaySkill play_skill_list = 32; //播放技能 //一下字段只有僵尸模式才有效 repeated MFTuple dead_alive_objs = 42; //玩家values[0]:objid values[1]:多少毫秒后复活 values[2]: 0:死亡 1:复活 @@ -1032,7 +1039,7 @@ message SMUpdate //滚动消息 message SMRollMsg { - repeated RichTextElement elements = 1; //富文本信息 + repeated MFRichTextElement elements = 1; //富文本信息 } //个人信息统计