Skip to main content

EOS_Platform_SetOverrideCountryCode

Function EOS_Platform_SetOverrideCountryCode 

Source
pub unsafe extern "C" fn EOS_Platform_SetOverrideCountryCode(
    Handle: EOS_HPlatform,
    NewCountryCode: *const c_char,
) -> EOS_EResult
Expand description

Set the override country code that the SDK will send to services which require it. This is not currently used for anything internally.

@return An EOS_EResult that indicates whether the override country code string was saved.

  • EOS_Success if the country code was overridden
  • EOS_InvalidParameters if you pass an invalid country code

@see eos_ecom.h @see EOS_COUNTRYCODE_MAX_LENGTH