quantum-space-buddies/QSB/Utility/LinkedWorldObject/ILinkedWorldObject.cs
2022-03-14 01:52:49 -07:00

14 lines
371 B
C#

using QSB.WorldSync;
namespace QSB.Utility.LinkedWorldObject;
/// <summary>
/// a world object that is linked to a network behaviour
/// </summary>
public interface ILinkedWorldObject<out TNetworkBehaviour> : IWorldObject
where TNetworkBehaviour : INetworkBehaviour
{
TNetworkBehaviour NetworkBehaviour { get; }
void LinkTo(INetworkBehaviour networkBehaviour);
}