Browse Source
Cleaned up the project a bit and included the latest GameCore Unity package in the project itself
master
Cleaned up the project a bit and included the latest GameCore Unity package in the project itself
master
10 changed files with 48 additions and 22 deletions
-
2Assets/Scenes/SampleScene.unity
-
21Assets/Scripts/EOSNativeHelper.cs
-
5Assets/Scripts/EOSVoiceChat.cs
-
19Assets/Scripts/EpicVoiceChatTest.cs
-
0Assets/Scripts/EpicVoiceChatTest.cs.meta
-
13Assets/Scripts/IProductUserMapper.cs
-
3Assets/Scripts/IProductUserMapper.cs.meta
-
BINPackages/gamecore/com.unity.gamecore-0.4.6-preview.tgz
-
1Packages/manifest.json
-
6Packages/packages-lock.json
@ -1,13 +0,0 @@ |
|||||
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); |
|
||||
} |
|
||||
@ -1,3 +0,0 @@ |
|||||
fileFormatVersion: 2 |
|
||||
guid: d8a80c90c491474dbe97eba62578254f |
|
||||
timeCreated: 1625665094 |
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue