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