Esempio n. 1
0
    static int set_musicEntryList(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Nova.AudioController obj  = (Nova.AudioController)o;
            Nova.MusicEntryList  arg0 = (Nova.MusicEntryList)ToLua.CheckObject <Nova.MusicEntryList>(L, 2);
            obj.musicEntryList = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index musicEntryList on a nil value"));
        }
    }
Esempio n. 2
0
    static int get_musicEntryList(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Nova.AudioController obj = (Nova.AudioController)o;
            Nova.MusicEntryList  ret = obj.musicEntryList;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index musicEntryList on a nil value"));
        }
    }