Index: protocol/GameCs.proto =================================================================== --- protocol/GameCs.proto (revision 20576) +++ protocol/GameCs.proto (working copy) @@ -58,7 +58,7 @@ //CS_MSGID_UPDATE_ACCOUNT_GRADE_REQ message CSUpdateAccountGradeReq{ int64 uid = 1; - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int32 grade = 3; } @@ -70,8 +70,8 @@ message AccountInfo { int32 accountType = 1; //0 游客 1 facebook 2 google 10 qq 11 weixin - string accountID = 2 [stringlength=64]; - string accountToken = 3 [stringlength=256]; + string accountID = 2 [stringlength=128]; + string accountToken = 3 [stringlength=1024]; int32 platformType = 4; // 1 android 2 ios 3 windows } @@ -2672,7 +2672,7 @@ // message SnsFriendInfoAccount { int32 accountType = 1; // - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; string nick = 3 [stringlength=32]; int32 gender = 4; string icon = 5 [stringlength=32]; @@ -3283,7 +3283,7 @@ message DBBindAccount{ int32 accountType = 1; - string accountId = 2 [stringlength=64]; + string accountId = 2 [stringlength=128]; string email = 3 [stringlength=32]; string nick = 4 [stringlength=32]; } @@ -5756,7 +5756,7 @@ message CSGameListReq { int32 startRealmId = 1; int32 accountType = 2; //客户端不用填这个 - string accountID = 3 [stringlength=64];//客户端不用填这个 + string accountID = 3 [stringlength=128];//客户端不用填这个 string clientVer = 4 [stringlength=32]; // 当前客户端版本号,客户端不用填 string ip = 5 [stringlength=16]; //服务器填,客户端不用管 string areaName = 6 [stringlength=16];//大区名称,东南亚大区 (缩写SEA) 欧洲大区 (缩写EUR) 美洲大区 (缩写America?) @@ -5774,7 +5774,7 @@ message CSGameAreaServerIPReq { string areaName = 1 [stringlength=16];//大区名称,不填会返回所有大区 int32 accountType = 2; //客户端不用填这个 - string accountID = 3 [stringlength=64];//客户端不用填这个 + string accountID = 3 [stringlength=128];//客户端不用填这个 string clientVer = 4 [stringlength=32]; // 当前客户端版本号,客户端不用填 string ip = 5 [stringlength=16]; //服务器填,客户端不用管 } @@ -5830,7 +5830,7 @@ message CSBindGuestFacebookReq { AccountInfo account = 1; int64 uid = 2; - string guestAccountID = 3 [stringlength=64]; + string guestAccountID = 3 [stringlength=128]; } // 2001 校验失败 // 2002 Facebook帐号已经绑定了一个游戏帐号了,无法再次绑定 @@ -5838,7 +5838,7 @@ message CSBindGuestFacebookRes { int32 ret = 1; int32 accountType = 2; - string facebookAccountID = 3 [stringlength=64]; + string facebookAccountID = 3 [stringlength=128]; string email = 4 [stringlength=32]; string nick = 5 [stringlength=32]; } @@ -5847,13 +5847,13 @@ message CSUnBindGuestFacebookReq { AccountInfo account = 1; int64 uid = 2; - string guestAccountID = 3 [stringlength=64]; + string guestAccountID = 3 [stringlength=128]; } //CS_MSGID_UNBIND_GUEST_FACEBOOK_RES = 22; message CSUnBindGuestFacebookRes { int32 ret = 1; int32 accountType = 2; - string facebookAccountID = 3 [stringlength=64]; + string facebookAccountID = 3 [stringlength=128]; string newNick = 4 [stringlength=32]; //新昵称 string newIcon = 5 [stringlength=32];//新头像 } @@ -12981,7 +12981,7 @@ message CSDownLoadResourceReq{ DownLoadResourceOpType opType = 1; int32 downloadId = 2; //下载的对应配表id - string accountId = 3[stringlength=64]; //服务器填 + string accountId = 3[stringlength=128]; //服务器填 int32 accountType = 4;//服务器填 } Index: protocol/GameSs.proto =================================================================== --- protocol/GameSs.proto (revision 20576) +++ protocol/GameSs.proto (working copy) @@ -507,7 +507,7 @@ string nick = 2 [stringlength=32]; int32 gender = 3; string icon = 4 [stringlength=32]; - string tokenInDB = 5 [stringlength=256]; + string tokenInDB = 5 [stringlength=1024]; string email = 6 [stringlength=32]; int32 lastLoginRealm = 7; bool createIfNotExist = 8; @@ -581,7 +581,7 @@ //SS_MSGID_QUERY_SNS_FRIEND_ACCOUNT_REQ message SSQuerySnsFriendAccountReq { int32 accountType = 1; // - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int64 uid = 3; } @@ -588,7 +588,7 @@ //SS_MSGID_QUERY_SNS_FRIEND_ACCOUNT_RES message SSQuerySnsFriendAccountRes { int32 accountType = 1; // - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int64 uid = 3; repeated SnsFriendInfoAccount friends = 4 [repeatedcount=128]; } @@ -612,13 +612,13 @@ //SS_MSGID_QUERY_DB_SNS_FRIEND_ACCOUNT_REQ message SSQueryDBSnsFriendAccountReq { int32 accountType = 1; // - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; } //SS_MSGID_QUERY_DB_SNS_FRIEND_ACCOUNT_RES message SSQueryDBSnsFriendAccountRes { int32 accountType = 1; // - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int64 uid = 3; // string nick = 4 [stringlength=32]; int32 gender = 5; @@ -627,7 +627,7 @@ //SS_MSGID_BIND_GUEST_FACEBOOK_HTTP_CHECK_REQ message SSBindGuestFacebookHttpCheckReq{ AccountInfo accountInfo = 1; - string guestAccountID = 2 [stringlength=64]; + string guestAccountID = 2 [stringlength=128]; } //SS_MSGID_BIND_GUEST_FACEBOOK_HTTP_CHECK_RES message SSBindGuestFacebookHttpCheckRes{ @@ -636,7 +636,7 @@ string nick = 3 [stringlength=32]; int32 gender = 4; string icon = 5 [stringlength=32]; - string guestAccountID = 6 [stringlength=64]; + string guestAccountID = 6 [stringlength=128]; string email = 7 [stringlength=32]; } //SS_MSGID_BIND_GUEST_FACEBOOK_DB_REQ @@ -646,7 +646,7 @@ string nick = 3 [stringlength=32]; int32 gender = 4; string icon = 5 [stringlength=32]; - string guestAccountID = 6 [stringlength=64]; + string guestAccountID = 6 [stringlength=128]; string email = 7 [stringlength=32]; string ip = 8 [stringlength=16]; } @@ -658,7 +658,7 @@ string nick = 4 [stringlength=32]; int32 gender = 5; string icon = 6 [stringlength=32]; - string guestAccountID = 7 [stringlength=64]; + string guestAccountID = 7 [stringlength=128]; string email = 8 [stringlength=32]; } //SS_MSGID_UNBIND_GUEST_FACEBOOK_DB_REQ = 519; //解绑定游客帐号db处理 @@ -665,7 +665,7 @@ message SSUnbindGuestFacebookDbReq{ AccountInfo accountInfo = 1; int64 uid = 2; - string guestAccountID = 3 [stringlength=64]; + string guestAccountID = 3 [stringlength=128]; } //SS_MSGID_UNBIND_GUEST_FACEBOOK_DB_RES = 520; //解绑定游客帐号db处理 message SSUnbindGuestFacebookDbRes{ @@ -672,7 +672,7 @@ int32 ret = 1; AccountInfo accountInfo = 2; int64 uid = 3; - string guestAccountID = 4 [stringlength=64]; + string guestAccountID = 4 [stringlength=128]; } //SS_MSGID_UNBIND_GUEST_FACEBOOK_NOTIFY_HTTP message SSUnbindGuestFacebookNotifyHttp{ @@ -695,7 +695,7 @@ //SS_MSGID_CHANGE_FACEBOOK_UID_DB_REQ message SSChangeFacebookUidDbReq{ int32 accountType = 1; - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int32 realmId = 3; int64 uid = 4; // 新的uid } @@ -702,7 +702,7 @@ //SS_MSGID_CHANGE_FACEBOOK_UID_DB_RES message SSChangeFacebookUidDbRes{ int32 accountType = 1; - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int32 realmId = 3; int64 uid = 4; int32 ret = 5; @@ -711,7 +711,7 @@ //SS_MSGID_UPDATE_ACCOUNT_LASTLOGINREALM message SSUpdateAccountLastLoginRealm{ int32 accountType = 1; // - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int32 lastLoginRealm = 3; } @@ -731,7 +731,7 @@ //SS_MSGID_REALM_ROLE_BRIEF_REQ message SSRealmRoleBriefReq { int32 accountType = 1; - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; int32 fromClient = 3; string areaName = 4 [stringlength=16];//大区名称 } @@ -739,7 +739,7 @@ //SS_MSGID_REALM_ROLE_BRIEF_RES message SSRealmRoleBriefRes { int32 accountType = 1; - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; repeated CSRoleBrief roleList = 3 [repeatedcount=128]; int32 fromClient = 4; string areaName = 5 [stringlength=16];//大区名称 @@ -748,7 +748,7 @@ //SS_MSGID_UPDATE_REALM_ROLE_BRIEF message SSUpdateRealmRoleBrief { int32 accountType = 1; - string accountID = 2 [stringlength=64]; + string accountID = 2 [stringlength=128]; CSRoleBrief roleBrief = 3; // 注意roleBrief里面的字段要判断是否有效 } @@ -756,7 +756,7 @@ message SSNameQueryReq{ string hashName = 1 [stringlength=64]; string strName = 2 [stringlength=64]; - string accountID = 3 [stringlength=64]; + string accountID = 3 [stringlength=128]; bool createIfNotExist = 4; int64 playerSessionID = 5; //服务器检测时添加 } @@ -764,7 +764,7 @@ message SSNameQueryRes{ string hashName = 1 [stringlength=64]; string strName = 2 [stringlength=64]; - string accountID = 3 [stringlength=64]; + string accountID = 3 [stringlength=128]; bool createIfNotExist = 4; // 创建 int32 count = 5; // 数量 int32 ret = 6; // 查询结果 @@ -774,13 +774,13 @@ message SSNameInsertReq{ string hashName = 1 [stringlength=64]; string strName = 2 [stringlength=64]; - string accountID = 3 [stringlength=64]; + string accountID = 3 [stringlength=128]; } //SS_MSGID_NAME_INSERT_RES = 564; //插入name message SSNameInsertRes{ string hashName = 1 [stringlength=64]; string strName = 2 [stringlength=64]; - string accountID = 3 [stringlength=64]; + string accountID = 3 [stringlength=128]; int32 ret = 4; } @@ -1704,7 +1704,7 @@ //SS_GAMEMSGID_GM_QUERY_USER_AccountInfo_REQ=20269;//查询账号信息 message SSGmQueryUserAccountInfoRes{ uint32 id = 1 ;//本次查询guid - string accountId=2[stringlength=64];//账户ID + string accountId=2[stringlength=128];//账户ID uint64 createTime=3;//账号创建时间 string createDeviceId=4[stringlength=64];//设备id uint32 createIpAddr=5;//创建时IP @@ -2935,8 +2935,8 @@ message SSPrimarySyncAccountInfoReq { uint64 runtimeId = 1; int32 accountType = 2; - string accountID = 3 [stringlength=64]; - string accountToken = 4 [stringlength=256]; + string accountID = 3 [stringlength=128]; + string accountToken = 4 [stringlength=1024]; int32 platformType = 5; string channel = 6 [stringlength=32]; int64 channelId = 7;