hxp
2018-12-29 aebb62c6097eb8cba70a1aa1338d4befb19a7a4e
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
@@ -28,6 +28,7 @@
import GameLogic_FamilyWar
import ChMapToGamePyPack
import PlayerFamilyTech
import PlayerFamilyRedPacket
import SkillCommon
import BuffSkill
import ItemCommon
@@ -108,7 +109,7 @@
    if curPlayer.GetFamilyMemberLV() != refreshPack.GetFamilyMemberLV():
        curPlayer.SetFamilyMemberLV(refreshPack.GetFamilyMemberLV())
        #通知周围玩家家族职位刷新
        curPlayer.Notify_FamilyMemberLVRefresh()
        #curPlayer.Notify_FamilyMemberLVRefresh()
        GameLogic_FamilyWar.DoCheckChampionFamilyTitle(curPlayer)
    
    if curPlayer.GetFamilyMoney() != refreshPack.GetFamilyMoney():
@@ -152,6 +153,7 @@
    PlayerFamilyTech.Sync_PlayerFamilyTechLV(curPlayer)
    DelAddFamilyRecord(curPlayer)
    GameLogic_FamilyWar.DoCheckChampionFamilyTitle(curPlayer)
    PlayerFamilyRedPacket.CreatCacheRedPacktet(curPlayer)
    return
## 退出家族触发事件
@@ -184,7 +186,7 @@
def __OnFamilyLVBuffChange(curPlayer, tick):
    return
    # 跨服服务器不处理,防止登录跨服服务器后无战盟导致战力下降
    if GameWorld.IsMergeServer():
    if GameWorld.IsCrossServer():
        return
    
    familyLVBuffSkillTypeID = ReadChConfig.GetEvalChConfig("FamilyLVBuff")
@@ -753,6 +755,7 @@
#  @param awardIndex
#  @return None
def GetFamilyActivityAward(curPlayer, awardIndex):
    return
    familyActiveList = IpyGameDataPY.GetFuncEvalCfg('FamilyActive')
    familyActiveAwardList = IpyGameDataPY.GetFuncEvalCfg('FamilyActive', 2)
    if awardIndex < 0 or awardIndex >= len(familyActiveList):
@@ -788,6 +791,7 @@
    return
def AddFamilyActivity(curPlayer, actionid, addCnt=1):
    return
    ipyData = IpyGameDataPY.GetIpyGameData('FamilyActivity', actionid)
    if not ipyData:
        return
@@ -815,6 +819,7 @@
    return totalPoint
def SyncFamilyActivityInfo(curPlayer, syncActionid=-1):
    return
    #通知活跃领取情况
    syncActionIDList = ShareDefine.FamilyActiveIDList if syncActionid==-1 else [syncActionid]
    sendPack = ChPyNetSendPack.tagMCFamilyActivityInfo()
@@ -843,7 +848,7 @@
def UpdateFamilyName(index, clientData, tick):
    
    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
    if GameWorld.IsMergeServer():
    if GameWorld.IsCrossServer():
        #itemuse_lzxkoy_0:不可在跨服环境下使用改名功能。
        PlayerControl.NotifyCode(curPlayer, "itemuse_lzxkoy_0")
        return