Skip to main content

EOS_Achievements_UnlockAchievementsOptions

Type Alias EOS_Achievements_UnlockAchievementsOptions 

Source
pub type EOS_Achievements_UnlockAchievementsOptions = _tagEOS_Achievements_UnlockAchievementsOptions;
Expand description

Input parameters for the EOS_Achievements_UnlockAchievements function.

Aliased Type§

#[repr(C)]
pub struct EOS_Achievements_UnlockAchievementsOptions { pub ApiVersion: i32, pub UserId: *mut EOS_ProductUserIdDetails, pub AchievementIds: *mut *const i8, pub AchievementsCount: u32, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_ACHIEVEMENTS_UNLOCKACHIEVEMENTS_API_LATEST.

§UserId: *mut EOS_ProductUserIdDetails

The Product User ID for the user whose achievements we want to unlock.

§AchievementIds: *mut *const i8

An array of Achievement IDs to unlock.

§AchievementsCount: u32

The number of achievements to unlock.