MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / getGuildName

Method getGuildName

src/logic/PlayerController.cpp:1682–1687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1680}
1681
1682std::string PlayerController::getGuildName()
1683{
1684 // Guilds are stored as an array in a symbol called "TXT_GUILDS"
1685 auto& sym = m_World.getScriptEngine().getVM().getDATFile().getSymbolByName("TXT_GUILDS");
1686 return sym.getString((unsigned int)getScriptInstance().guild);
1687}
1688
1689void PlayerController::updateStatusScreen(UI::Menu_Status& statsScreen)
1690{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected