Skip to content

Releases: michael811125/OxGFrame

Release v2.7.10

11 Sep 06:36
Compare
Choose a tag to compare

[2.7.10] - 2023-09-11

  • Added more check methods for AssetObject.
    public bool IsRawFileOperationHandleValid()
    public bool IsSceneOperationHandleValid()
    public bool IsAssetOperationHandleValid()
  • Modified RefineResourcesPath and RefineBuildScenePath solution.
  • Modified AssetObject to optmize determines.
  • Modified CacheBundle determines and use package.CheckLocationValid of YooAsset to make sure asset does exist.
  • Optimized AssetLoaders (CacheResource and CacheBundle).

Release v2.7.9

10 Sep 03:16
Compare
Choose a tag to compare

[2.7.9] - 2023-09-10

  • Fixed AssetLoader retry counter determine bug issue.
  • Fixed CacheBundle wrong unload type while doing retry.
  • Modified Progression name of params (corrected reqSize to currentCount, totalSize to totalCount).

Release v2.7.8

09 Sep 13:51
Compare
Choose a tag to compare

[2.7.8] - 2023-09-09

  • Added retry counter for AssetLoader (can set maxRetryCount via API).
  • Modified AcaxAsync can return text.
  • Optimized Hotfixer.
  • Optimized code.

Release v2.7.7

27 Aug 04:50
Compare
Choose a tag to compare

[2.7.7] - 2023-08-27

Note: Must install OxGKit.LoggingSystem, becuase all modules log are dependent it.

Release v2.7.6

24 Aug 03:52
Compare
Choose a tag to compare

[2.7.6] - 2023-08-24

  • Optimized AudioBase and VideoBase of MediaFrame update behaviour call by MediaManager.
  • Updated YooAsset new commit files.

Release v2.7.5

23 Aug 10:40
Compare
Choose a tag to compare

[2.7.5] - 2023-08-23

  • Optimized UIBase and SRBase of CoreFrame update behaviour call by FrameManager.
  • Optimized CPBase of CoreFrame update behaviour, if need to update have to call by self to drive.
    • Added DriveSelfUpdate(float dt) method in CPBase (drive by self).
public class NewTplCP : CPBase
{
    private void Update()
    {
        this.DriveSelfUpdate(Time.deltaTime);
    }
}

Release v2.7.4

15 Aug 03:41
Compare
Choose a tag to compare

[2.7.4] - 2023-08-15

  • Fixed DeliveryQueryService is null bug issue.
  • Modified InitAppPackage, InitDlcPackage, InitCustomPackage param of methods, add IDeliveryQueryServices interface.

Release v2.7.3

14 Aug 11:16
Compare
Choose a tag to compare

[2.7.3] - 2023-08-14

  • Updated YooAsset (new commits).
  • Updated part of UniFramework.

CoreFrames (UIFrame, SRFrame)

  • Added API.
    public static void SendRefreshData(string assetName, object data = null)
    
    public static void SendRefreshData(string[] assetNames, object[] data = null)	

AssetPatcher

  • Added API.
    Common
    public struct DownloadInfo
    {
        public int totalCount;
        public ulong totalBytes;
    }
    
    public static ResourcePackage[] GetPackages(params string[] packageNames)
    	
    public static async UniTask<bool> BeginDownloadWithCombineDownloaders(ResourceDownloaderOperation[] downloaders, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)

Get Downloader

    // All
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackages(ResourcePackage[] packages)
    
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackages(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount)
    
    // Tags
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackagesByTags(ResourcePackage[] packages, params string[] tags)
    
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackagesByTags(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount, params string[] tags)
    
    // AssetNames
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackagesByAssetNames(ResourcePackage[] packages, params string[] assetNames)
    
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackagesByAssetNames(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount, params string[] assetNames)
    
    // AssetInfos
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackagesByAssetInfos(ResourcePackage[] packages, params AssetInfo[] assetInfos)
    
    public static ResourceDownloaderOperation[] GetDownloadersWithCombinePackagesByAssetInfos(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount, params AssetInfo[] assetInfos)

Begin Download

    // All
    public static async UniTask<bool> BeginDownloadWithCombinePackages(ResourcePackage[] packages, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)
    
    public static async UniTask<bool> BeginDownloadWithCombinePackages(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)
    
    // Tags
    public static async UniTask<bool> BeginDownloadWithCombinePackagesByTags(ResourcePackage[] packages, string[] tags = null, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)
    
    public static async UniTask<bool> BeginDownloadWithCombinePackagesByTags(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount, string[] tags = null, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)
    
    // AssetNames
    public static async UniTask<bool> BeginDownloadWithCombinePackagesByAssetNames(ResourcePackage[] packages, string[] assetNames = null, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)
    
    public static async UniTask<bool> BeginDownloadWithCombinePackagesByAssetNames(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount, string[] assetNames = null, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)
    
    // AssetInfos
    public static async UniTask<bool> BeginDownloadWithCombinePackagesByAssetInfos(ResourcePackage[] packages, AssetInfo[] assetInfos = null, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)
    
    public static async UniTask<bool> BeginDownloadWithCombinePackagesByAssetInfos(ResourcePackage[] packages, int maxConcurrencyDownloadCount, int failedRetryCount, AssetInfo[] assetInfos = null, OnDownloadSpeedProgress onDownloadSpeedProgress = null, OnDownloadError onDownloadError = null)

Get Download Info

    // All
    public static DownloadInfo GetDownloadInfoWithCombinePackages(ResourcePackage[] packages)
    
    // Tags
    public static DownloadInfo GetDownloadInfoWithCombinePackagesByTags(ResourcePackage[] packages, params string[] tags)
    
    // AssetNames
    public static DownloadInfo GetDownloadInfoWithCombinePackagesByAssetNames(ResourcePackage[] packages, params string[] assetNames)
    
    // AssetInfos
    public static DownloadInfo GetDownloadInfoWithCombinePackagesByAssetInfos(ResourcePackage[] packages, params AssetInfo[] assetInfos)

Release v2.7.2

07 Aug 11:43
Compare
Choose a tag to compare

[2.7.2] - 2023-08-07

  • Added CheckPackageHasAnyFilesInLocal(string packageName).
  • Added GetPackageSizeInLocal(string packageName).

Release v2.7.1

05 Aug 00:17
Compare
Choose a tag to compare

[2.7.1] - 2023-08-05

  • Added Default API in GSIManagerBase (protected GetInstance() method).
    public static int GetCurrentId()
    
    public static U GetStage<U>() where U : GSIBase
    
    public static U GetStage<U>(int id) where U : GSIBase
    
    public static void AddStage<U>() where U : GSIBase, new()
    
    public static void AddStage<U>(int id) where U : GSIBase, new()
    
    public static void AddStage(int id, GSIBase gameStage)
    
    public static void ChangeStage<U>(bool force = false) where U : GSIBase
    
    public static void ChangeStage(int id, bool force = false)
    
    public static void Start()
    
    public static void Update(float dt = 0.0f)
  • Added Default API in CenterBase (removed Default API from subtype).
    public static void Add<UClass>() where UClass : TClass, new()
    
    public static void Add<UClass>(int id) where UClass : TClass, new()
    
    public static void Add(int id, TClass @class)
    
    public static UClass Find<UClass>() where UClass : TClass
    
    public static UClass Find<UClass>(int id) where UClass : TClass