コード例 #1
0
 static int QPYX_Init_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 5);
         GVoiceManager QPYX_obj_YXQP  = (GVoiceManager)ToLua.CheckObject <GVoiceManager>(L_YXQP, 1);
         string        QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         string        QPYX_arg1_YXQP = ToLua.CheckString(L_YXQP, 3);
         string        QPYX_arg2_YXQP = ToLua.CheckString(L_YXQP, 4);
         int           QPYX_arg3_YXQP = (int)LuaDLL.luaL_checknumber(L_YXQP, 5);
         QPYX_obj_YXQP.Init(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP, QPYX_arg3_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
コード例 #2
0
 static int Init(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 5);
         GVoiceManager obj  = (GVoiceManager)ToLua.CheckObject <GVoiceManager>(L, 1);
         string        arg0 = ToLua.CheckString(L, 2);
         string        arg1 = ToLua.CheckString(L, 3);
         string        arg2 = ToLua.CheckString(L, 4);
         int           arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
         obj.Init(arg0, arg1, arg2, arg3);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }