SolClovser.CaseOpeningToolkit.Base.CaseController
Properties
protected CaseItemBase SelectedItem
Set after the item has been selected. Can be accessed from within child classes.
protected int SelectedItemIndex
Index of the SelectedItem within the built ItemList of config.
Methods
protected void Init()
Initializes the case and populates the visuals of the case.
Overrideable Methods
protected virtual int PickItem()
Selects an item from the case based on probabilities. You can override this in your case controller to change item selection algorithm.
public virtual void OpenCase(bool skipRandomizing = false)
Kicks off the case opening process. Pass true if you want to skip re-populating the case before opening.