Exemple #1
0
        public GameClient(WinsockClient Socket)
        {
            this.Socket = Socket;

            SendLock = new object();

            Cryptography = new GameCryptography();
            Cryptography.Initialize();

            Entity      = new Entity(this);
            Screen      = new Screen(this);
            PacketQueue = new PacketQueue();

            Inventory  = new List <ConquerItem>();
            Profiencys = new List <LearnProfiency>();
            Spells     = new List <LearnSpell>();

            Equipment = new Dictionary <ItemPosition, ConquerItem>();

            Status = LoginStatus.Logging;
        }
Exemple #2
0
        public GameClient(WinsockClient Socket)
        {
            this.Socket = Socket;

            SendLock = new object();

            Cryptography = new GameCryptography();
            Cryptography.Initialize();

            Entity = new Entity(this);
            Screen = new Screen(this);
            PacketQueue = new PacketQueue();

            Inventory = new List<ConquerItem>();
            Profiencys = new List<LearnProfiency>();
            Spells = new List<LearnSpell>();

            Equipment = new Dictionary<ItemPosition, ConquerItem>();

            Status = LoginStatus.Logging;
        }