MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / operator()

Method operator()

src/Savegame/AlienMission.cpp:67–67  ·  view source on GitHub ↗

Match with stored ID.

Source from the content-addressed store, hash-verified

65 matchById(int id) : _id(id) { /* Empty by design. */ }
66 /// Match with stored ID.
67 bool operator()(const AlienBase *ab) const { return ab->getId() == _id; }
68private:
69 int _id;
70};

Callers

nothing calls this directly

Calls 1

getIdMethod · 0.45

Tested by

no test coverage detected