| | |
| | | import PlayerSignDay
|
| | | import PlayerGoldGift
|
| | | import PlayerEquipDecompose
|
| | | import PlayerCrossChampionship
|
| | | import PlayerFreeGoods
|
| | | import FunctionNPCCommon
|
| | | import PlayerGreatMaster
|
| | |
| | | ShareDefine.GameFuncID_Arena:lambda curObj:PlayerArena.DoArenaOpen(curObj),
|
| | | ShareDefine.GameFuncID_FaQi:lambda curObj:PlayerFaQi.DoFaQiOpen(curObj),
|
| | | ShareDefine.GameFuncID_LianTi:lambda curObj:PlayerLianTi.DoLianTiOpen(curObj),
|
| | | ShareDefine.GameFuncID_Championship:lambda curObj:PlayerCrossChampionship.DoChampionshipOpen(curObj),
|
| | | #ShareDefine.GameFuncID_RunDaily:lambda curObj:FBCommon.DoFuncOpen_RunDaily(curObj),
|
| | | #ShareDefine.GameFuncID_RunFamily:lambda curObj:FBCommon.DoFuncOpen_RunFamily(curObj),
|
| | | #ShareDefine.GameFuncID_RefineExp:lambda curObj:Operate_PlayerBuyZhenQi.DoFuncOpen_RefineExp(curObj),
|
| | |
| | | #FuncLVUpLogicDict = {
|
| | | # ShareDefine.GameFuncID_Pet:lambda curObj:PlayerPet.DoLVUPLogic_Pet(curObj),
|
| | | # }
|
| | |
|
| | | # 功能开启需要同步到GameServer的
|
| | | FuncOpenNotifyGameServer = [ShareDefine.GameFuncID_Championship]
|
| | |
|
| | | def GetFuncOpenLVIpyData(funcID): return IpyGameDataPY.GetIpyGameData("FuncOpenLV", funcID)
|
| | |
|
| | |
| | |
|
| | | if openFuncIDList:
|
| | | Sync_FuncOpenState(curPlayer, openFuncIDList)
|
| | | notifyGameServerFuncIDList = []
|
| | | for funcID in openFuncIDList:
|
| | | if funcID not in FuncOpenNotifyGameServer:
|
| | | continue
|
| | | notifyGameServerFuncIDList.append(funcID)
|
| | | if notifyGameServerFuncIDList:
|
| | | GameWorld.DebugLog("notifyGameServerFuncIDList=%s" % notifyGameServerFuncIDList)
|
| | | msgInfo = str(notifyGameServerFuncIDList)
|
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(curPlayer.GetID(), 0, 0, "FuncOpen", msgInfo, len(msgInfo))
|
| | | return
|
| | |
|
| | | ## 功能是否可用
|