quantum-space-buddies/QuantumUNET/Messages/QObjectDestroyMessage.cs
2021-12-02 19:41:19 -08:00

13 lines
336 B
C#

using QuantumUNET.Transport;
namespace QuantumUNET.Messages
{
internal class QObjectDestroyMessage : QMessageBase
{
public QNetworkInstanceId NetId;
public override void Serialize(QNetworkWriter writer) => writer.Write(NetId);
public override void Deserialize(QNetworkReader reader) => NetId = reader.ReadNetworkId();
}
}