主线任务

master_huanxiang
jiahuiwen 2019-02-19 20:49:44 +08:00
parent ff8b5384d1
commit a1316b19cd
3 changed files with 27 additions and 0 deletions

View File

@ -38,6 +38,8 @@ import "CommonProto.proto";
optional EventBehaviorCommon EventBehaviorCommon = 2;
// 奖励
optional Drop drop = 3;
// 开启主线任务
optional Mission mission = 4;
}
// 更新地图状态

View File

@ -95,6 +95,12 @@ enum MessageType{
MAIL_TAKE_MAIL_ITEM_REQUEST = 11208; //领取附件
MAIL_TAKE_MAIL_ITEM_RESPONESE = 11209;
MISSION_GET_ALL_REQUEST = 11210; // 获取任务
MISSION_GET_ALL_RESPONSE = 11211;
MISSION_TAKE_REWARD_REQUEST = 11212; // 领取任务奖励
MISSION_TAKE_REWARD_RESPONSE = 11213;
// N 11300
// O 11400
// P 11500

View File

@ -0,0 +1,19 @@
package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
import "CommonProto.proto";
// 获取任务信息
message MissionGetAllResponse{
repeated Mission missions = 1; // 所有任务
}
// 领取任务奖励
message TakeMissionRewardRequest{
optional int32 missionId = 1; // 要领取奖励的任务id
}
message TakeMissionResponse{
optional Drop Drop = 1;
}