-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGlobalEventType.cpp
More file actions
41 lines (40 loc) · 1.24 KB
/
GlobalEventType.cpp
File metadata and controls
41 lines (40 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "GlobalEventType.h"
const char* ToString(GlobalEventType evt) {
switch (evt)
{
case GlobalEventType::PopulationGrowth:
return "PopulationGrowth";
case GlobalEventType::SaviorOfGreece:
return "SaviorOfGreece";
case GlobalEventType::InventionOfTheTrireme:
return "InventionOfTheTrireme";
case GlobalEventType::Conscription:
return "Conscription";
case GlobalEventType::MilitarySuperiority:
return "MilitarySuperiority";
case GlobalEventType::RiseOfPersia:
return "RiseOfPersia";
case GlobalEventType::Prosperity:
return "Prosperity";
case GlobalEventType::DeliveriesFromLydia:
return "DeliveriesFromLydia";
case GlobalEventType::Hostilities:
return "Hostilities";
case GlobalEventType::ThirtyTyrants:
return "ThirtyTyrants";
case GlobalEventType::PlagueOfAthens:
return "PlagueOfAthens";
case GlobalEventType::DelphicOracle:
return "DelphicOracle";
case GlobalEventType::Drought:
return "Drought";
case GlobalEventType::EleusinianMysteries:
return "EleusinianMysteries";
case GlobalEventType::TheBirthOfTheAcademy:
return "TheBirthOfTheAcademy";
case GlobalEventType::MilitaryCampaignAgainstPersia:
return "MilitaryCampaignAgainstPersia";
default:
return "unknown";
}
}