mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 12:54:51 +00:00
14 lines
365 B
C#
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();
|
|
}
|
|
} |