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,6 +21,8 @@ namespace GamecraftScripting.Commands
public EntitiesDB entitiesDB { set; private get; } public EntitiesDB entitiesDB { set; private get; }
public bool isRemovable => false;
private bool isEnabledIDE = false; private bool isEnabledIDE = false;
public void Dispose() public void Dispose()

View file

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

View file

@ -21,6 +21,8 @@ namespace GamecraftScripting.Commands
public EntitiesDB entitiesDB { set; private get; } public EntitiesDB entitiesDB { set; private get; }
public bool isRemovable => false;
public void Dispose() public void Dispose()
{ {
CommandRegistrationHelper.Unregister("RunPythonScript"); CommandRegistrationHelper.Unregister("RunPythonScript");

View file

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

File diff suppressed because it is too large Load diff