Skip to main content

IActionItemHandlerCollection

An internal interface in Root.Township, Alta.QuickAccessActions. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Internal: per-player store of quick access action item handlers. ActionItemsManager uses ActionItemHandlerCollectionMap on the server and ActionItemHandlerCollection on the client.

Methods​

MemberWhat it is
ActionItemHandler GetHandlerForActionIndex(IPlayer player, int actionItemIndex)Gets the handler for a player's action item index, creating it if needed.
bool IsSpawnedFor(IPlayer player, int actionItemIndex)Whether that action item is currently spawned for the player.
void RemovePlayer(IPlayer player)Disposes a player's handlers.

Used in​

Members of other types that take, return or hold a IActionItemHandlerCollection: