AddAchievementData = ( id, domId, achievement, player ) =>
		{
			achievement.global_unlock = Number.parseFloat( achievement.player_percent_unlocked ) / 100.0;

			/** @type {AchievementData} */
			const ach = {
				id,
				domId,
				update: achievementInternalIdToUpdate.get( achievement.internal_name ) || 0,
				achievement,
				player,
			};

			const update = achievementUpdates[ ach.update ];
			update.achievementData.push( ach );

			if( ach.player.unlock )
			{
				update.earned++;
			}

			if( ach.player.unlockCompare )
			{
				update.earnedCompare++;
			}
		}
@param {number} id
@param {number} domId
@param {ApiGameAchievement} achievement
@param {PlayerAchievement} player