static async Task<FriendRequestedType> AcceptFriendRequest(int identifier) | Accepts a friend request by calling the API's add friend for that player. |
static async Task<BanRole?> BanPlayer(int playerToBanId, int serverId) | Bans a player from the server's group unless they are a server owner; returns whether the banner was owner or moderator, or null. |
static async Task RemoveFriend(int identifier) | Removes a friend through the API. |
static async Task ReportPlayer(int playerToReportId, ReportType reportType, int serverId) | Sends a player report of the given type for a server. |
static async Task<FriendRequestedType> RequestFriend(int identifier) | Sends a friend request, or with two IDs creates a friendship between two users directly. |
static async Task<FriendRequestResult> RequestFriend(int tokenOwnerId, int newFriendId) | Sends a friend request, or with two IDs creates a friendship between two users directly. |
static async Task UnbanPlayer(int revokedPlayerId, int serverId) | Finds the player's ban in the server's group and revokes it. |