Example #1
0
        /// <summary>
        /// Handles the contents of a network message.
        /// </summary>
        /// <param name="message">The message to handle.</param>
        /// <param name="connection">A reference to the connection from where this message is comming from, for context.</param>
        public override void HandleRequest(INetworkMessage message, IConnection connection)
        {
            var inserHousePacket = message.ReadInsertHouseInfo();

            // TODO: actually update house info?
            // using (OpenTibiaDbContext otContext = new OpenTibiaDbContext())
            // {
            this.ResponsePackets.Add(new DefaultNoErrorPacket());
            // }

            // return new DefaultErrorPacket();
        }