diff options
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/ILuaNetwork.cs')
-rw-r--r-- | Client/Assets/Scripts/XUtliPoolLib/ILuaNetwork.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/ILuaNetwork.cs b/Client/Assets/Scripts/XUtliPoolLib/ILuaNetwork.cs new file mode 100644 index 00000000..bc293dca --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/ILuaNetwork.cs @@ -0,0 +1,20 @@ +using System;
+using System.Collections.Generic;
+
+namespace XUtliPoolLib
+{
+ public interface ILuaNetwork : IXInterface
+ {
+ void InitLua(int rpcCache);
+
+ bool LuaRigsterPtc(uint type, bool copyBuffer);
+
+ void LuaRegistDispacher(List<uint> types);
+
+ void LuaRigsterRPC(uint _type, bool copyBuffer, DelLuaRespond _onRes, DelLuaError _onError);
+
+ bool LuaSendPtc(uint _type, byte[] _reqBuff);
+
+ bool LuaSendRPC(uint _type, byte[] _reqBuff, DelLuaRespond _onRes, DelLuaError _onError);
+ }
+}
|