diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index b361a86..1548ca8 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -39,6 +39,7 @@ option optimize_for = SPEED; optional int32 decrotion = 21;//皮肤 optional int32 ride = 22;//坐骑 optional int32 rideLevel = 23;//坐骑等级 + optional int32 sex = 24;//玩家性别 0男1女 } message Privilege{ diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 9ad023b..86a293a 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -686,6 +686,9 @@ enum MessageType{ SOUL_RAND_EQUIP_RESPONSE = 11836; SOUL_FORCE_RAND_EQUIP_REQUEST = 11837; //抽魂印 SOUL_FORCE_RAND_EQUIP_RESPONSE = 11838; + + SEX_SET_REQUEST = 11839; //性别设置 + SEX_SET_RESPONSE = 11840; // T 11900 TRIGGER_EVENT_REQUEST = 11900; // diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 5ea7841..975efca 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -672,4 +672,11 @@ import "CommonProto.proto"; message MissingRoomAccelerateRequest{ optional int32 missionId = 1; } + + message SexChangeRequest{ + optional int32 sex = 1; //0 男性 1 女 + } + + message SexChangeResponse{ + } \ No newline at end of file