public void Error(uint i) { SMSG_ERROR spkt = new SMSG_ERROR(); spkt.ErrorCode = i; spkt.SessionId = this.character.id; this.Send((byte[])spkt); }
/// <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); }