static int set_assetInMemoryType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AssetBundleParams obj = (AssetBundleParams)o; AssetInMemoryType arg0 = (AssetInMemoryType)ToLua.CheckObject(L, 2, typeof(AssetInMemoryType)); obj.assetInMemoryType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index assetInMemoryType on a nil value" : e.Message)); } }
static int get_assetInMemoryType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AssetBundleParams obj = (AssetBundleParams)o; AssetInMemoryType ret = obj.assetInMemoryType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index assetInMemoryType on a nil value" : e.Message)); } }