public Waypoint(WaypointType Type, ConditionalVarType VarType, uint ItemID, ConditionalCheckType CheckType, int Output, string GoToLabel) { wType = Type; wCondVarType = VarType; wItemID = ItemID; wCondCheckType = CheckType; wCondOutput = Output; wLabelName = GoToLabel; }
private string checkTypeToString(ConditionalCheckType checkType) { switch (checkType) { case ConditionalCheckType.Equals: return "=="; case ConditionalCheckType.Bigger: return ">"; case ConditionalCheckType.BiggerorEquals: return ">="; case ConditionalCheckType.Smaller: return "<"; case ConditionalCheckType.SmallerorEquals: return "<="; case ConditionalCheckType.Differs: return "!="; default: return "=="; } }
private void uxConditionalCheckType_SelectedIndexChanged(object sender, EventArgs e) { condCheckType = (ConditionalCheckType)uxConditionalCheckType.SelectedIndex; }