Dispatched when the current user receives a request to be added to the buddy list of another user.
Since:
SmartFoxServer Pro v1.6.0
Version:
SmartFoxServer Pro
The following example shows how to handle the request to be added to a buddy list.
CopyC#
SFSEvent.onBuddyPermissionRequest += OnBuddyPermissionRequest; public void OnBuddyPermissionRequest(string sender, string message) { Trace.WriteLine("Buddy permission request from " + sender + " asking " + message); }