started a topic on Wed, 12 August 2015 at 7:18 PM
Question from a developer:
We want to have a two-way friend system, such that players can request to be friends of each other, but a user is only added to the friend list of a player when that user accepts. Could we do this like so?
Player 1 selects to send a friend request to Player 2
The title stores this in an Entity Object or File, or Player Data for each player, pending for Player 1, requested for Player 2
Title uses Push Notification (via Cloud Script) and/or Photon Chat to send notification to the other player
Player 2 sees the Push, or the Chat, or finds the Friend request upon login (when the title checks his outstanding friend request data)
Player 2 accepts the friend request
Title adds players to each others' friend lists
Are there any problems with this flow?