-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
727 additions
and
372 deletions.
There are no files selected for viewing
451 changes: 237 additions & 214 deletions
451
SequentialScript.Test/CustomData/Resources.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[OPEN] | ||
run | ||
Block -> Some Action /NoCheck /Key1:Value /Key2:"Value with spaces" /Key3:"Value with special characters :/" | ||
Delay 3000 | ||
as @action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
R e a d m e | ||
----------- | ||
|
||
V1.1-alpha.6 | ||
V1.2-alpha | ||
See more information in the following link: | ||
https://github.com/space-engineers-hf/SequentialScript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
using Sandbox.Game.EntityComponents; | ||
using Sandbox.ModAPI.Ingame; | ||
using Sandbox.ModAPI.Interfaces; | ||
using SpaceEngineers.Game.ModAPI.Ingame; | ||
using System; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Linq; | ||
using System.Text; | ||
using VRage; | ||
using VRage.Collections; | ||
using VRage.Game; | ||
using VRage.Game.Components; | ||
using VRage.Game.GUI.TextPanel; | ||
using VRage.Game.ModAPI.Ingame; | ||
using VRage.Game.ModAPI.Ingame.Utilities; | ||
using VRage.Game.ObjectBuilders.Definitions; | ||
using VRageMath; | ||
|
||
namespace IngameScript | ||
{ | ||
interface ITaskAction | ||
{ | ||
|
||
string ActionKey { get; } | ||
|
||
/// <summary> | ||
/// Gets or sets if this task action must be checked during "<see cref="Tasks.TaskStatusMode.Condition"/>" validation. | ||
/// </summary> | ||
bool IsCommandCondition { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets when this task started or null if it has not started yet. | ||
/// </summary> | ||
DateTime? StartTime { get; set; } | ||
|
||
/// <summary> | ||
/// Starts the task. | ||
/// </summary> | ||
void Execute(); | ||
|
||
/// <summary> | ||
/// Checks if this task has been ended. | ||
/// </summary> | ||
/// <param name="mode"></param> | ||
/// <param name="momento"></param> | ||
/// <param name="debug"></param> | ||
bool Check(TaskStatusMode mode, DateTime? momento = null, StringBuilder debug = null); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.