quantum-space-buddies/QSB/QuantumSync/Events/MultiStateChangeMessage.cs
Mister_Nebula 5ae7364013 add stuff
2020-12-23 11:26:47 +00:00

22 lines
457 B
C#

using QSB.WorldSync.Events;
using QuantumUNET.Transport;
namespace QSB.QuantumSync.Events
{
public class MultiStateChangeMessage : WorldObjectMessage
{
public int StateIndex { get; set; }
public override void Deserialize(QSBNetworkReader reader)
{
base.Deserialize(reader);
StateIndex = reader.ReadInt32();
}
public override void Serialize(QSBNetworkWriter writer)
{
base.Serialize(writer);
writer.Write(StateIndex);
}
}
}