Chatnachrichten werden jetzt angezeigt
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace WorldOfPeacecraft
|
||||
{
|
||||
public class Message
|
||||
public class Message : IChatMessage
|
||||
{
|
||||
int sourceID;
|
||||
string source;
|
||||
@@ -14,6 +14,21 @@ namespace WorldOfPeacecraft
|
||||
source = src;
|
||||
text = txt;
|
||||
}
|
||||
|
||||
public string GetMessage()
|
||||
{
|
||||
return text;
|
||||
}
|
||||
|
||||
public string GetSender()
|
||||
{
|
||||
return source;
|
||||
}
|
||||
|
||||
public bool IsSenderPlayer ()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user