mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 06:51:36 +00:00
22 lines
458 B
C#
22 lines
458 B
C#
|
using QSB.WorldSync.Events;
|
|||
|
using QuantumUNET.Transport;
|
|||
|
|
|||
|
namespace QSB.QuantumSync.Events
|
|||
|
{
|
|||
|
internal class MultiStateChangeMessag : 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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|