1
This commit is contained in:
@@ -115,14 +115,19 @@ namespace BITKit.Net.Kcp
|
||||
_netProviderImplementation.AddCommandListener(handle);
|
||||
}
|
||||
|
||||
public void AddCommandListener<T>(Func<T, T> func)
|
||||
public void RemoveCommandListener<T>(Action<T> handle)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
_netProviderImplementation.RemoveCommandListener(handle);
|
||||
}
|
||||
|
||||
public void RemoveCommandListener<T>(Func<T, T> func)
|
||||
public void AddCommandListener<T>(Func<T, UniTask<T>> func)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
_netProviderImplementation.AddCommandListener(func);
|
||||
}
|
||||
|
||||
public void RemoveCommandListener<T>(Func<T, UniTask<T>> func)
|
||||
{
|
||||
_netProviderImplementation.RemoveCommandListener(func);
|
||||
}
|
||||
public void SendRT(string rpcName, params object[] pars)
|
||||
{
|
||||
|
Reference in New Issue
Block a user