2021-03-29 14:36:16 +01:00

22 lines
471 B
C#

using QSB.WorldSync.Events;
using QuantumUNET.Transport;
namespace QSB.ConversationSync.Events
{
public class ConversationMessage : EnumWorldObjectMessage<ConversationType>
{
public string Message { get; set; }
public override void Deserialize(QNetworkReader reader)
{
base.Deserialize(reader);
Message = reader.ReadString();
}
public override void Serialize(QNetworkWriter writer)
{
base.Serialize(writer);
writer.Write(Message);
}
}
}