Small refactor for receiving messages from websockets

This commit is contained in:
2023-04-22 13:57:10 +02:00
parent fa51c76279
commit b2fb4b33dd
4 changed files with 46 additions and 27 deletions

View File

@@ -2,12 +2,12 @@
public class ChatOutput
{
public string Playername { get; set; }
public string PlayerName { get; set; }
public string Message { get; set; }
public ChatOutput(string playername, string message)
public ChatOutput(string playerName, string message)
{
Playername = playername;
PlayerName = playerName;
Message = message;
}