| | |
| | | # 需要记录任务值的任务类型列表
|
| | | NeedTaskValueTypeList = [RealmTaskType_UseXiantao]
|
| | |
|
| | | def DoOfficialOpen(curPlayer):
|
| | | #功能开启
|
| | | # curRealmLV = curPlayer.GetOfficialRank()
|
| | | # if not curRealmLV:
|
| | | # DoRealmLVUpLogic(curPlayer)
|
| | | return True
|
| | |
|
| | |
|
| | | def OnLogin(curPlayer):
|
| | | SyncRealmInfo(curPlayer, isAll=True)
|
| | | if not curPlayer.GetOfficialRank():
|
| | | curPlayer.SetOfficialRank(1)
|
| | | if ChConfig.Def_InitOfficialRank > 0 and not curPlayer.GetOfficialRank():
|
| | | curPlayer.SetOfficialRank(ChConfig.Def_InitOfficialRank)
|
| | | return
|
| | |
|
| | | def GetRealmIpyData(realmLV): return IpyGameDataPY.GetIpyGameData("Realm", realmLV)
|