Interface IComponentContainer
- Namespace
- Uncreated.Warfare.Util.Containers
- Assembly
- Uncreated.Warfare.dll
A container for neatly separating and storing sub components of type TComponentType.
public interface IComponentContainer
Methods
Component(Type)
Get the given component type from a list of components.
[Pure]
object Component(Type t)
Parameters
tType
Returns
Remarks
Always returns a value or throws an exception.
Exceptions
- ComponentNotFoundException
Component not found.
ComponentOrNull(Type)
Get the given component type from a list of components.
[Pure]
object? ComponentOrNull(Type t)
Parameters
tType