MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetName

Method GetName

engine/Poseidon/Network/NetworkMessages.cpp:1709–1719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1707}
1708
1709RString PlayerIdentity::GetName() const
1710{
1711 if (squad)
1712 {
1713 return name + RString(" [") + squad->nick + RString("]");
1714 }
1715 else
1716 {
1717 return name;
1718 }
1719}
1720
1721// network message indices for SquadIdentity class
1722class IndicesSquad : public NetworkMessageIndices

Callers 5

InitMethod · 0.45
GetPlayersMethod · 0.45
ConvertContextToCfgPathFunction · 0.45

Calls 1

RStringClass · 0.50

Tested by

no test coverage detected