Difference between revisions of "Cfg:GetRegionCanadaUSA"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00040000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des...")
 
Line 26: Line 26:
  
 
=Description=
 
=Description=
This first calls the code for [[CfgS:GetRegion]], if the output for that is not value1 this immediately returns u8 output value0. Otherwise, this then checks the country-code stored in the [[Config_Savegame|CountryInfo]]. If the Country-code is 18(Canada) or 49(USA), the output value is then set to 1, otherwise the output value is set to zero.
+
This first calls the code for [[Cfg:SecureInfoGetRegion]], if the output for that is not value1 this immediately returns u8 output value0. Otherwise, this then checks the country-code stored in the [[Config_Savegame|CountryInfo]]. If the Country-code is 18(Canada) or 49(USA), the output value is then set to 1, otherwise the output value is set to zero.

Revision as of 01:56, 30 July 2014

Request

Index Word Description
0 Header code [0x00040000]

Response

Index Word Description
0 Header code
1 Result code
2 u8 output value

Description

This first calls the code for Cfg:SecureInfoGetRegion, if the output for that is not value1 this immediately returns u8 output value0. Otherwise, this then checks the country-code stored in the CountryInfo. If the Country-code is 18(Canada) or 49(USA), the output value is then set to 1, otherwise the output value is set to zero.