using System;
using Epic.OnlineServices;
///
/// Generic interface for converting between EOS Product Users and platform-specific Player IDs.
/// The exact rules for mapping from one to the other may differ per platform, e.g. Steam and Epic will use different logic than Xbox and PlayStation.
/// The methods in this interface are asynchronous, though implementations may choose to pre-cache mappings to speed up the process.
///
public interface IProductUserMapper
{
void MapProductUserToPlatformId(ProductUserId productUserId, Action platformIdCallback);
void MapPlatformIdToProductUser(string platformId, Action productUserCallback);
}