quantum-space-buddies/QuantumUNET/QSBObjectDestroyMessage.cs
2020-12-04 22:14:53 +00:00

19 lines
351 B
C#

using UnityEngine.Networking;
namespace QuantumUNET
{
internal class QSBObjectDestroyMessage : QSBMessageBase
{
public NetworkInstanceId NetId;
public override void Deserialize(QSBNetworkReader reader)
{
NetId = reader.ReadNetworkId();
}
public override void Serialize(QSBNetworkWriter writer)
{
writer.Write(NetId);
}
}
}