#region Header // _,-'/-'/ // . __,-; ,'( '/ // \. `-.__`-._`:_,-._ _ , . `` // `:-._,------' ` _,`--` -: `_ , ` ,' : // `---..__,,--' (C) 2023 ` -'. -' // # Vita-Nex [http://core.vita-nex.com] # // {o)xxx|===============- # -===============|xxx(o} // # # #endregion #region References using System; using Server; using Server.Targeting; #endregion namespace VitaNex.Targets { /// /// Provides methods for selecting specific Items of the given Type /// /// Type of the Item to be selected public class ItemSelectTarget : GenericSelectTarget where TItem : Item { /// /// Create an instance of ItemSelectTarget /// public ItemSelectTarget() : base(null, null) { } /// /// Create an instance of ItemSelectTarget with additional options /// public ItemSelectTarget(int range, bool allowGround, TargetFlags flags) : base(null, null, range, allowGround, flags) { } /// /// Create an instance of ItemSelectTarget with handlers /// public ItemSelectTarget(Action success, Action fail) : base(success, fail) { } /// /// Create an instance of ItemSelectTarget with handlers and additional options /// public ItemSelectTarget( Action success, Action fail, int range, bool allowGround, TargetFlags flags) : base(success, fail, range, allowGround, flags) { } } /// /// Provides methods for selecting specific Items of the given Type /// public class ItemSelectTarget : ItemSelectTarget { /// /// Create an instance of ItemSelectTarget /// public ItemSelectTarget() : base(null, null) { } /// /// Create an instance of ItemSelectTarget with additional options /// public ItemSelectTarget(int range, bool allowGround, TargetFlags flags) : base(null, null, range, allowGround, flags) { } /// /// Create an instance of ItemSelectTarget with handlers /// public ItemSelectTarget(Action success, Action fail) : base(success, fail) { } /// /// Create an instance of ItemSelectTarget with handlers and additional options /// public ItemSelectTarget( Action success, Action fail, int range, bool allowGround, TargetFlags flags) : base(success, fail, range, allowGround, flags) { } } }