-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from adri1wcrow/master
fix the 1.0.1 crash
- Loading branch information
Showing
5 changed files
with
78 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System.Xml; | ||
|
||
namespace Smellyriver.TankInspector.Modeling | ||
{ | ||
internal class DefaultScript : ConsumableScript | ||
{ | ||
public override string[] EffectiveDomains => new[] { "unknown" }; | ||
|
||
public DefaultScript(Database database,string type) | ||
: base(database) | ||
{ | ||
EffectiveDomains.SetValue(type, 0); | ||
} | ||
|
||
public override bool DeserializeSection(string name, XmlReader reader) | ||
{ | ||
switch (name) | ||
{ | ||
default: | ||
return base.DeserializeSection(name, reader); | ||
} | ||
} | ||
|
||
public override void Execute(ModificationContext context, object args) | ||
{ | ||
|
||
} | ||
} | ||
} |
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,29 @@ | ||
using System.Xml; | ||
|
||
namespace Smellyriver.TankInspector.Modeling | ||
{ | ||
internal class ReconScript : ConsumableScript | ||
{ | ||
public override string[] EffectiveDomains => new[] { "recon" }; | ||
|
||
public ReconScript(Database database) | ||
: base(database) | ||
{ | ||
|
||
} | ||
|
||
public override bool DeserializeSection(string name, XmlReader reader) | ||
{ | ||
switch (name) | ||
{ | ||
default: | ||
return base.DeserializeSection(name, reader); | ||
} | ||
} | ||
|
||
public override void Execute(ModificationContext context, object args) | ||
{ | ||
|
||
} | ||
} | ||
} |
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