Games - Quest

wouso.games.quest.models

class wouso.games.quest.models.FinalQuest(*args, **kwargs)

FinalQuest(id, start, end, title, order, quest_ptr_id)

class wouso.games.quest.models.Quest(*args, **kwargs)

Quest(id, start, end, title, order)

get_formula(type='quest-ok')

Allow specific formulas for specific quests. Hackish by now, think of a better approach in next version TODO

levels

Get questions/levels in specified order

status

Current activity status. Note (alexef): I’m not particulary happy with this

class wouso.games.quest.models.QuestGame(*args, **kwargs)

Each game must extend Game

classmethod get_formulas(kls)

Returns a list of formulas used by qotd

class wouso.games.quest.models.QuestResult(*args, **kwargs)

QuestResult(id, user_id, quest_id, level)

class wouso.games.quest.models.QuestUser(*args, **kwargs)

QuestUser(id, user_id, points, level_no, last_seen, nickname, race_id, player_ptr_id, current_quest_id, current_level, started_time, finished_time, finished)

started

Check if we started the current quest.

Table Of Contents

Previous topic

Games - Question of the Day

This Page