You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
695 B

using System;
using Epic.OnlineServices;
/// <summary>
/// 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.
/// </summary>
public interface IProductUserMapper
{
void MapProductUserToPlatformId(ProductUserId productUserId, Action<string> platformIdCallback);
void MapPlatformIdToProductUser(string platformId, Action<ProductUserId> productUserCallback);
}