mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
27 lines
547 B
C#
27 lines
547 B
C#
using QSB.Messaging;
|
|
using QuantumUNET.Components;
|
|
using QuantumUNET.Transport;
|
|
|
|
namespace QSB.AuthoritySync
|
|
{
|
|
public class AuthorityQueueMessage : PlayerMessage
|
|
{
|
|
public QNetworkIdentity Identity;
|
|
public bool Queue;
|
|
|
|
public override void Deserialize(QNetworkReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
Identity = reader.ReadNetworkIdentity();
|
|
Queue = reader.ReadBoolean();
|
|
}
|
|
|
|
public override void Serialize(QNetworkWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(Identity);
|
|
writer.Write(Queue);
|
|
}
|
|
}
|
|
}
|