diff options
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> |
