using QSB.Messaging; using QuantumUNET.Components; using QuantumUNET.Transport; namespace QSB.AuthoritySync { public class AuthQueueMessage : EnumMessage { public QNetworkIdentity Identity; public override void Deserialize(QNetworkReader reader) { base.Deserialize(reader); Identity = reader.ReadNetworkIdentity(); } public override void Serialize(QNetworkWriter writer) { base.Serialize(writer); writer.Write(Identity); } } public enum AuthQueueAction { /// /// add identity to the queue /// Add, /// /// remove identity from the queue /// Remove, /// /// add identity to the queue and force it to the front /// Force } }