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

Method ConAddFriend

src/engine/client/friends.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void CFriends::ConAddFriend(IConsole::IResult *pResult, void *pUserData)
20{
21 CFriends *pSelf = (CFriends *)pUserData;
22 pSelf->AddFriend(pResult->GetString(0), pResult->GetString(1));
23}
24
25void CFriends::ConRemoveFriend(IConsole::IResult *pResult, void *pUserData)
26{

Callers

nothing calls this directly

Calls 2

AddFriendMethod · 0.80
GetStringMethod · 0.45

Tested by

no test coverage detected