mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 12:54:51 +00:00
21 lines
404 B
C#
21 lines
404 B
C#
using QuantumUNET;
|
|
|
|
namespace QSB.WorldSync.Events
|
|
{
|
|
public class BoolWorldObjectMessage : WorldObjectMessage
|
|
{
|
|
public bool State { get; set; }
|
|
|
|
public override void Deserialize(QSBNetworkReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
State = reader.ReadBoolean();
|
|
}
|
|
|
|
public override void Serialize(QSBNetworkWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(State);
|
|
}
|
|
}
|
|
} |