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

Method btnRankClick

src/Battlescape/InventoryState.cpp:477–480  ·  view source on GitHub ↗

* Shows the unit info screen. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

475 * @param action Pointer to an action.
476 */
477void InventoryState::btnRankClick(Action *)
478{
479 _game->pushState(new UnitInfoState(_game, _battleGame->getSelectedUnit(), _parent, true, false));
480}
481
482/**
483 * Updates item info.

Callers

nothing calls this directly

Calls 2

pushStateMethod · 0.80
getSelectedUnitMethod · 0.80

Tested by

no test coverage detected