This commit is contained in:
2022-06-25 11:08:50 +04:00
parent 679608bc48
commit 1e41b9f2eb
31 changed files with 152 additions and 645 deletions
+1
View File
@@ -11,6 +11,7 @@ public interface IGameRoom
public Player GetPlayerById(uint peerId);
public Entity GetEntityById(int entityId);
public Player GetOwner();
public IDispatcher GetThreadDispatcher();
public void Send(uint peerId, byte[] rawData, DeliveryType deliveryType = DeliveryType.Unreliable);
public void Broadcast(uint[] peersIds, byte[] rawData, DeliveryType deliveryType = DeliveryType.Unreliable);