36 static bool activate(
Tracker *
t,
const std::string &
id, std::string *reason =
nullptr);
38 static bool canActivate(
Tracker *
t,
const std::string &
id, std::string *reason =
nullptr);
40 static std::string canActivateReason(
Tracker *
t,
const std::string &
id);
43 static void notify(
Tracker *
t,
const std::string &topic,
const std::string &
target,
int amount);
46 static bool claim(
Tracker *
t,
const std::string &
id, std::string *reason =
nullptr);
49 static bool reset(
Tracker *
t,
const std::string &
id);
51 static bool abandon(
Tracker *
t,
const std::string &
id);
53 static bool fail(
Tracker *
t,
const std::string &
id,
const std::string &reason);
56 static void pollEvents(
Tracker *
t, std::vector<QuestEvent> &out);