Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

Template:Isdef and Nxargs: Difference between pages

From ZeldaMods (Breath of the Wild)
(Difference between pages)
Jump to navigation Jump to search
imported>Leoetlino
mNo edit summary
 
imported>Leoetlino
No edit summary
 
Line 1: Line 1:
{{#ifeq:{{{var|+}}}|{{{var|-}}}|{{{0|}}}|{{{1|}}}}}<noinclude>
{{Subsystem infobox|name=nxargs|is_name_official=1|description=[Switch] Holds launch parameters (retrieved with nn::oe::TryPopLaunchParameter)|init_addr_switch150=0000007100901BA4}}
<templatedata>
 
{
Collects launch parameters (retrieved with nn::oe::TryPopLaunchParameter which is called each time with a 0x1000 byte buffer) and processes them as soon as the game has finished loading and if the current map isn't TitleMenu and isn't STAGESELECT, and if there is no active event.
"params": {
 
"0": {
A [https://gist.github.com/leoetlino/da5eeea19ad628642240bf8d2701dc51 010 template for the launch parameter data format is available here].
"label": "Value if true",
 
"type": "string",
[[Category: Internals]]
"suggested": true
[[Category: Subsystems (BotW)]]
},
"1": {
"label": "Value if false",
"type": "string",
"suggested": true
},
"var": {
"label": "Variable to test",
"type": "string",
"required": true
}
},
"description": "Tests if a variable is defined"
}
</templatedata>
[[Category:ZeldaMods templates]]
</noinclude>

Revision as of 19:50, 30 April 2019

nxargs
Subsystem
Official name Yes
Description [Switch] Holds launch parameters (retrieved with nn::oe::TryPopLaunchParameter)
Init function Switch 1.5.0: 0000007100901BA4
Wii U 1.5.0: ???
Debug only No

Collects launch parameters (retrieved with nn::oe::TryPopLaunchParameter which is called each time with a 0x1000 byte buffer) and processes them as soon as the game has finished loading and if the current map isn't TitleMenu and isn't STAGESELECT, and if there is no active event.

A 010 template for the launch parameter data format is available here.