Inheritance: System.EventArgs
Example #1
0
 public static void On_ShutDown(ShutdownEventArgs args)
 {
     for (int i = 0; i < Registry.Count; ++i)
     {
         Field d = (Field)Registry[i];
         d.EndSelf();
     }
 }
Example #2
0
		public static void EventSink_Shutdown( ShutdownEventArgs e )
		{
			try
			{
				World.Broadcast( 0x35, true, "The server has shut down." );
			}
			catch (Exception ex) { EventSink.InvokeLogException(new LogExceptionEventArgs(ex)); }
		}
Example #3
0
		public static void EventSink_Shutdown( ShutdownEventArgs e )
		{
			try
			{
				World.Broadcast( 0x35, false, "Le serveur s'est éteint." );
			}
			catch
			{
			}
		}
Example #4
0
 public static void EventSink_Shutdown( ShutdownEventArgs e )
 {
     try
     {
         World.Broadcast(0x35, true, "[System]: The server has shut down.");
     }
     catch
     {
     }
 }
 public static void EventSink_Shutdown( ShutdownEventArgs e )
 {
     try
     {
         World.Broadcast( 0x35, true, "The server has shut down for maintenance." );
     }
     catch
     {
     }
 }
Example #6
0
 public static void EventSink_Shutdown( ShutdownEventArgs e )
 {
     try
     {
         World.Broadcast( 0x35, true, "O servidor foi encerrado." );
     }
     catch
     {
     }
 }
Example #7
0
 public static void InvokeShutdown( ShutdownEventArgs e )
 {
     if ( Shutdown != null )
         Shutdown( e );
 }
Example #8
0
		private static void EventSink_Shutdown(ShutdownEventArgs e)
		{
			for (int ix = 0; ix < LogHelper.OpenLogs.Count; ix++)
			{
				LogHelper lh = LogHelper.OpenLogs[ix] as LogHelper;
				if (lh != null)
					lh.Finish();
			}
		}
        public virtual void On_ShutDown(ShutdownEventArgs args)
        {
            for (int i = 0; i < Field_Config.Controllers.Count; ++i)
            {
                FieldController d = (FieldController)Field_Config.Controllers[i];

                if (d.HasStarted && d.Handeling != null)
                    d.EndField(0);
            }
        }
        public virtual void On_ShutDown(ShutdownEventArgs args)
        {
            for (int i = 0; i < RVS_Config.Controllers.Count; ++i)
            {
                RVSController d = (RVSController)RVS_Config.Controllers[i];

                if (d.HasStarted && d.Handeling != null)
                    d.EndRVS(0);
            }
        }
Example #11
0
		public static void InvokeShutdown(ShutdownEventArgs e)
		{
			if (Shutdown != null)
			{
				foreach (ShutdownEventHandler currentDelegate in Shutdown.GetInvocationList())
				{
					try
					{
						currentDelegate.Invoke(e);
					}
					catch (Exception ex)
					{
						// Log an exception
						EventSink.InvokeLogException(new LogExceptionEventArgs(ex));
					}
				}
			}
		}
Example #12
0
 public static void InvokeShutdown(ShutdownEventArgs e)
 {
     Shutdown?.Invoke(e);
 }