// Token: 0x06000159 RID: 345 RVA: 0x00015F50 File Offset: 0x00014150 public static void DownloadAssetBundle(CString Name, AssetPath Path, AssetType Type, ushort Id, bool bFail = false) { if (!bFail) { AssetManager.AssetPackage[0].Add(new AssetUpdate(Name.ToString(), (byte)Path, (byte)Type, (int)Id)); DownloadController.Refresh(); } }
// Token: 0x0600015E RID: 350 RVA: 0x00016118 File Offset: 0x00014318 public static void RequestMallPackage(ushort id, bool bFail = false) { if (bFail && !AssetManager.UpdatePackage[1, 1].Contains((int)id)) { AssetManager.UpdatePackage[1, 1].Add((int)id); } else if (!bFail && !AssetManager.UpdatePackage[1, 0].Contains((int)id)) { AssetManager.UpdatePackage[1, 0].Add((int)id); } DownloadController.Refresh(); }
// Token: 0x0600015B RID: 347 RVA: 0x00015FB0 File Offset: 0x000141B0 public static void RequestActivityBundle(ushort id, bool bFail = false) { if (bFail && !AssetManager.AssetPackages[0, 1].Contains((int)id)) { AssetManager.AssetPackages[0, 1].Add((int)id); } else if (!bFail && !AssetManager.AssetPackages[0, 0].Contains((int)id)) { AssetManager.AssetPackages[0, 0].Add((int)id); } DownloadController.Refresh(); }