Example #1
0
        public RealmParser(RealmClient client)
        {
            Client = client;

            RegisteredPackets = new Dictionary<string, Packets>();
            RegisterPackets();
        }
Example #2
0
        public static void AddInQueue(RealmClient client)
        {
            Utilities.Loggers.Debug.Write(string.Format("Add {0} in queue !", client.IP));
            client.IsInQueue = true;

            lock (Clients)
                Clients.Add(client);

            if (!isRunning)
            {
                isRunning = true;
                timer.Start();
            }
        }
Example #3
0
 public RealmCommander(RealmClient client)
 {
     Client = client;
 }