Core/Events: announce event system improvement. (#1228)

* DB: update timestamps for #1187
This commit is contained in:
Viste(Кирилл)
2019-01-08 16:15:38 +03:00
committed by GitHub
parent 2f5653c24f
commit 31bce00b2a
3 changed files with 18 additions and 10 deletions

View File

@@ -55,6 +55,7 @@ struct GameEventData
GameEventConditionMap conditions; // conditions to finish
std::set<uint16 /*gameevent id*/> prerequisite_events; // events that must be completed before starting this event
std::string description;
uint8 announce; // if 0 dont announce, if 1 announce, if 2 take config value
bool isValid() const { return length > 0 || state > GAMEEVENT_NORMAL; }
};