Beispiel #1
0
 internal DisconnectEngine(DofusClient client, int timeout, string reason = null)
 {
     this.m_client    = client;
     this.m_reason    = reason;
     this.m_timer     = new Timer(timeout);
     m_timer.Elapsed += m_timer_Elapsed;
 }
Beispiel #2
0
 public static void New(DofusClient client, int timeout, string reason = null)
 {
     new DisconnectEngine(client, timeout, reason).Launch();
 }