RiskofThunder-R2API_ProcType icon

R2API ProcType

API for registering proc types

Last updated 3 weeks ago
Total downloads 19279
Total rating 1 
Categories Libraries
Dependency string RiskofThunder-R2API_ProcType-1.0.1
Dependants 14 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2113 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2113
RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

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

Core R2API module

Preferred version: 5.1.2

README

R2API.ProcType - Reserve new ProcTypes

About

R2API.ProcType is a submodule for R2API that allows mod creators to reserve new ProcTypes and add them to proc chain masks.

Use Cases / Features

Custom ProcTypes can be reserved through ProcTypeAPI.

Use the provided RoR2.ProcChainMask extensions to add, remove, and check for modded Proc Types.

R2API.ProcType patches RoR2.ProcChainMask to store additional data and this data is exposed by the API. ProcTypeAPI provides the necessary methods to manipulate this data; mod creators should not need to interact with it directly.

Changelog

'1.0.1'

  • Fix NuGet package

'1.0.0'

  • Initial Release