MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / message

Method message

game/state/gameevent.cpp:66–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66UString GameEvent::message()
67{
68 switch (type)
69 {
70 case GameEventType::MissionCompletedBuildingAlien:
71 return tr("Mission completed in Alien building.");
72 case GameEventType::MissionCompletedVehicle:
73 return tr("X-COM returning from UFO mission.");
74 case GameEventType::BuildingDisabled:
75 return tr("Building has been disabled");
76 default:
77 break;
78 }
79 return "";
80}
81
82UString GameVehicleEvent::message()
83{

Callers 5

logEventMethod · 0.80
eventOccurredMethod · 0.80
beginMethod · 0.80
handleGameStateEventMethod · 0.80
handleGameStateEventMethod · 0.80

Calls 3

trFunction · 0.85
formatFunction · 0.85
isGroundMethod · 0.80

Tested by

no test coverage detected