Fix breaking API and update changes

This commit is contained in:
NGnius (Graham) 2020-05-15 16:35:16 -04:00
parent c13789eac2
commit 2bae14c46b
5 changed files with 583 additions and 288 deletions

View file

@ -21,7 +21,9 @@ namespace GamecraftScripting.Commands
public EntitiesDB entitiesDB { set; private get; }
private bool isEnabledIDE = false;
public bool isRemovable => false;
private bool isEnabledIDE = false;
public void Dispose()
{

View file

@ -30,6 +30,8 @@ namespace GamecraftScripting.Commands
public string Name { get; } = "ExecutePython";
public EntitiesDB entitiesDB { set; private get; }
public bool isRemovable => false;
public void Dispose()
{

View file

@ -20,8 +20,10 @@ namespace GamecraftScripting.Commands
public string Name { get; } = "PythonRunner";
public EntitiesDB entitiesDB { set; private get; }
public bool isRemovable => false;
public void Dispose()
public void Dispose()
{
CommandRegistrationHelper.Unregister("RunPythonScript");
CommandRegistrationHelper.Unregister("RunPython");

View file

@ -14,6 +14,8 @@ namespace GamecraftScripting.Commands
public EntitiesDB entitiesDB { set; private get; }
public bool isRemovable => false;
internal static IEntityFactory entityFactory = null;
public void Dispose()

File diff suppressed because it is too large Load diff