コード例 #1
0
ファイル: Waypoint.cs プロジェクト: sindromexd/simplebot
 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;
 }
コード例 #2
0
ファイル: Cavebot.cs プロジェクト: sindromexd/simplebot
 private string varTypeToString(ConditionalVarType varType)
 {
     return varType.ToString().ToLower();
 }
コード例 #3
0
ファイル: Cavebot.cs プロジェクト: sindromexd/simplebot
 private void uxConditionalVarType_SelectedIndexChanged(object sender, EventArgs e)
 {
     condVarType = (ConditionalVarType)uxConditionalVarType.SelectedIndex;
     uxConditionalItemIDLabel.Visible = condVarType == ConditionalVarType.CountItems;
     uxConditionalItemID.Visible = condVarType == ConditionalVarType.CountItems;
 }