mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
22 lines
471 B
C#
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);
|
|
}
|
|
}
|
|
} |