Class: MockCUIVersionList
Mock multiplayer version list.
Remarks
Standalone rather than a MockCUIWindow subclass, matching the declaration. The C++ source is documented as CUIVersionList : CUIWindow, so the declaration may be missing an extends clause — if it gains one, this mock should extend MockCUIWindow too.
Implements
CUIVersionList
Constructors
Constructor
ts
new MockCUIVersionList(): MockCUIVersionList;Returns
MockCUIVersionList
Methods
create()
ts
static create(): MockCUIVersionList;Returns
MockCUIVersionList
mock()
ts
static mock(): CUIVersionList;Returns
CUIVersionList
Properties
currentVersionDescription
ts
currentVersionDescription: string = "";currentVersionName
ts
currentVersionName: string = "";GetCurrentVersionDescr
ts
GetCurrentVersionDescr: Mock<() => string>;Returns
Description of the selected version.
Implementation of
ts
CUIVersionList.GetCurrentVersionDescrGetCurrentVersionName
ts
GetCurrentVersionName: Mock<() => string>;Returns
Name of the selected version.
Implementation of
ts
CUIVersionList.GetCurrentVersionNameGetItemsCount
ts
GetItemsCount: Mock<() => number>;Returns
Number of available versions.
Implementation of
ts
CUIVersionList.GetItemsCountitemsCount
ts
itemsCount: number = 0;SwitchToSelectedVersion
ts
SwitchToSelectedVersion: Mock<UnknownFunction>;Switch game data to the selected version.
Implementation of
ts
CUIVersionList.SwitchToSelectedVersion