RoR2-ChensHelpers

Contains simple and useful helpers for RoR2 mod creators to use. Mainly caters to Chen's mods.

View on GitHub

ChensHelpers

Chen.Helpers.GeneralHelpers

GenericContentPackProvider Class

An Abstract class for easily implementing Content Pack Providers. It is used for adding new CharacterBody and CharacterMaster GameObjects.
It is recommended to use R2API for adding other objects like Projectiles, etc.

public abstract class GenericContentPackProvider

Inheritance System.Object 🡒 RoR2.ContentManagement.IContentPackProvider 🡒 GenericContentPackProvider

Fields  
contentPack The Content Pack for this provider. Add here the new contents.
Methods  
ContentIdentifier() The identifier for this content pack provider. Usually, a Mod GUID is enough for an identifier.
LoadStaticContentAsyncActions(LoadStaticContentAsyncArgs) The actions where new content can be added.