diff options
| author | Andrew <alee14498@gmail.com> | 2018-08-27 21:06:43 -0400 |
|---|---|---|
| committer | Andrew <alee14498@gmail.com> | 2018-08-27 21:06:43 -0400 |
| commit | f0be68047a246208aa30974990e7c3ec8dd8252a (patch) | |
| tree | 8320564185b1234f25d51ba135c844b0284caa07 /PortEngine | |
| parent | 129cc4373485a1d1151442ca250ddd8b0d3a8a15 (diff) | |
| download | Project-Silicon-f0be68047a246208aa30974990e7c3ec8dd8252a.tar.gz Project-Silicon-f0be68047a246208aa30974990e7c3ec8dd8252a.tar.bz2 Project-Silicon-f0be68047a246208aa30974990e7c3ec8dd8252a.zip | |
Added crashing
Diffstat (limited to 'PortEngine')
| -rw-r--r-- | PortEngine/CrashAPI.cs | 19 | ||||
| -rw-r--r-- | PortEngine/PortEngine.csproj | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/PortEngine/CrashAPI.cs b/PortEngine/CrashAPI.cs new file mode 100644 index 0000000..9796524 --- /dev/null +++ b/PortEngine/CrashAPI.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PortEngine +{ + class CrashAPI + { + public static void ResetAPI () + { + Properties.Settings.Default.userBalance = 0; + //Properties.Settings.Default.userSecurityLevel = 1; + // Properties.Settings.Default.userPowerLevel = 1; + Properties.Settings.Default.userDisplayName = "Player"; + } + } +} diff --git a/PortEngine/PortEngine.csproj b/PortEngine/PortEngine.csproj index 544ab0e..98948a0 100644 --- a/PortEngine/PortEngine.csproj +++ b/PortEngine/PortEngine.csproj @@ -43,6 +43,7 @@ </ItemGroup> <ItemGroup> <Compile Include="ChatAPI.cs" /> + <Compile Include="CrashAPI.cs" /> <Compile Include="EarnSite.cs"> <SubType>UserControl</SubType> </Compile> |
