diff options
Diffstat (limited to 'PortEngine/Properties')
| -rw-r--r-- | PortEngine/Properties/Settings.Designer.cs | 41 | ||||
| -rw-r--r-- | PortEngine/Properties/Settings.settings | 11 |
2 files changed, 47 insertions, 5 deletions
diff --git a/PortEngine/Properties/Settings.Designer.cs b/PortEngine/Properties/Settings.Designer.cs index 6462222..3703ea0 100644 --- a/PortEngine/Properties/Settings.Designer.cs +++ b/PortEngine/Properties/Settings.Designer.cs @@ -23,16 +23,13 @@ namespace PortEngine.Properties { } } - [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("False")] public bool graphicsFriendly { get { return ((bool)(this["graphicsFriendly"])); } - set { - this["graphicsFriendly"] = value; - } } [global::System.Configuration.UserScopedSettingAttribute()] @@ -46,5 +43,41 @@ namespace PortEngine.Properties { this["userDisplayName"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0")] + public int userBalance { + get { + return ((int)(this["userBalance"])); + } + set { + this["userBalance"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1")] + public string userSecurityLevel { + get { + return ((string)(this["userSecurityLevel"])); + } + set { + this["userSecurityLevel"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1")] + public string userPowerLevel { + get { + return ((string)(this["userPowerLevel"])); + } + set { + this["userPowerLevel"] = value; + } + } } } diff --git a/PortEngine/Properties/Settings.settings b/PortEngine/Properties/Settings.settings index 14e29c9..27ebb1f 100644 --- a/PortEngine/Properties/Settings.settings +++ b/PortEngine/Properties/Settings.settings @@ -2,11 +2,20 @@ <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="PortEngine.Properties" GeneratedClassName="Settings"> <Profiles /> <Settings> - <Setting Name="graphicsFriendly" Type="System.Boolean" Scope="User"> + <Setting Name="graphicsFriendly" Type="System.Boolean" Scope="Application"> <Value Profile="(Default)">False</Value> </Setting> <Setting Name="userDisplayName" Type="System.String" Scope="User"> <Value Profile="(Default)">Player</Value> </Setting> + <Setting Name="userBalance" Type="System.Int32" Scope="User"> + <Value Profile="(Default)">0</Value> + </Setting> + <Setting Name="userSecurityLevel" Type="System.String" Scope="User"> + <Value Profile="(Default)">1</Value> + </Setting> + <Setting Name="userPowerLevel" Type="System.String" Scope="User"> + <Value Profile="(Default)">1</Value> + </Setting> </Settings> </SettingsFile>
\ No newline at end of file |
