MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getSatisfaction

Method getSatisfaction

src/Savegame/Country.cpp:114–119  ·  view source on GitHub ↗

* Keith Richards would be so proud * @return satisfaction level, 0 = alien pact, 1 = unhappy, 2 = satisfied, 3 = happy. */

Source from the content-addressed store, hash-verified

112 * @return satisfaction level, 0 = alien pact, 1 = unhappy, 2 = satisfied, 3 = happy.
113 */
114int Country::getSatisfaction()
115{
116 if(_pact)
117 return 0;
118 return _satisfaction;
119}
120
121/**
122 * Adds to the country's xcom activity level.

Callers 1

calculateChangesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected