2024-02-08 17:59:04 +03:00
|
|
|
using Syntriax.Engine.Core.Abstract;
|
|
|
|
|
2024-02-09 10:00:36 +03:00
|
|
|
namespace Syntriax.Engine.Network.Abstract;
|
2024-02-08 17:59:04 +03:00
|
|
|
|
|
|
|
public interface INetworkBehaviour : IBehaviour
|
|
|
|
{
|
|
|
|
int NetworkId { get; }
|
|
|
|
|
|
|
|
bool LocalAssigned { get; }
|
|
|
|
|
|
|
|
bool IsServer { get; }
|
|
|
|
bool IsClient { get; }
|
|
|
|
|
|
|
|
INetworkCommunicator NetworkCommunicator { get; }
|
2024-02-12 16:35:24 +03:00
|
|
|
|
|
|
|
public void RequestAssignment();
|
|
|
|
public void ReleaseAssignment();
|
2024-02-08 17:59:04 +03:00
|
|
|
}
|