コード例 #1
0
 def __init__(self, questId=None, title=None, rewards=None):
     POD.__init__(self)
     if None not in (questId, title, rewards):
         self.setQuestId(questId)
         self.setTitle(title)
         self.setRewards(rewards)
     return
コード例 #2
0
 def __init__(self, questId = None, title = None, initialTaskStates = None, rewards = None):
     POD.__init__(self)
     if questId is not None:
         self.setQuestId(questId)
         self.setTitle(title)
         self.setInitialTaskStates(initialTaskStates)
         self.setRewards(rewards)
コード例 #3
0
 def __init__(self,
              questId=None,
              title=None,
              initialTaskStates=None,
              rewards=None):
     POD.__init__(self)
     if questId is not None:
         self.setQuestId(questId)
         self.setTitle(title)
         self.setInitialTaskStates(initialTaskStates)
         self.setRewards(rewards)
コード例 #4
0
 def __init__(self, questId = None, giverId = None, initialTaskStates = None, rewards = None):
     self.questDNA = None
     self._serialNum = Quest.SerialNum
     Quest.SerialNum += 1
     POD.__init__(self)
     if questId is not None:
         self.setupQuest(questId, giverId, initialTaskStates, rewards)
     
     self._Quest__finished = False
     self._Quest__finalized = False
     self._Quest__timedOut = False
     self._Quest__timeRemaining = 0
コード例 #5
0
 def __init__(self,
              questId=None,
              giverId=None,
              initialTaskStates=None,
              rewards=None):
     self.questDNA = None
     self._serialNum = Quest.SerialNum
     Quest.SerialNum += 1
     POD.__init__(self)
     if questId is not None:
         self.setupQuest(questId, giverId, initialTaskStates, rewards)
     self.__finished = False
     self.__finalized = False
     self.__timedOut = False
     self.__timeRemaining = 0
     return
コード例 #6
0
    def __init__(self, amount=None, bonus=False, **kwArgs):
        if amount is not None:
            kwArgs['amount'] = amount

        POD.__init__(self)
        self.bonus = bonus
コード例 #7
0
ファイル: CutsceneData.py プロジェクト: Kealigal/POS2013
 def __init__(self, *args, **kwArgs):
     POD.__init__(self, *args, **args)
     self.filename = CutsceneFilenames[self.id]
コード例 #8
0
    def __init__(self, amount = None, bonus = False, **kwArgs):
        if amount is not None:
            kwArgs['amount'] = amount

        POD.__init__(self)
        self.bonus = bonus
コード例 #9
0
 def __init__(self, questId = None, title = None, rewards = None):
     POD.__init__(self)
     if None not in (questId, title, rewards):
         self.setQuestId(questId)
         self.setTitle(title)
         self.setRewards(rewards)