19 lines
390 B
C#
19 lines
390 B
C#
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;
|
|
}
|
|
}
|
|
}
|