2024-07-15 17:00:04 +03:00
|
|
|
namespace Syntriax.Engine.Network.Abstract;
|
|
|
|
|
|
|
|
public interface INetworkEntity
|
|
|
|
{
|
|
|
|
event OnNetworkIdChangedDelegate? OnNetworkIdChanged;
|
|
|
|
|
|
|
|
uint NetworkId { get; set; }
|
|
|
|
|
2024-07-18 23:07:05 +03:00
|
|
|
void ReceiveData<T>(T data);
|
|
|
|
|
2024-07-15 17:00:04 +03:00
|
|
|
delegate void OnNetworkIdChangedDelegate(INetworkEntity sender, uint previousId);
|
|
|
|
}
|