Mainboard Programmer: Difference between revisions
Appearance
Created page with "alt=Mainboard Programmer block|thumb|Mainboard Programmer block Sometimes you may wish to modify a Mainboard that is not located in the current Computer. This is precisely the purpose of the Mainboard Programmer block. To modify a mainbord, simply put it into the block's GUI and run any of the component API methods below. == Provided component == This block provides the <code>mainboardProgrammer</code> component, offering..." |
No edit summary |
||
| Line 4: | Line 4: | ||
== Provided component == | == Provided component == | ||
This block provides the <code>mainboardProgrammer</code> component, offering the following properties: | This block provides the <code>mainboardProgrammer</code> component, offering the following properties: | ||
{| class="wikitable" | |||
|+ MainboardProgrammerUD component properties | |||
|- | |||
! Name !! Type !! Read/Write !! Description | |||
|- | |||
| <code>containsMainboard</code> || <code>boolean</code> || READ || Returns whether a mainboard is located in the GUI slot. If this is false, most methods will throw an error. | |||
|} | |||
{| class="wikitable" | |||
|+ MainboardProgrammerUD component methods | |||
|- | |||
! Name !! Type !! Description | |||
|- | |||
| style="white-space: nowrap;" | <code>:getMainboardTier()</code> || <code>integer</code> || Returns the tier of the mainboard, ranging from 1 to 3. | |||
|- | |||
| style="white-space: nowrap;" | <code>:setUefiData(data:string)</code> || <code>void</code>|| Sets the executable [[UEFI]] data to the given string. | |||
|- | |||
| style="white-space: nowrap;" | <code>:getUefiData()</code> || <code>string</code> || Returns the executable UEFI data. | |||
|} | |||
{{Navbox content}} | {{Navbox content}} | ||
Revision as of 22:38, 31 July 2026

Sometimes you may wish to modify a Mainboard that is not located in the current Computer. This is precisely the purpose of the Mainboard Programmer block. To modify a mainbord, simply put it into the block's GUI and run any of the component API methods below.
Provided component
This block provides the mainboardProgrammer component, offering the following properties:
| Name | Type | Read/Write | Description |
|---|---|---|---|
containsMainboard |
boolean |
READ | Returns whether a mainboard is located in the GUI slot. If this is false, most methods will throw an error. |
| Name | Type | Description |
|---|---|---|
:getMainboardTier() |
integer |
Returns the tier of the mainboard, ranging from 1 to 3. |
:setUefiData(data:string) |
void |
Sets the executable UEFI data to the given string. |
:getUefiData() |
string |
Returns the executable UEFI data. |