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

Method getSpecialAbility

src/Ruleset/Unit.cpp:210–213  ·  view source on GitHub ↗

* Gets the unit's special ability. * @return The unit's specab. */

Source from the content-addressed store, hash-verified

208 * @return The unit's specab.
209 */
210int Unit::getSpecialAbility() const
211{
212 return (int)_specab;
213}
214
215/**
216 * Gets the unit that is spawned when this one dies.

Callers 8

thinkMethod · 0.45
thinkMethod · 0.45
thinkMethod · 0.45
initMethod · 0.45
explodeMethod · 0.45
tallyUnitsMethod · 0.45
hitMethod · 0.45
thinkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected