
Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version

R2API.ProcType is a submodule for R2API that allows mod creators to reserve new ProcTypes and add them to proc chain masks.
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.