Class GoalTrigger<TObject, TValue1, TValue2>
A goal trigger is used by AutoTriggerGoal instances to determine whether they should be triggered. Goal triggers are compared only by their Name, so mods can add goal triggers that work for other mods without explicit compatibility. If there is only one ValidObjects entry, it is preferred to use one of the generic types GoalTrigger<TObject, TValue>, GoalTrigger<TObject, TValue1, TValue2>, or GoalTrigger<TObject, TValue1, TValue2, TValue3> for compile-time type safety.
public class GoalTrigger<TObject, TValue1, TValue2> : GoalTrigger, IEquatable<GoalTrigger>
Type Parameters
TObject
TValue1
TValue2
- Inheritance
-
GoalTrigger<TObject, TValue1, TValue2>
- Implements
- Inherited Members
- Extension Methods
Constructors
GoalTrigger(string)
public GoalTrigger(string name)
Parameters
name
string