更新了网络服务接口定义
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
"GUID:ea5474181b324dd49a5976cd68f44f18",
|
||||
"GUID:49b49c76ee64f6b41bf28ef951cb0e50",
|
||||
"GUID:3e3f16a06aa77fb4aaf4e6385ad0b341",
|
||||
"GUID:6ef4ed8ff60a7aa4bb60a8030e6f4008",
|
||||
"GUID:9400d40641bab5b4a9702f65bf5c6eb5"
|
||||
"GUID:6ef4ed8ff60a7aa4bb60a8030e6f4008"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53336df3122d0cb41a64b6109d19b016
|
||||
guid: eaaac13fa1ccdfb4ca5d246fb1d9c561
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
@@ -18,7 +18,7 @@ namespace BITKit
|
||||
{
|
||||
ClientBase GetClient();
|
||||
}
|
||||
[CreateOnStart(BITAppForUnity.Path.Services,nameof(BITNet))]
|
||||
//[CreateOnStart(BITAppForUnity.Path.Services,nameof(BITNet))]
|
||||
public class BITNet : MonoBehaviour
|
||||
{
|
||||
[UnityEngine.RuntimeInitializeOnLoadMethod]
|
||||
|
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f82d7ada638e544ab10193febb35e84
|
||||
guid: f478b00e78634b04c8d5e2844ef94668
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
@@ -13,17 +13,17 @@ namespace BITKit
|
||||
{
|
||||
public void ServerRpc(Action<string> action, params object[] pars)
|
||||
{
|
||||
SendRT(action.Method.Name,pars);
|
||||
SendAllRT(action.Method.Name,pars);
|
||||
}
|
||||
public void ServerRpc(Action<object> action, params object[] pars)
|
||||
{
|
||||
SendRT(action.Method.Name,pars);
|
||||
SendAllRT(action.Method.Name,pars);
|
||||
}
|
||||
public void AddRpcHandle(object rpcHandle)
|
||||
{
|
||||
|
||||
}
|
||||
public void SendRT(string rpcName, params object[] pars)
|
||||
public void SendRT(int id,string rpcName, params object[] pars)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace BITKit
|
||||
|
||||
public void ServerRpc(Action<Object> action, params object[] pars)
|
||||
{
|
||||
SendRT(action.Method.Name,pars);
|
||||
SendAllRT(action.Method.Name,pars);
|
||||
}
|
||||
|
||||
public void ClientRpc(Action<Object> action, params object[] pars)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 540adb7ebcf6bf742ac0048f8e0eaa0b
|
||||
guid: 221e26c9881bfb840bc82c3587308e3e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ef4d39ec6bc9d174aa936729dfb65d88
|
||||
guid: afc46a92805f1b84d80f4b63dbab5b2e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
Reference in New Issue
Block a user