MCPcopy Create free account
hub / github.com/ddnet/ddnet / Print

Method Print

src/engine/server/databases/mysql.cpp:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void CMysqlConnection::Print(IConsole *pConsole, const char *pMode)
193{
194 char aBuf[512];
195 str_format(aBuf, sizeof(aBuf),
196 "MySQL-%s: DB: '%s' Prefix: '%s' User: '%s' IP: <{'%s'}> Port: %d",
197 pMode, m_Config.m_aDatabase, GetPrefix(), m_Config.m_aUser, m_Config.m_aIp, m_Config.m_Port);
198 pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "server", aBuf);
199}
200
201void CMysqlConnection::ToUnixTimestamp(const char *pTimestamp, char *aBuf, unsigned int BufferSize)
202{

Callers 15

LogMethod · 0.45
ConsoleCommandMethod · 0.45
BanExtMethod · 0.45
BanRangeMethod · 0.45
ConBanExtMethod · 0.45
KickMethod · 0.45
DelClientCallbackMethod · 0.45
SendMapDataMethod · 0.45
ProcessClientPacketMethod · 0.45
LoadMapMethod · 0.45
RunMethod · 0.45
ConStatusMethod · 0.45

Calls 1

str_formatFunction · 0.85

Tested by

no test coverage detected