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.MinionExtensions

MinionExtensions.LoopMinions(CharacterMaster, Action<CharacterMaster>) Method

Loops through the minions and fellow minions, then applies processing for each through an action.

public static void LoopMinions(this CharacterMaster ownerOrMinion, System.Action<CharacterMaster> logic);

Parameters

ownerOrMinion RoR2.CharacterMaster
Master of the minions or a fellow minion

logic System.Action<RoR2.CharacterMaster>
Code to apply for each minion