@@ -4,7 +4,7 @@ namespace Intersect.GameObjects.Events;
44
55public partial class Condition
66{
7- public virtual ConditionTypes Type { get ; }
7+ public virtual ConditionType Type { get ; }
88
99 public bool Negated { get ; set ; }
1010
@@ -16,7 +16,7 @@ public partial class Condition
1616
1717public partial class VariableIsCondition : Condition
1818{
19- public override ConditionTypes Type { get ; } = ConditionTypes . VariableIs ;
19+ public override ConditionType Type { get ; } = ConditionType . VariableIs ;
2020
2121 public VariableType VariableType { get ; set ; } = VariableType . PlayerVariable ;
2222
@@ -27,7 +27,7 @@ public partial class VariableIsCondition : Condition
2727
2828public partial class HasItemCondition : Condition
2929{
30- public override ConditionTypes Type { get ; } = ConditionTypes . HasItem ;
30+ public override ConditionType Type { get ; } = ConditionType . HasItem ;
3131
3232 public Guid ItemId { get ; set ; }
3333
@@ -53,21 +53,21 @@ public partial class HasItemCondition : Condition
5353
5454public partial class ClassIsCondition : Condition
5555{
56- public override ConditionTypes Type { get ; } = ConditionTypes . ClassIs ;
56+ public override ConditionType Type { get ; } = ConditionType . ClassIs ;
5757
5858 public Guid ClassId { get ; set ; }
5959}
6060
6161public partial class KnowsSpellCondition : Condition
6262{
63- public override ConditionTypes Type { get ; } = ConditionTypes . KnowsSpell ;
63+ public override ConditionType Type { get ; } = ConditionType . KnowsSpell ;
6464
6565 public Guid SpellId { get ; set ; }
6666}
6767
6868public partial class LevelOrStatCondition : Condition
6969{
70- public override ConditionTypes Type { get ; } = ConditionTypes . LevelOrStat ;
70+ public override ConditionType Type { get ; } = ConditionType . LevelOrStat ;
7171
7272 public bool ComparingLevel { get ; set ; }
7373
@@ -82,7 +82,7 @@ public partial class LevelOrStatCondition : Condition
8282
8383public partial class SelfSwitchCondition : Condition
8484{
85- public override ConditionTypes Type { get ; } = ConditionTypes . SelfSwitch ;
85+ public override ConditionType Type { get ; } = ConditionType . SelfSwitch ;
8686
8787 public int SwitchIndex { get ; set ; } //0 through 3
8888
@@ -91,28 +91,28 @@ public partial class SelfSwitchCondition : Condition
9191
9292public partial class AccessIsCondition : Condition
9393{
94- public override ConditionTypes Type { get ; } = ConditionTypes . AccessIs ;
94+ public override ConditionType Type { get ; } = ConditionType . AccessIs ;
9595
9696 public Access Access { get ; set ; }
9797}
9898
9999public partial class TimeBetweenCondition : Condition
100100{
101- public override ConditionTypes Type { get ; } = ConditionTypes . TimeBetween ;
101+ public override ConditionType Type { get ; } = ConditionType . TimeBetween ;
102102
103103 public int [ ] Ranges { get ; set ; } = new int [ 2 ] ;
104104}
105105
106106public partial class CanStartQuestCondition : Condition
107107{
108- public override ConditionTypes Type { get ; } = ConditionTypes . CanStartQuest ;
108+ public override ConditionType Type { get ; } = ConditionType . CanStartQuest ;
109109
110110 public Guid QuestId { get ; set ; }
111111}
112112
113113public partial class QuestInProgressCondition : Condition
114114{
115- public override ConditionTypes Type { get ; } = ConditionTypes . QuestInProgress ;
115+ public override ConditionType Type { get ; } = ConditionType . QuestInProgress ;
116116
117117 public Guid QuestId { get ; set ; }
118118
@@ -123,14 +123,14 @@ public partial class QuestInProgressCondition : Condition
123123
124124public partial class QuestCompletedCondition : Condition
125125{
126- public override ConditionTypes Type { get ; } = ConditionTypes . QuestCompleted ;
126+ public override ConditionType Type { get ; } = ConditionType . QuestCompleted ;
127127
128128 public Guid QuestId { get ; set ; }
129129}
130130
131131public partial class NoNpcsOnMapCondition : Condition
132132{
133- public override ConditionTypes Type { get ; } = ConditionTypes . NoNpcsOnMap ;
133+ public override ConditionType Type { get ; } = ConditionType . NoNpcsOnMap ;
134134
135135 public bool SpecificNpc { get ; set ; }
136136
@@ -139,21 +139,21 @@ public partial class NoNpcsOnMapCondition : Condition
139139
140140public partial class GenderIsCondition : Condition
141141{
142- public override ConditionTypes Type { get ; } = ConditionTypes . GenderIs ;
142+ public override ConditionType Type { get ; } = ConditionType . GenderIs ;
143143
144144 public Gender Gender { get ; set ; } = Gender . Male ;
145145}
146146
147147public partial class MapIsCondition : Condition
148148{
149- public override ConditionTypes Type { get ; } = ConditionTypes . MapIs ;
149+ public override ConditionType Type { get ; } = ConditionType . MapIs ;
150150
151151 public Guid MapId { get ; set ; }
152152}
153153
154154public partial class IsItemEquippedCondition : Condition
155155{
156- public override ConditionTypes Type { get ; } = ConditionTypes . IsItemEquipped ;
156+ public override ConditionType Type { get ; } = ConditionType . IsItemEquipped ;
157157
158158 public Guid ItemId { get ; set ; }
159159}
@@ -166,7 +166,7 @@ public partial class HasFreeInventorySlots : Condition
166166 /// <summary>
167167 /// Defines the type of condition.
168168 /// </summary>
169- public override ConditionTypes Type { get ; } = ConditionTypes . HasFreeInventorySlots ;
169+ public override ConditionType Type { get ; } = ConditionType . HasFreeInventorySlots ;
170170
171171 /// <summary>
172172 /// Defines the amount of inventory slots that need to be free to clear this condition.
@@ -197,7 +197,7 @@ public partial class InGuildWithRank : Condition
197197 /// <summary>
198198 /// Defines the type of condition
199199 /// </summary>
200- public override ConditionTypes Type { get ; } = ConditionTypes . InGuildWithRank ;
200+ public override ConditionType Type { get ; } = ConditionType . InGuildWithRank ;
201201
202202 /// <summary>
203203 /// The guild rank the condition checks for as a minimum
@@ -213,7 +213,7 @@ public partial class MapZoneTypeIs : Condition
213213 /// <summary>
214214 /// Defines the type of condition.
215215 /// </summary>
216- public override ConditionTypes Type { get ; } = ConditionTypes . MapZoneTypeIs ;
216+ public override ConditionType Type { get ; } = ConditionType . MapZoneTypeIs ;
217217
218218 /// <summary>
219219 /// Defines the map Zone Type to compare to.
@@ -259,7 +259,7 @@ public partial class StringVariableComparison : VariableComparison
259259
260260public partial class CheckEquippedSlot : Condition
261261{
262- public override ConditionTypes Type { get ; } = ConditionTypes . CheckEquipment ;
262+ public override ConditionType Type { get ; } = ConditionType . CheckEquipment ;
263263
264264 public string Name { get ; set ; }
265265}
0 commit comments