You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Essentials/AutoCommand.cs
+30-17Lines changed: 30 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -25,26 +25,28 @@ public class AutoCommand : ViewModel
25
25
privateDateTime_nextRun=DateTime.MinValue;
26
26
privateDayOfWeek_day=DayOfWeek.All;
27
27
privateTrigger_trigger=Trigger.Disabled;
28
+
privateGtl_comparer=Gtl.LessThan;
28
29
privateint_currentStep;
29
30
privatestring_name;
30
31
privatefloat_triggerRatio;
31
32
privatedouble_triggerCount;
32
33
33
-
/*
34
-
[Display(Description = "Enables or disables this command. NOTE: !admin runauto does NOT respect this setting!")]
35
-
public bool Enabled
36
-
{
37
-
get => _enabled;
38
-
set => SetValue(ref _enabled, value);
39
-
}
40
-
*/
34
+
41
35
[Display(Name="Trigger",Description="Choose a trigger for the command")]
42
36
publicTriggerCommandTrigger
43
37
{
44
38
get=>_trigger;
45
39
set=>SetValue(ref_trigger,value);
46
40
}
47
41
42
+
[Display(Name="Trigger Operator",Description="Choose a Ratio Comparer for the command")]
43
+
publicGtlCompare
44
+
{
45
+
get=>_comparer;
46
+
set=>SetValue(ref_comparer,value);
47
+
}
48
+
49
+
48
50
[Display(Description="Sets the name of this command. Use this name in conjunction with !admin runauto to trigger the command from ingame or from other auto commands.")]
0 commit comments