| | |
| | | def GetPlayerMainServerID(accIDPlatform):
|
| | | # 玩家合服后所属主服ID
|
| | | # @param accIDPlatform: 玩家账号所属的平台
|
| | | #===========================================================================
|
| | | # mainServerID = ToIntDef(ReadChConfig.GetPyMongoConfig("platform", "%sMainServerID" % accIDPlatform), None)
|
| | | # if mainServerID != None:
|
| | | # return mainServerID
|
| | | #===========================================================================
|
| | | mainServerID = ToIntDef(ReadChConfig.GetPyMongoConfig("platform", "%sMainServerID" % accIDPlatform), None)
|
| | | if mainServerID != None:
|
| | | return mainServerID
|
| | | return GetServerID()
|
| | |
|
| | | ##获取玩家所属平台
|