| | |
| | | tagServerID = clientPack.ServerID
|
| | |
|
| | | # 本服或主服是本服
|
| | | if not tagServerID or tagServerID == GameWorld.GetGameWorld().GetServerID():
|
| | | if not tagServerID or tagServerID == GameWorld.GetGameWorld().GetServerID() or playerID < ShareDefine.RealPlayerIDStart:
|
| | | NetPackCommon.SendFakePack(curPlayer, GetPack_ViewCache(tagPlayerID))
|
| | | return
|
| | |
|
| | |
| | | clientPack.ServerID = curCache.GetServerID()
|
| | | clientPack.FightPower = curCache.GetFightPower()
|
| | | clientPack.FightPowerEx = curCache.GetFightPowerEx()
|
| | | clientPack.FamilyID = curCache.GetFamilyID()
|
| | | familyID = curCache.GetFamilyID()
|
| | | familyDataServerID = DBDataMgr.GetFamilyMgr().GetCurCrossServerID()
|
| | | if familyDataServerID <= 0:
|
| | | familyDataServerID = GameWorld.GetGameWorld().GetServerID() # 公会未跨服时默认就是玩家所在服
|
| | | clientPack.FamilyID = familyID
|
| | | clientPack.FamilyName = curCache.GetFamilyName()
|
| | | clientPack.FamilyEmblemID = curCache.GetFamilyEmblemID()
|
| | | clientPack.FamilyEmblemWord = curCache.GetFamilyEmblemWord()
|
| | | clientPack.FamilyDataServerID = familyDataServerID
|
| | | clientPack.PlusData = curCache.GetPlusData()
|
| | | clientPack.PlusDataSize = len(clientPack.PlusData)
|
| | | return clientPack
|