refactor: network entity packets
This commit is contained in:
@@ -6,8 +6,8 @@ public interface INetworkCommunicator
|
||||
{
|
||||
INetworkCommunicator Stop();
|
||||
|
||||
void SubscribeToPackets<T>(Action<T> callback);
|
||||
void UnsubscribeFromPackets<T>(Action<T> callback);
|
||||
INetworkCommunicator SubscribeToPackets<T>(Action<T, string> callback);
|
||||
INetworkCommunicator UnsubscribeFromPackets<T>(Action<T, string> callback);
|
||||
}
|
||||
|
||||
public interface INetworkCommunicatorClient : INetworkCommunicator
|
||||
|
||||
Reference in New Issue
Block a user