diff options
| author | Trey <32907415+TheEdgeNK@users.noreply.github.com> | 2018-08-26 00:35:17 -0400 |
|---|---|---|
| committer | Trey <32907415+TheEdgeNK@users.noreply.github.com> | 2018-08-26 00:35:17 -0400 |
| commit | 4800d7686b470b3a39314e76ea02daee790078b7 (patch) | |
| tree | dfc24ecb19fa4a62419e3ea1764fda0eabe67e4a /PortEngine | |
| parent | e33bb991f88ef5e60576da69b8dd82b1ffa670fc (diff) | |
| download | Project-Silicon-4800d7686b470b3a39314e76ea02daee790078b7.tar.gz Project-Silicon-4800d7686b470b3a39314e76ea02daee790078b7.tar.bz2 Project-Silicon-4800d7686b470b3a39314e76ea02daee790078b7.zip | |
Chatter, ChatAPI, and other changes.
Diffstat (limited to 'PortEngine')
| -rw-r--r-- | PortEngine/ChatAPI.cs | 19 | ||||
| -rw-r--r-- | PortEngine/PortEngine.csproj | 1 | ||||
| -rw-r--r-- | PortEngine/Properties/Settings.Designer.cs | 4 | ||||
| -rw-r--r-- | PortEngine/Properties/Settings.settings | 2 | ||||
| -rw-r--r-- | PortEngine/app.config | 2 |
5 files changed, 24 insertions, 4 deletions
diff --git a/PortEngine/ChatAPI.cs b/PortEngine/ChatAPI.cs new file mode 100644 index 0000000..667a016 --- /dev/null +++ b/PortEngine/ChatAPI.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + + +namespace PortEngine +{ + public class ChatAPI + { + public static void SendMessage(TextBox txtPending, TextBox txtDestination) + { + txtDestination.AppendText("<Player> " + txtPending.Text + Environment.NewLine); + txtPending.Clear(); + } + } +} diff --git a/PortEngine/PortEngine.csproj b/PortEngine/PortEngine.csproj index 22c80e6..e5ff357 100644 --- a/PortEngine/PortEngine.csproj +++ b/PortEngine/PortEngine.csproj @@ -42,6 +42,7 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="ChatAPI.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\Settings.Designer.cs"> <AutoGen>True</AutoGen> diff --git a/PortEngine/Properties/Settings.Designer.cs b/PortEngine/Properties/Settings.Designer.cs index 854463b..b3cd482 100644 --- a/PortEngine/Properties/Settings.Designer.cs +++ b/PortEngine/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace PortEngine.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); @@ -25,7 +25,7 @@ namespace PortEngine.Properties { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("True")] + [global::System.Configuration.DefaultSettingValueAttribute("False")] public bool graphicsFriendly { get { return ((bool)(this["graphicsFriendly"])); diff --git a/PortEngine/Properties/Settings.settings b/PortEngine/Properties/Settings.settings index 4c5f16f..66e581e 100644 --- a/PortEngine/Properties/Settings.settings +++ b/PortEngine/Properties/Settings.settings @@ -3,7 +3,7 @@ <Profiles /> <Settings> <Setting Name="graphicsFriendly" Type="System.Boolean" Scope="User"> - <Value Profile="(Default)">True</Value> + <Value Profile="(Default)">False</Value> </Setting> </Settings> </SettingsFile>
\ No newline at end of file diff --git a/PortEngine/app.config b/PortEngine/app.config index 0baf1e4..e543569 100644 --- a/PortEngine/app.config +++ b/PortEngine/app.config @@ -8,7 +8,7 @@ <userSettings> <PortEngine.Properties.Settings> <setting name="graphicsFriendly" serializeAs="String"> - <value>True</value> + <value>False</value> </setting> </PortEngine.Properties.Settings> </userSettings> |
