MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GetPromotedRank

Method GetPromotedRank

Source/GameData.hpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 uint8 GetPromotedRank() const {
54 uint8 newRank = (mPhaseCount + mRank);
55 return (newRank > 0x0F) ? 0x0F : newRank;
56 }
57
58 void Promote() {
59

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected