Rely on CS-Script includes for modules view model matching

This commit is contained in:
SpoinkyNL committed 2018-03-04 22:27:57 +01:00
1 parent 34b9c81df7
commit 9ad3e04a69
21 files changed
+301 -81

No files matched your search

+15 -1
View File
@@ -1,4 +1,7 @@
namespace Artemis.Plugins.Interfaces
using System;
using Ninject;
namespace Artemis.Plugins.Interfaces
{
/// <inheritdoc />
/// <summary>
@@ -6,6 +9,17 @@
/// </summary>
public interface IModule : IPlugin
{
/// <summary>
/// The type of this module's view model
/// </summary>
Type ViewModelType { get; }
/// <summary>
/// Wether or not this module expands upon the main data model. If set to true any data in main data model can be
/// accessed by profiles in this module
/// </summary>
bool ExpandsMainDataModel { get; }
/// <summary>
/// Called each frame when the module must update
/// </summary>