mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-02 14:10:05 +00:00
Renaming PhenomenonInfo to ImpactBasedWarningInfo
This commit is contained in:
parent
829d8a3152
commit
38a2831779
3 changed files with 31 additions and 26 deletions
|
|
@ -20,14 +20,14 @@ enum class ThreatCategory : int
|
|||
Unknown
|
||||
};
|
||||
|
||||
struct PhenomenonInfo
|
||||
struct ImpactBasedWarningInfo
|
||||
{
|
||||
bool hasObservedTag_ {false};
|
||||
bool hasTornadoPossibleTag_ {false};
|
||||
std::vector<ThreatCategory> threatCategories_ {ThreatCategory::Base};
|
||||
};
|
||||
|
||||
const PhenomenonInfo& GetPhenomenonInfo(Phenomenon phenomenon);
|
||||
const ImpactBasedWarningInfo& GetImpactBasedWarningInfo(Phenomenon phenomenon);
|
||||
|
||||
ThreatCategory GetThreatCategory(const std::string& name);
|
||||
const std::string& GetThreatCategoryName(ThreatCategory threatCategory);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue