예제 #1
0
 static int GetGameResFactory(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 0);
         LuaFramework.GameResFactory o = LuaFramework.LuaHelper.GetGameResFactory();
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int CreatePopUp(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 5);
         LuaFramework.GameResFactory obj = (LuaFramework.GameResFactory)ToLua.CheckObject(L, 1, typeof(LuaFramework.GameResFactory));
         string      arg0 = ToLua.CheckString(L, 2);
         string      arg1 = ToLua.CheckString(L, 3);
         LuaTable    arg2 = ToLua.CheckLuaTable(L, 4);
         LuaFunction arg3 = ToLua.CheckLuaFunction(L, 5);
         obj.CreatePopUp(arg0, arg1, arg2, arg3);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }