mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
53974485c9
* add stuff * extract patches * extract worldobjects (#241) * add spiral sync * cleanup * cleanup * fix * rename * add computers * remove qnet flagshelper * Update README.md * cleanup
26 lines
574 B
C#
26 lines
574 B
C#
using QSB.WorldSync.Events;
|
|
using QuantumUNET.Transport;
|
|
|
|
namespace QSB.TranslationSync.Events
|
|
{
|
|
public class SetAsTranslatedMessage : WorldObjectMessage
|
|
{
|
|
public int TextId { get; set; }
|
|
public NomaiTextType TextType { get; set; }
|
|
|
|
public override void Deserialize(QNetworkReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
TextId = reader.ReadInt32();
|
|
TextType = (NomaiTextType)reader.ReadInt16();
|
|
}
|
|
|
|
public override void Serialize(QNetworkWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(TextId);
|
|
writer.Write((short)TextType);
|
|
}
|
|
}
|
|
}
|