public void Set(GetAchievementDefinitionCountOptions other) { if (other != null) { m_ApiVersion = AchievementsInterface.GetachievementdefinitioncountApiLatest; } }
/// <summary> /// Fetch the number of achievement definitions that are cached locally. /// <seealso cref="CopyAchievementDefinitionByIndex" /> /// </summary> /// <param name="options">The Options associated with retrieving the achievement definition count</param> /// <returns> /// Number of achievement definitions or 0 if there is an error /// </returns> public uint GetAchievementDefinitionCount(GetAchievementDefinitionCountOptions options) { System.IntPtr optionsAddress = new System.IntPtr(); Helper.TryMarshalSet <GetAchievementDefinitionCountOptionsInternal, GetAchievementDefinitionCountOptions>(ref optionsAddress, options); var funcResult = EOS_Achievements_GetAchievementDefinitionCount(InnerHandle, optionsAddress); Helper.TryMarshalDispose(ref optionsAddress); return(funcResult); }