MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / ClearMembers

Method ClearMembers

src/windows/MemberList.cpp:46–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void MemberList::ClearMembers()
47{
48 m_nextItem = 0;
49 m_nextGroup = 0;
50 m_items.clear();
51 m_groups.clear();
52 m_usrToUsrIdx.clear();
53 m_grpToGrpIdx.clear();
54 m_imageIDs.clear();
55 ListView_DeleteAllItems(m_listHwnd);
56 ListView_RemoveAllGroups(m_listHwnd);
57#ifdef UNICODE
58 ListView_EnableGroupView(m_listHwnd, true);
59#endif
60}
61
62void MemberList::SetGuild(Snowflake g)
63{

Callers 2

HandleCommandFunction · 0.45
WindowProcFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected