MCPcopy Create free account
hub / github.com/EasyRPG/Player / GetClassName

Method GetClassName

src/game_actor.cpp:1106–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1104}
1105
1106std::string_view Game_Actor::GetClassName() const {
1107 if (!GetClass()) {
1108 return {};
1109 }
1110 return GetClass()->name;
1111}
1112
1113static int ClampMaxHpMod(int hp, const Game_Actor* actor) {
1114 auto limit = actor->MaxHpValue();

Callers 1

DrawActorClassMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected