Table of Contents

Class MenuModList

Namespace
Menu.Remix
Assembly
Assembly-CSharp.dll
public class MenuModList : UIelement
Inheritance
MenuModList
Inherited Members

Constructors

public MenuModList(ConfigMenuTab tab)

Parameters

tab ConfigMenuTab

Fields

public readonly FSprite _backSide

Field Value

FSprite
public string[] _currentSelections

Field Value

string[]
public float _floatScrollPos

Field Value

float
public float _floatScrollVel

Field Value

float
public readonly bool _initialized

Field Value

bool
public bool _listFocused

Field Value

bool
public readonly MenuModList.ListButton[] _roleButtons

Field Value

ListButton[]
public string[] _savedSelections

Field Value

string[]
public int _scrollPos

Field Value

int
public static int _scrollVisible

Field Value

int
public readonly MenuModList.SearchBox _searchBox

Field Value

MenuModList.SearchBox
public string _searchQuery

Field Value

string
public readonly FSprite[] _sideLines

Field Value

FSprite[]
public readonly MenuModList.ListSlider _slider

Field Value

MenuModList.ListSlider
public readonly MenuModList.ModButton[] modButtons

Field Value

ModButton[]
public bool selectionChanged

Field Value

bool
public readonly List<MenuModList.ModButton> sortedModButtons

Field Value

List<MenuModList.ModButton>
public readonly List<MenuModList.ModButton> visibleModButtons

Field Value

List<MenuModList.ModButton>

Properties

public ConfigContainer CfgContainer { get; }

Property Value

ConfigContainer
public ConfigMenuTab MenuTab { get; }

Property Value

ConfigMenuTab
public override bool MouseOver { get; }

Property Value

bool
public int _ScrollMax { get; }

Property Value

int
public bool _SearchMode { get; }

Property Value

bool

Methods

public static int CompareByModName(MenuModList.ModButton x, MenuModList.ModButton y)

Parameters

x MenuModList.ModButton
y MenuModList.ModButton

Returns

int
public static int CompareBySelectOrder(MenuModList.ModButton x, MenuModList.ModButton y)

Parameters

x MenuModList.ModButton
y MenuModList.ModButton

Returns

int
public MenuModList.ModButton GetModButton(string modID)

Parameters

modID string

Returns

MenuModList.ModButton
public MenuModList.ModButton GetModButtonAtBottom()

Returns

MenuModList.ModButton
public MenuModList.ModButton GetModButtonAtTop()

Returns

MenuModList.ModButton
public override void GrafUpdate(float timeStacker)

Parameters

timeStacker float
public void RefreshAllButtons()
public void RefreshSavedSelections()
public void RefreshVisibleButtons()
public void ScrollToShow(int targetIndex)

Parameters

targetIndex int
public void Signal(UIfocusable trigger, int index = -1)

Parameters

trigger UIfocusable
index int
public void SwitchSelectMode(bool toSelect)

Parameters

toSelect bool
public override void Update()
public void _AttachDependent(MenuModList.ModButton btn)

Parameters

btn MenuModList.ModButton
public void _AttachRequirement(MenuModList.ModButton btn, int requires)

Parameters

btn MenuModList.ModButton
requires int
public void _CheckRequirementsOrder(ref List<MenuModList.ModButton> btns)

Parameters

btns List<MenuModList.ModButton>
public void _ClampScrollPos()
public void _SetEnableToAllMods(bool enable)

Parameters

enable bool
public void _ToggleMod(MenuModList.ModButton btn)

Parameters

btn MenuModList.ModButton
public void _ToggleMod_SubDisable(MenuModList.ModButton btn)

Parameters

btn MenuModList.ModButton
public void _ToggleMod_SubEnable(MenuModList.ModButton btn, ref int maxOrder)

Parameters

btn MenuModList.ModButton
maxOrder int