Mainboard Programmer: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
|- | |- | ||
! Name !! Type !! Read/Write !! Description | ! Name !! Type !! Read/Write !! Description | ||
|- | |||
|<code>uniqueId</code> | |||
|<code>integer</code> | |||
|READ | |||
|A unique numeric ID representing this peripheral device, generated on block placement and persistent across restarts. | |||
|- | |- | ||
| <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. | | <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. | ||
Revision as of 02:06, 7 September 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 mainboard, 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 |
|---|---|---|---|
uniqueId
|
integer
|
READ | A unique numeric ID representing this peripheral device, generated on block placement and persistent across restarts. |
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. |