Compare commits

..

No commits in common. "5d113056c85ef35d1b3607e88d6fc208d4a65fd4" and "776ba8a19c508d5a6a402a0f44bf7893686c9534" have entirely different histories.

5 changed files with 7 additions and 14 deletions

View File

@ -168,10 +168,10 @@ const (
// 房间模式
const (
SceneMode_Public = 0 //公共房间
SceneMode_Private = 2 //私人房间
SceneMode_Match = 3 //赛事房间
SceneMode_Thr = 4 //三方房间
SceneMode_Public = iota //公共房间
SceneMode_Private //私人房间
SceneMode_Match //赛事房间
SceneMode_Thr //三方房间
)
const (

View File

@ -1055,13 +1055,6 @@ func GetPlayerDataBySnId(plt string, snid int32, correctData, createIfNotExist b
logger.Logger.Tracef("Get %v %v player data error:%v", plt, snid, err)
return nil, false
}
// 设置本地时区
ret.Pd.UpgradeTime = ret.Pd.UpgradeTime.Local()
ret.Pd.CreateTime = ret.Pd.CreateTime.Local()
ret.Pd.LastLoginTime = ret.Pd.LastLoginTime.Local()
ret.Pd.LastLogoutTime = ret.Pd.LastLogoutTime.Local()
return ret.Pd, ret.IsNew
}

View File

@ -4726,7 +4726,7 @@ type CSQueryRoomInfo struct {
GameIds []int32 `protobuf:"varint,1,rep,packed,name=GameIds,proto3" json:"GameIds,omitempty"`
GameSite int32 `protobuf:"varint,2,opt,name=GameSite,proto3" json:"GameSite,omitempty"` //1.初级 2.中级 3.高级
Id []int32 `protobuf:"varint,3,rep,packed,name=Id,proto3" json:"Id,omitempty"` //gamefreeid
SceneMode int32 `protobuf:"varint,4,opt,name=SceneMode,proto3" json:"SceneMode,omitempty"` // 0公共房 2私人房
SceneMode int32 `protobuf:"varint,4,opt,name=SceneMode,proto3" json:"SceneMode,omitempty"` // 0公共房 1私人房
}
func (x *CSQueryRoomInfo) Reset() {

View File

@ -615,7 +615,7 @@ message CSQueryRoomInfo{
repeated int32 GameIds = 1;
int32 GameSite = 2; //1. 2. 3.
repeated int32 Id = 3; //gamefreeid
int32 SceneMode = 4; // 0 2
int32 SceneMode = 4; // 0 1
}
//

2
public

@ -1 +1 @@
Subproject commit 549a622ad237392dddedae5d13456a06a8328fdd
Subproject commit 7f2452e10c176dc35fc5ed1ffdb0b4145aec8160