private static int AutoDownloadCallback(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); int number = (int)LuaScriptMgr.GetNumber(L, 1); NetProxcy.AutoDownloadCallback(number); return(0); }
private static int DoCallBack(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 3); string luaString = LuaScriptMgr.GetLuaString(L, 1); int number = (int)LuaScriptMgr.GetNumber(L, 2); int iFlag = (int)LuaScriptMgr.GetNumber(L, 3); NetProxcy.DoCallBack(luaString, number, iFlag); return(0); }
private static int _Createcom_tencent_pandora_NetProxcy(IntPtr L) { if (LuaDLL.lua_gettop(L) == 0) { NetProxcy o = new NetProxcy(); LuaScriptMgr.PushObject(L, o); return(1); } LuaDLL.luaL_error(L, "invalid arguments to method: com.tencent.pandora.NetProxcy.New"); return(0); }
private static int GetActionList(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); NetProxcy.GetActionList(LuaScriptMgr.GetLuaString(L, 1)); return(0); }
private static int CloseSocket(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 0); NetProxcy.CloseSocket(); return(0); }