RiskofThunder-R2API_Addressables icon

R2API Addressables

R2API Submodule for implementing Addressables functionality

Last updated a month ago
Total downloads 1494819
Total rating 3 
Categories Libraries
Dependency string RiskofThunder-R2API_Addressables-1.0.4
Dependants 506 other packages depend on this package

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
bbepis-BepInExPack-5.4.2109 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2109
RiskofThunder-R2API_Core-5.1.2 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.1.2

README

R2API.Addressables - Addressable related utility for modding

About

R2API.Addressables is a submodule for R2API that implements systems for working with the AddressablesAPI from Unity.

Currently it adds the AddressReferencedAsset system, which allows you on the Editor or on Code to easily refer to either an explicit Asset, or an Address to said asset.

Changelog

'1.0.4'

  • Added Safeguards for the loading process to avoid loading assets with addresses that are invalid or malformed.

'1.0.3'

  • Fixed a typo on AddressReferencedAsset(UnityEngine.Object) constructor which would incorrectly set UseDirectReference to false
  • Fixed issue where AddressReferencedEquipmentDef wasnt marked as "Serializable"

'1.0.2'

  • Added utility property to check wether an AddressReferencedAsset is "Invalid". Invalid in this instance means that no direct reference to an asset exists, and the string address is null, empty or whitespace.
  • Addedd a utility property to check if an AddressReferencedAsset has a direct reference to an Asset.

'1.0.1'

  • Added missing casting operators and constructors for the bundled in, derived classes of AddressReferencedAsset<T>

'1.0.0'

  • Initial Release