quantum-space-buddies/QuantumUNET/Messages/QObjectDestroyMessage.cs

13 lines
336 B
C#
Raw Normal View History

2020-12-23 12:58:45 +00:00
using QuantumUNET.Transport;
namespace QuantumUNET.Messages
{
internal class QObjectDestroyMessage : QMessageBase
{
2021-12-03 03:41:19 +00:00
public QNetworkInstanceId NetId;
2020-12-23 12:58:45 +00:00
public override void Serialize(QNetworkWriter writer) => writer.Write(NetId);
public override void Deserialize(QNetworkReader reader) => NetId = reader.ReadNetworkId();
}
}