3#ifndef ENGINE_CLIENT_FRIENDS_H
4#define ENGINE_CLIENT_FRIENDS_H
26 void Init(
bool Foes =
false)
override;
30 int GetFriendState(
const char *pName,
const char *pClan)
const override;
31 bool IsFriend(
const char *pName,
const char *pClan,
bool PlayersOnly)
const override;
33 void AddFriend(
const char *pName,
const char *pClan)
override;
34 void RemoveFriend(
const char *pName,
const char *pClan)
override;
CFriends()
Definition: friends.cpp:12
static void ConAddFriend(IConsole::IResult *pResult, void *pUserData)
Definition: friends.cpp:19
int NumFriends() const override
Definition: friends.h:28
int m_Foes
Definition: friends.h:14
void RemoveFriend(const char *pName, const char *pClan) override
Definition: friends.cpp:123
const CFriendInfo * GetFriend(int Index) const override
Definition: friends.cpp:63
void Init(bool Foes=false) override
Definition: friends.cpp:37
static void ConfigSaveCallback(IConfigManager *pConfigManager, void *pUserData)
Definition: friends.cpp:162
int m_NumFriends
Definition: friends.h:15
static void ConRemoveFriend(IConsole::IResult *pResult, void *pUserData)
Definition: friends.cpp:25
static void ConFriends(IConsole::IResult *pResult, void *pUserData)
Definition: friends.cpp:31
int GetFriendState(const char *pName, const char *pClan) const override
Definition: friends.cpp:68
void Friends()
Definition: friends.cpp:147
bool IsFriend(const char *pName, const char *pClan, bool PlayersOnly) const override
Definition: friends.cpp:89
void AddFriend(const char *pName, const char *pClan) override
Definition: friends.cpp:102
CFriendInfo m_aFriends[MAX_FRIENDS]
Definition: friends.h:13
@ MAX_FRIENDS
Definition: friends.h:28