mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-24 04:40:05 +00:00
Implement player blocking
This commit is contained in:
@@ -85,6 +85,10 @@ namespace Database {
|
||||
int getNumBuddies(Player* player);
|
||||
void addBuddyship(int playerA, int playerB);
|
||||
void removeBuddyship(int playerA, int playerB);
|
||||
|
||||
// blocking
|
||||
void addBlock(int playerId, int blockedPlayerId);
|
||||
void removeBlock(int playerId, int blockedPlayerId);
|
||||
|
||||
// email
|
||||
int getUnreadEmailCount(int playerID);
|
||||
|
||||
Reference in New Issue
Block a user