Changes

Jump to navigation Jump to search
207 bytes added ,  00:16, 31 August 2017
no edit summary
Line 26: Line 26:     
=Description=
 
=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 [[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 value 1 (America) this immediately returns u8 output value 0. 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.
 +
 
 +
Also known as '''CFG:IsCoppacsSupported''', due to the (original) purpose of this function being to determine whether to enable legally mandated restrictions in the U.S. and Canadian markets.
149

edits

Navigation menu