Skip to main content

EOS_UserInfo

Type Alias EOS_UserInfo 

Source
pub type EOS_UserInfo = _tagEOS_UserInfo;
Expand description

A structure that contains the user information. These structures are created by EOS_UserInfo_CopyUserInfo and must be passed to EOS_UserInfo_Release.

Aliased Type§

#[repr(C)]
pub struct EOS_UserInfo { pub ApiVersion: i32, pub UserId: *mut EOS_EpicAccountIdDetails, pub Country: *const u8, pub DisplayName: *const u8, pub PreferredLanguage: *const u8, pub Nickname: *const u8, pub DisplayNameSanitized: *const u8, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_USERINFO_COPYUSERINFO_API_LATEST.

§UserId: *mut EOS_EpicAccountIdDetails

The Epic Account ID of the user

§Country: *const u8

The name of the owner’s country. This may be null

§DisplayName: *const u8

The display name (un-sanitized). This may be null

§PreferredLanguage: *const u8

The ISO 639 language code for the user’s preferred language. This may be null

§Nickname: *const u8

A nickname/alias for the target user assigned by the local user. This may be null

§DisplayNameSanitized: *const u8

The raw display name (sanitized). This may be null