mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 03:28:26 +00:00
15 lines
396 B
C#
15 lines
396 B
C#
using Mirror;
|
|
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 : NetworkBehaviour
|
|
{
|
|
TNetworkBehaviour NetworkBehaviour { get; }
|
|
void SetNetworkBehaviour(NetworkBehaviour networkBehaviour);
|
|
}
|