#
Class: Multiboard#
HierarchyHandle<multiboard>
↳ Multiboard
#
Constructors#
constructornew Multiboard(): Multiboard
Create a Multiboard object
bug
Do not use this in a global initialisation as it crashes the game there.
Returns: Multiboard
Defined in: handles/multiboard.ts:43
#
Properties#
handle• Readonly
handle: multiboard
Defined in: handles/handle.ts:6
#
Accessors#
columnscolumns(): number
Returns: number
Defined in: handles/multiboard.ts:56
columns(count: number): void
#
Parameters:Name | Type |
---|---|
count | number |
Returns: void
Defined in: handles/multiboard.ts:60
#
displayeddisplayed(): boolean
Returns: boolean
Defined in: handles/multiboard.ts:64
#
idid(): number
Get the unique ID of the handle. The ID is recycled once you destroy the object.
Returns: number
The unique ID of a handle object.
Defined in: handles/handle.ts:18
#
rowsrows(): number
Returns: number
Defined in: handles/multiboard.ts:68
rows(count: number): void
bug
It is only safe to change the row count by one. Use multiple calls for bigger values.
#
Parameters:Name | Type |
---|---|
count | number |
Returns: void
Defined in: handles/multiboard.ts:75
#
titletitle(): string
Returns: string
Defined in: handles/multiboard.ts:83
title(label: string): void
#
Parameters:Name | Type |
---|---|
label | string |
Returns: void
Defined in: handles/multiboard.ts:79
#
Methods#
clearclear(): void
Returns: void
Defined in: handles/multiboard.ts:87
#
createItemcreateItem(x: number, y: number): MultiboardItem
#
Parameters:Name | Type |
---|---|
x | number |
y | number |
Returns: MultiboardItem
Defined in: handles/multiboard.ts:91
#
destroydestroy(): void
Returns: void
Defined in: handles/multiboard.ts:95
#
displaydisplay(show: boolean): void
note
Multiboards can not be shown at map-init. Use a wait or a zero-timer to display as soon as possible.
#
Parameters:Name | Type |
---|---|
show | boolean |
Returns: void
Defined in: handles/multiboard.ts:102
#
minimizeminimize(flag: boolean): void
#
Parameters:Name | Type |
---|---|
flag | boolean |
Returns: void
Defined in: handles/multiboard.ts:106
#
minimizedminimized(): boolean
async
Returns: boolean
Defined in: handles/multiboard.ts:113
#
setItemsIconssetItemsIcons(icon: string): void
#
Parameters:Name | Type |
---|---|
icon | string |
Returns: void
Defined in: handles/multiboard.ts:117
#
setItemsStylesetItemsStyle(showValues: boolean, showIcons: boolean): void
#
Parameters:Name | Type |
---|---|
showValues | boolean |
showIcons | boolean |
Returns: void
Defined in: handles/multiboard.ts:121
#
setItemsValuesetItemsValue(value: string): void
#
Parameters:Name | Type |
---|---|
value | string |
Returns: void
Defined in: handles/multiboard.ts:125
#
setItemsValueColorsetItemsValueColor(red: number, green: number, blue: number, alpha: number): void
#
Parameters:Name | Type |
---|---|
red | number |
green | number |
blue | number |
alpha | number |
Returns: void
Defined in: handles/multiboard.ts:129
#
setItemsWidthsetItemsWidth(width: number): void
#
Parameters:Name | Type |
---|---|
width | number |
Returns: void
Defined in: handles/multiboard.ts:133
#
setTitleTextColorsetTitleTextColor(red: number, green: number, blue: number, alpha: number): void
#
Parameters:Name | Type |
---|---|
red | number |
green | number |
blue | number |
alpha | number |
Returns: void
Defined in: handles/multiboard.ts:137
#
fromHandlestatic fromHandle(handle: multiboard): Multiboard
#
Parameters:Name | Type |
---|---|
handle | multiboard |
Returns: Multiboard
Defined in: handles/multiboard.ts:141
#
suppressDisplaystatic suppressDisplay(flag: boolean): void
Meant to unequivocally suspend display of existing and subsequently displayed multiboards.
#
Parameters:Name | Type |
---|---|
flag | boolean |
Returns: void
Defined in: handles/multiboard.ts:148