Jump to content

Mainboard Programmer: Difference between revisions

From Advanced Computers Wiki
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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:Mainboard programmer block.png|alt=Mainboard Programmer block|thumb|Mainboard Programmer block]]
[[File:Mainboard programmer block.png|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.
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 ==
== 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}}

Latest revision as of 22:52, 31 July 2026

Mainboard Programmer block
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 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:

MainboardProgrammerUD component 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.
MainboardProgrammerUD component methods
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.