-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into guy-le-dep-array-null
- Loading branch information
Showing
65 changed files
with
4,951 additions
and
258 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
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,9 @@ | ||
namespace OWML.Common | ||
{ | ||
public enum MenuSide | ||
{ | ||
LEFT, | ||
CENTER, | ||
RIGHT | ||
} | ||
} |
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,15 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace OWML.Common | ||
{ | ||
public interface IModDefaultConfig | ||
{ | ||
bool Enabled { get; set; } | ||
|
||
Dictionary<string, object> Settings { get; set; } | ||
|
||
T GetSettingsValue<T>(string key); | ||
|
||
IModConfig Copy(); | ||
} | ||
} |
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,14 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace OWML.Common | ||
{ | ||
public interface IMenuManager | ||
{ | ||
public ITitleMenuManager TitleMenuManager { get; } | ||
public IPauseMenuManager PauseMenuManager { get; } | ||
public IOptionsMenuManager OptionsMenuManager { get; } | ||
public IPopupMenuManager PopupMenuManager { get; } | ||
|
||
internal IList<IModBehaviour> ModList { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/OWML.Common/Interfaces/Menus/IOWMLFourChoicePopupMenu.cs
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,16 @@ | ||
namespace OWML.Common | ||
{ | ||
public interface IOWMLFourChoicePopupMenu | ||
{ | ||
event PopupConfirmEvent OnPopupConfirm1; | ||
event PopupConfirmEvent OnPopupConfirm2; | ||
event PopupConfirmEvent OnPopupConfirm3; | ||
event PopupValidateEvent OnPopupValidate; | ||
event PopupCancelEvent OnPopupCancel; | ||
|
||
void EnableMenu(bool value); | ||
|
||
public event Menu.ActivateMenuEvent OnActivateMenu; | ||
public event Menu.DeactivateMenuEvent OnDeactivateMenu; | ||
} | ||
} |
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,7 @@ | ||
namespace OWML.Common | ||
{ | ||
public interface IOWMLMenuValueOption | ||
{ | ||
string ModSettingKey { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/OWML.Common/Interfaces/Menus/IOWMLOptionsSelectorElement.cs
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,9 @@ | ||
namespace OWML.Common | ||
{ | ||
public delegate void OptionValueChangedEvent(int newIndex, string newSelection); | ||
|
||
public interface IOWMLOptionsSelectorElement : IOWMLMenuValueOption | ||
{ | ||
public event OptionValueChangedEvent OnValueChanged; | ||
} | ||
} |
Oops, something went wrong.