API Reference › Menu.Components
MenuChoiceComponentBase`1
ClassNamespace: SwiftlyS2.Shared.Menu.Components · Assembly: SwiftlyS2.CS2.dll
public abstract class MenuChoiceComponentBase<TItem> : MenuValueComponent<int>, IMenuComponentImplements IMenuComponent
The shared behaviour of a component that picks one item out of a list.
The stored value is the index, which keeps duplicate items in the list unambiguous. Use IMenuSession) and OnItemChanged to work in terms of items instead.
View source