MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / ClearChatLogs

Function ClearChatLogs

src/Chat.c:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40double Chat_RecentLogTimes[CHATLOG_TIME_MASK + 1];
41
42static void ClearChatLogs(void) {
43 Mem_Set(Chat_RecentLogTimes, 0, sizeof(Chat_RecentLogTimes));
44 StringsBuffer_Clear(&Chat_Log);
45}
46
47static char logNameBuffer[STRING_SIZE];
48static cc_string logName = String_FromArray(logNameBuffer);

Callers 2

Chat_AddOfFunction · 0.85
OnFreeFunction · 0.85

Calls 2

Mem_SetFunction · 0.85
StringsBuffer_ClearFunction · 0.85

Tested by

no test coverage detected