mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
25 lines
624 B
C#
25 lines
624 B
C#
|
using QSB.WorldSync.Events;
|
|||
|
using QuantumUNET.Transport;
|
|||
|
|
|||
|
namespace QSB.ConversationSync.Events
|
|||
|
{
|
|||
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|