Skip to content

Commit

Permalink
Editor/Actions: Implement SMART_ACTION_SET_RESPAWN_TIME
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushor committed Jan 28, 2020
1 parent d7cf488 commit ec0b2f4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions SAI-Editor/Classes/CommentGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ public CommentGenerator()
smartActionStrings.Add(SmartAction.SMART_ACTION_GAME_EVENT_STOP, "Stop game event _actionParamTwo_");
smartActionStrings.Add(SmartAction.SMART_ACTION_GAME_EVENT_START, "Start game event _actionParamTwo_");
smartActionStrings.Add(SmartAction.SMART_ACTION_START_CLOSEST_WAYPOINT, "Pick Closest Waypoint _actionParamOne_ _actionParamTwo_ _actionParamThree_ _actionParamFour_ _actionParamFive_ _actionParamSix_");
smartActionStrings.Add(SmartAction.SMART_ACTION_SET_RESPAWN_TIME, "Set Respawn Time _actionParamOne_");
}

public async Task<string> GenerateCommentFor(SmartScript smartScript, EntryOrGuidAndSourceType entryOrGuidAndSourceType, bool forced = false, SmartScript smartScriptLink = null)
Expand Down
3 changes: 3 additions & 0 deletions SAI-Editor/Enumerators/PublicEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ public enum SmartAction
SMART_ACTION_GAME_EVENT_START = 112,
SMART_ACTION_START_CLOSEST_WAYPOINT = 113,
SMART_ACTION_MOVE_OFFSET = 114,
SMART_ACTION_UNUSED_1 = 115,
SMART_ACTION_UNUSED_2 = 116,
SMART_ACTION_SET_RESPAWN_TIME = 117,
SMART_ACTION_MAX,
}

Expand Down
5 changes: 4 additions & 1 deletion SAI-Editor/Forms/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion SAI-Editor/UserControl.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion SAI-Editor/UserControls/UserControlSAI.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified SAI-Editor/sqlite_database.db
Binary file not shown.

0 comments on commit ec0b2f4

Please sign in to comment.