From 8eb45d7a08e491e2bfdf4dbc8ce549495a56d686 Mon Sep 17 00:00:00 2001 From: wangyuan Date: Thu, 14 Feb 2019 17:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=9D=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 2 ++ protos/MessageTypeProto.proto | 9 +++++++++ protos/PlayerInfoProto.proto | 25 ++++++++++++++++++++++++- 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 2c519e5..8daf9cb 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -19,6 +19,8 @@ option optimize_for = SPEED; optional string familyId = 6; optional string head = 7; optional int32 curMapId = 8; + optional int32 workLevel = 9; // 工坊等级 + optional int32 workExp = 10; // 工坊经验 } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 313b2d8..2a411c3 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -115,6 +115,15 @@ enum MessageType{ // V 12100 // W 12200 + WORKSHOP_FOUNDATION_REQUEST = 12200; //基础打造 + WORKSHOP_FOUNDATION_RESPONSE = 12201; + + WORKSHOP_EQUIP_CREATE_REQUEST = 12202; //装备打造 + WORKSHOP_EQUIP_CREATE_RESPONSE = 12203; + + WORKSHOP_REBUILD_REQUEST = 12204; //装备重铸 + WORKSHOP_REBUILD_RESPONSE = 12205; + // X 12300 // Y 12400 // Z 12500 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 0fd32fb..28a4d12 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -61,4 +61,27 @@ import "CommonProto.proto"; } message TakeMailResponse{ optional Drop drop = 1; - } \ No newline at end of file + } + + + message WorkShopFoundationRequest{ + optional int32 materialId = 1; // 要打造的材料模板id + optional int32 nums =2; //数量 + } + + message WorkShopFoundationResponse{ + optional int32 workExp =1; + optional int32 workLevel =2; + } + + message WorkShopEquipCreateRequest{ + optional int32 equipTid = 1; // 要打造的装备模板id + repeated int32 runneIds = 2; // 符文ids 不需要传送特殊符文。 + } + + message WorkShopRebuildRequest{ + optional string equipId = 1; // 要重造装备动态id + repeated string consumeEquipIds =2; //祭品动态id + } + +