14 lines
371 B
C#
Raw Normal View History

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