-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change: シナリオの読込検知処理を整理、イベントからScenarioInfoを取得可能に
- Loading branch information
1 parent
5e52a79
commit e1f2507
Showing
6 changed files
with
113 additions
and
61 deletions.
There are no files selected for viewing
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,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
using BveTypes.ClassWrappers; | ||
|
||
namespace AtsEx.PluginHost | ||
{ | ||
/// <summary> | ||
/// <see cref="IBveHacker.ScenarioOpened"/> イベントのデータを提供します。 | ||
/// </summary> | ||
public class ScenarioOpenedEventArgs : EventArgs | ||
{ | ||
/// <summary> | ||
/// 読込が開始されたシナリオの情報を格納する <see cref="BveTypes.ClassWrappers.ScenarioInfo"/> を取得します。 | ||
/// </summary> | ||
public ScenarioInfo ScenarioInfo { get; } | ||
|
||
/// <summary> | ||
/// <see cref="ScenarioOpenedEventArgs"/> クラスの新しいインスタンスを初期化します。 | ||
/// </summary> | ||
/// <param name="scenarioInfo">読込が開始されたシナリオの情報を格納する <see cref="BveTypes.ClassWrappers.ScenarioInfo"/>。</param> | ||
public ScenarioOpenedEventArgs(ScenarioInfo scenarioInfo) | ||
{ | ||
ScenarioInfo = scenarioInfo; | ||
} | ||
} | ||
} |
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