Esempio n. 1
0
        /// <summary>
        /// General error message
        /// </summary>
        /// <param name="target"></param>
        /// <param name="message"></param>
        public static void GeneralErrorMessage(Character target, uint message)
        {
            SMSG_ERROR spkt = new SMSG_ERROR();

            spkt.SessionId = target.id;
            spkt.ErrorCode = message;
            target.client.Send((byte[])spkt);
        }
Esempio n. 2
0
        public void Error(uint i)
        {
            SMSG_ERROR spkt = new SMSG_ERROR();

            spkt.ErrorCode = i;
            spkt.SessionId = this.character.id;
            this.Send((byte[])spkt);
        }