1
This commit is contained in:
@@ -74,7 +74,7 @@ namespace BITKit
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
/// <returns></returns>
|
||||
UniTask<T> GetFromServer<T>(T command = default);
|
||||
UniTask<T> GetFromServer<T>(string path = null,T command = default);
|
||||
|
||||
/// <summary>
|
||||
/// 从客户端获取数据
|
||||
@@ -83,7 +83,7 @@ namespace BITKit
|
||||
/// <param name="addressablePath">可寻址路劲 e.g. Key</param>
|
||||
/// <typeparam name="T">远程指令类型</typeparam>
|
||||
/// <returns></returns>
|
||||
UniTask<T> GetFromClient<T>(int id,T command = default);
|
||||
UniTask<T> GetFromClient<T>(int id,string path = null,T command = default);
|
||||
|
||||
/// <summary>
|
||||
/// 添加RPC远程服务,服务类型为需要的方法标记[RPC]
|
||||
|
Reference in New Issue
Block a user