mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 09:41:07 +00:00
25 lines
626 B
C#
25 lines
626 B
C#
using QSB.WorldSync.Events;
|
|
using QuantumUNET.Transport;
|
|
|
|
namespace QSB.ConversationSync.Messages
|
|
{
|
|
public class EnterRemoteDialogueMessage : WorldObjectMessage
|
|
{
|
|
public int ActivatedDialogueIndex { get; set; }
|
|
public int ListDialoguesIndex { get; set; }
|
|
|
|
public override void Deserialize(QNetworkReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
ActivatedDialogueIndex = reader.ReadInt32();
|
|
ListDialoguesIndex = reader.ReadInt32();
|
|
}
|
|
|
|
public override void Serialize(QNetworkWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(ActivatedDialogueIndex);
|
|
writer.Write(ListDialoguesIndex);
|
|
}
|
|
}
|
|
} |