quantum-space-buddies/QuantumUNET/Messages/QObjectDestroyMessage.cs
2020-12-23 12:58:45 +00:00

14 lines
365 B
C#

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