first commit
This commit is contained in:
18
NitroxModel/Packets/ChatMessage.cs
Normal file
18
NitroxModel/Packets/ChatMessage.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace NitroxModel.Packets
|
||||
{
|
||||
[Serializable]
|
||||
public class ChatMessage : Packet
|
||||
{
|
||||
public ushort PlayerId { get; }
|
||||
public string Text { get; }
|
||||
public const ushort SERVER_ID = ushort.MaxValue;
|
||||
|
||||
public ChatMessage(ushort playerId, string text)
|
||||
{
|
||||
PlayerId = playerId;
|
||||
Text = text;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user