Ejemplo n.º 1
0
def questHasThisAchievementAsBonus(name, block):
    from gui.server_events import g_eventsCache
    for records in g_eventsCache.getQuestsDossierBonuses().itervalues():
        if (block, name) in records:
            return True

    return False
Ejemplo n.º 2
0
def questHasThisAchievementAsBonus(name, block):
    from gui.server_events import g_eventsCache
    for records in g_eventsCache.getQuestsDossierBonuses().itervalues():
        if (block, name) in records:
            return True

    return False
Ejemplo n.º 3
0
    def __getQuestByDossierRecord(cls, name):
        from gui.server_events import g_eventsCache
        for qID, records in g_eventsCache.getQuestsDossierBonuses().iteritems():
            if (_AB.UNIQUE, name) in records:
                return g_eventsCache.getQuests().get(qID)

        return None
Ejemplo n.º 4
0
 def __getQuestByDossierRecord(cls, name):
     from gui.server_events import g_eventsCache
     for qID, records in g_eventsCache.getQuestsDossierBonuses().iteritems(
     ):
         if (_AB.UNIQUE, name) in records:
             return g_eventsCache.getQuests().get(qID)