static int get_DeviceInfo(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            MyLib.CGPlayerCmd obj = (MyLib.CGPlayerCmd)o;
            MyLib.DeviceInfo  ret = obj.DeviceInfo;
            ToLua.PushSealed(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index DeviceInfo on a nil value"));
        }
    }
    static int set_DeviceInfo(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            MyLib.CGPlayerCmd obj  = (MyLib.CGPlayerCmd)o;
            MyLib.DeviceInfo  arg0 = (MyLib.DeviceInfo)ToLua.CheckObject(L, 2, typeof(MyLib.DeviceInfo));
            obj.DeviceInfo = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index DeviceInfo on a nil value"));
        }
    }