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.UnityHelpers.ListProcessor<T>

ListProcessor<T>.Add(T) Method

Adds an item into the data structure for processing. No need to override this, but one may do so for complex implementations.

public virtual bool Add(T item);

Parameters

item T
New item to add

Returns

System.Boolean
True if the item is added. False if the item already exists.