Fix breaking API and update changes
This commit is contained in:
parent
c13789eac2
commit
2bae14c46b
5 changed files with 583 additions and 288 deletions
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
Loading…
Add table
Reference in a new issue