diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index e89c7e36..ed225ab6 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -239,6 +239,17 @@ message ResLogin{ string UserName = 3; string FaceBookId = 4; } + +message ReqChangePassword{ + string UserName = 1; + string OldPwd = 2; // -1表示不校验旧密码 + string NewPwd = 3; +} + +message ResChangePassword{ + int32 ResultCode = 1; +} + ///请求玩家基本信息(玩家登入成功后,第一条请求信息) message ReqPlayerBaseInfo{ int64 dwUin = 1;