Beispiel #1
0
        protected virtual void OnServerMessageReceived(ServerMessageReceivedArgs args)
        {
            var func = ServerMessageRecieved;

            if (func != null)
            {
                func(this, args);
            }
        }
Beispiel #2
0
 void EngineServerMessageRecieved(ServerMessageReceivedArgs e = null)
 {
     if (e == null) throw new ArgumentNullException("e");
     DispatchMessage(e.Message);
 }
Beispiel #3
0
 protected virtual void OnServerMessageReceived(ServerMessageReceivedArgs args)
 {
     var func = ServerMessageRecieved;
     if (func != null)
     {
         func(this, args);
     }
 }