Example #1
0
 static int AddAudioCompatible(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         LuaFramework.SoundManager obj = (LuaFramework.SoundManager)ToLua.CheckObject(L, 1, typeof(LuaFramework.SoundManager));
         string   arg0 = ToLua.CheckString(L, 2);
         int      arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         string[] arg2 = ToLua.CheckStringArray(L, 4);
         obj.AddAudioCompatible(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }