Friends System¶
Note
These Docs are WIP and will be updated with Visual Blueprint Examples. Please see Class Methods for visual examples.
The GameFuse Friends System allows you to implement social features in your game, such as sending friend requests, accepting or declining requests, and managing a friends list.
Getting Started with Friends¶
To use the GameFuse Friends system in Blueprints, you'll need to access the GameFuse Friends subsystem:
Sending Friend Requests¶
To send a friend request:
- Get the GameFuse Friends subsystem
- Call SendFriendRequest with the username
- Create a callback function to handle the response
- Process the response data
Accepting Friend Requests¶
To accept a friend request:
- Get the GameFuse Friends subsystem
- Call AcceptFriendRequest with the friendship ID
- Create a callback function to handle the response
- Process the success or failure
Declining Friend Requests¶
To decline a friend request:
- Get the GameFuse Friends subsystem
- Call DeclineFriendRequest with the friendship ID
- Create a callback function to handle the response
- Process the success or failure
Canceling Friend Requests¶
To cancel a sent friend request:
- Get the GameFuse Friends subsystem
- Call CancelFriendRequest with the friendship ID
- Create a callback function to handle the response
- Process the success or failure
Unfriending Players¶
To remove a user from your friends list:
- Get the GameFuse Friends subsystem
- Call UnfriendPlayer with the user ID
- Create a callback function to handle the response
- Process the success or failure
Fetching Friendship Data¶
To fetch all friendship data:
- Get the GameFuse Friends subsystem
- Call FetchFriendshipData
- Create a callback function to handle the response
- Process the friends list, outgoing requests, and incoming requests
Fetching Friends List¶
To fetch your friends list:
- Get the GameFuse Friends subsystem
- Call FetchFriendsList
- Create a callback function to handle the response
- Process the array of friends
Fetching Friend Requests¶
To fetch outgoing friend requests:
- Get the GameFuse Friends subsystem
- Call FetchOutgoingFriendRequests
- Create a callback function to handle the response
- Process the array of outgoing requests
To fetch incoming friend requests:
- Get the GameFuse Friends subsystem
- Call FetchIncomingFriendRequests
- Create a callback function to handle the response
- Process the array of incoming requests