summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/ILuaNetwork.cs
blob: bc293dca634f834a55de46767f9bd198aab7b22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
	}
}