| | |
| | | FamilyPartyFB_QuestionTick = 'FamilyPartyFB_QuestionTick%s' #当前题出题时间
|
| | | FamilyPartyFB_AnswerTick = 'FamilyPartyFB_AnswerTick%s' #答对时间
|
| | |
|
| | |
|
| | | AnswerState = 2 #开始答题活动状态
|
| | | ## 玩家登录
|
| | | # @param None
|
| | | # @return None
|
| | |
| | | #刚登录的或刚进仙盟的补发最近的题目
|
| | | gameWorld = GameWorld.GetGameWorld()
|
| | | state = gameWorld.GetDictByKey(ShareDefine.Def_Notify_WorldKey_FBFuncState % ChConfig.Def_FBMapID_FamilyParty)
|
| | | if state != 1:
|
| | | if state != AnswerState:
|
| | | return
|
| | | curFamilyid = curPlayer.GetFamilyID()
|
| | | if not curFamilyid:
|
| | |
| | | #开始出题
|
| | | gameWorld = GameWorld.GetGameWorld()
|
| | | state = gameWorld.GetDictByKey(ShareDefine.Def_Notify_WorldKey_FBFuncState % ChConfig.Def_FBMapID_FamilyParty)
|
| | | if state != 1:
|
| | | if state != AnswerState:
|
| | | return
|
| | | allQuestionIDList = IpyGameDataPY.GetConfigEx('AllQuestionID')
|
| | | ipyMgr = IpyGameDataPY.IPY_Data()
|
| | |
| | |
|
| | | gameWorld = GameWorld.GetGameWorld()
|
| | | state = gameWorld.GetDictByKey(ShareDefine.Def_Notify_WorldKey_FBFuncState % ChConfig.Def_FBMapID_FamilyParty)
|
| | | if state != 1:
|
| | | if state != AnswerState:
|
| | | return
|
| | |
|
| | | curFamilyid = curPlayer.GetFamilyID()
|