地图修改

master_huanxiang
jiahuiwen 2019-01-26 12:49:43 +08:00
parent 270933a637
commit 74516ccae5
3 changed files with 35 additions and 16 deletions

View File

@ -28,6 +28,10 @@ option optimize_for = SPEED;
optional int32 endingTime = 3;
}
message Buff{
optional int32 buffId = 1;
}
message SpecialEffects{
optional int32 specialId = 1;
@ -66,14 +70,27 @@ option optimize_for = SPEED;
optional float speed = 6;
}
message EventBehaviorValues{
repeated int32 behaviorValues = 1;
}
//
message EventBehaviorCommon{
//
optional int32 behaviorType = 1;
//
repeated EventBehaviorValues eventBehaviorValues = 2;
}
//
message Cell{
// id
optional int32 cellId = 1;
// s_c_map_event id
optional int32 eventId = 2;
// 0 -1
optional int32 state = 3;
// mapPointConfig id
optional int32 pointId = 2;
// eventPointConfig id
optional int32 eventId = 3;
}

View File

@ -25,25 +25,26 @@ import "CommonProto.proto";
}
//
message EventUpdateRequest{
// optionConfig Id
optional int32 optionId = 1;
}
message EventUpdateResponse{
// eventPointConfig id
optional int32 eventId = 1;
optional EventBehaviorCommon EventBehaviorCommon = 2;
}
//
message MapUpdateEventRequest{
//
repeated int32 cells = 1;
//
optional int32 curXY = 2;
// id
optional int32 bigEventId = 3;
// 1
optional int32 choice = 4;
}
message MapUpdateEventResponse{
//
optional int32 curXY = 1;
// 0 -1
optional int32 eventSchedule = 2;
//
repeated Item Items = 3;
}
//
message FightEndRequest {
// ()

View File

@ -89,6 +89,7 @@ enum MessageType{
RECONNECT_REQUEST = 11700; //
RECONNECT_RESPONSE = 11701;
// S 11800
SUCCESS_RESPONSE = 11800; //
// T 11900
TRIGGER_EVENT_REQUEST = 11900; //
TRIGGER_EVENT_RESPONSE = 11901;