ThePhotons :: I have a question, how do we use the features custom authentication, userIDs and Friends in the Photon Plugin for matchmaking.
It seems that it isn't very much documented.
An example project would be nice with Friendlist, authentication and with the use of ActorNr and UserIDs.
Thanks a lot.
Did you read Custom Authentication documentation? It describes workflow well though Photon plugin client details may differ from what you find in the doc.
Find friend is not documented currently but it's quite simple. You set user id for each client before connection. While connected to a master, call "Find friends" with comma-separated list of user ids. In "On FindFriends result" event call Photon.FriendOnline and Photon.FriendRoom with user id as a parameter to get requested user status.
Note that custom auth can override user id set by client.
ActorNr used to identify player inside a room, when client is connected to game server.