Exemplo n.º 1
0
        /// <summary>
        /// </summary>
        /// <param name="message">
        /// </param>
        /// <param name="client">
        /// </param>
        protected override void Read(ZoneLoginMessage message, IZoneClient client)
        {
            ZoneClient       zc = (ZoneClient)client;
            PlayerController pc = new PlayerController(zc);

            zc.Controller = pc;

            zc.CreateCharacter(message.CharacterId);
            zc.SendInitiateCompressionMessage(new InitiateCompressionMessage());

            client.Controller.Character.Playfield = zc.Playfield;

            ClientConnected tmpClientConnected = new ClientConnected();

            tmpClientConnected.Read(message.CharacterId, zc);
        }