diff --git a/Message.cs b/Message.cs new file mode 100644 index 0000000..d300666 --- /dev/null +++ b/Message.cs @@ -0,0 +1,12 @@ +using System; + +namespace inf3 +{ + public class Message + { + public Message () + { + } + } +} + diff --git a/inf3.csproj b/inf3.csproj index 271866d..fcdfb7d 100644 --- a/inf3.csproj +++ b/inf3.csproj @@ -56,6 +56,7 @@ + diff --git a/src/Message.cs b/src/Message.cs new file mode 100644 index 0000000..277dc88 --- /dev/null +++ b/src/Message.cs @@ -0,0 +1,19 @@ +using System; + +namespace inf3 +{ + public class Message + { + int sourceID; + string source; + string text; + + public Message (int srcid, string src, string txt) + { + sourceID = srcid; + source = src; + text = txt; + } + } +} + diff --git a/src/Parser.cs b/src/Parser.cs index 972acdf..e25d779 100644 --- a/src/Parser.cs +++ b/src/Parser.cs @@ -179,7 +179,7 @@ namespace WorldOfPeacecraft int srcid = mesBlock.GetIntValue ("srcid"); string src = mesBlock.GetStringValue ("src"); string txt = mesBlock.GetStringValue ("txt"); - //Message m = new Message (srcid, src, txt); + Message m = new Message (srcid, src, txt); //TODO Herausfinden wie wir das oben lösen (gilt für alle Funktionenstümpfe) }