public MapleConnection(double msecs)
 {
     Connector = new MapleServerConnector(Config.Instance.MapleStoryServerIP, Config.Instance.MapleStoryServerPort);
     Connect();
     RefreshTimer = new Timer(msecs);
     RefreshTimer.Elapsed += (a, b) => ForceRequest();
     RefreshTimer.Start();
 }
Example #2
0
 public MapleConnection(double msecs)
 {
     Connector = new MapleServerConnector(Config.Instance.MapleStoryServerIP, Config.Instance.MapleStoryServerPort);
     Connect();
     RefreshTimer          = new Timer(msecs);
     RefreshTimer.Elapsed += (a, b) => ForceRequest();
     RefreshTimer.Start();
 }