Dispatched when a message from the Administrator is received.
Admin messages are special messages that can be sent by an Administrator to a user or group of users.
Admin messages are special messages that can be sent by an Administrator to a user or group of users.
- message (String)
- the Administrator's message
All client applications should handle this event, or users won't be be able to receive important admin notifications!
Version:
SmartFoxServer Basic / Pro
The following example shows how to handle a message coming from the Administrator.
CopyC#
SFSEvent.onAdminMessage += OnAdminMessage; public void OnAdminMessage(string message) { Debug.WriteLine("Administrator said: " + message); }