MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetLine

Method GetLine

src/BlockEntities/SignEntity.cpp:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60AString cSignEntity::GetLine(int a_Index) const
61{
62 if ((a_Index < 0) || (a_Index >= (int)ARRAYCOUNT(m_Line)))
63 {
64 LOGWARNING("%s: requesting a non-existent line %d", __FUNCTION__, a_Index);
65 return "";
66 }
67 return m_Line[a_Index];
68}
69
70
71

Callers 2

GetSignLinesMethod · 0.80
AddSignEntityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected