aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/ChatAPI.cs
diff options
context:
space:
mode:
authorTrey <32907415+TheEdgeNK@users.noreply.github.com>2018-08-26 00:35:17 -0400
committerTrey <32907415+TheEdgeNK@users.noreply.github.com>2018-08-26 00:35:17 -0400
commit4800d7686b470b3a39314e76ea02daee790078b7 (patch)
treedfc24ecb19fa4a62419e3ea1764fda0eabe67e4a /PortEngine/ChatAPI.cs
parente33bb991f88ef5e60576da69b8dd82b1ffa670fc (diff)
downloadProject-Silicon-4800d7686b470b3a39314e76ea02daee790078b7.tar.gz
Project-Silicon-4800d7686b470b3a39314e76ea02daee790078b7.tar.bz2
Project-Silicon-4800d7686b470b3a39314e76ea02daee790078b7.zip
Chatter, ChatAPI, and other changes.
Diffstat (limited to 'PortEngine/ChatAPI.cs')
-rw-r--r--PortEngine/ChatAPI.cs19
1 files changed, 19 insertions, 0 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();
+ }
+ }
+}