Jass:MultiboardSetItemStyleBJ
Aus Mappedia
| Funktion: MultiboardSetItemStyleBJ | |
|---|---|
| Parameter: | multiboard integer integer boolean boolean |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function MultiboardSetItemStyleBJ takes multiboard mb, integer col, integer row, boolean showValue, boolean showIcon returns nothing local integer curRow = 0 local integer curCol = 0 local integer numRows = MultiboardGetRowCount(mb) local integer numCols = MultiboardGetColumnCount(mb) local multiboarditem mbitem = null // Loop over rows, using 1-based index loop set curRow = curRow + 1 exitwhen curRow > numRows // Apply setting to the requested row, or all rows (if row is 0) if (row == 0 or row == curRow) then // Loop over columns, using 1-based index set curCol = 0 loop set curCol = curCol + 1 exitwhen curCol > numCols // Apply setting to the requested column, or all columns (if col is 0) if (col == 0 or col == curCol) then set mbitem = MultiboardGetItem(mb, curRow - 1, curCol - 1) call MultiboardSetItemStyle(mbitem, showValue, showIcon) call MultiboardReleaseItem(mbitem) endif endloop endif endloop endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| multiboard | mb | |
| integer | col | |
| integer | row | |
| boolean | showValue | |
| boolean | showIcon |

russische Team, stehen wir nun im Halbfinale vor einem weiteren Giganten der e-Sports-Szene:
Finnland! Die Skandinavier hatten es im Gegensatz zu unserem