MCPcopy Create free account
hub / github.com/cppla/ServerStatus / Send

Method Send

server/src/network.cpp:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138int CNetwork::Send(int ClientID, const char *pLine)
139{
140 if(m_aSlots[ClientID].m_Connection.State() == NET_CONNSTATE_ONLINE)
141 return m_aSlots[ClientID].m_Connection.Send(pLine);
142 else
143 return -1;
144}

Callers

nothing calls this directly

Calls 1

StateMethod · 0.80

Tested by

no test coverage detected