We're working with MPA and having no problem with creating, inviting, joining or deleting it.
But, when we try to update recent player on win 64 version,
the process finished up with 0 (success) code, but it never show up on gamebar.
We tried to flush it using XblMultiplayerActivityFlushRecentPlayersAsync, it returned success state but nothing changed.
this is the code sniplet we've used
foreach(Player player in players){ XblMultiplayerActivityRecentPlayerUpdate recentPlayer = new XblMultiplayerActivityRecentPlayerUpdate() { Xuid = ulong.Parse(player.xuid), EncounterType = XblMultiplayerActivityEncounterType.Default }; playerUpdates.Add(recentPlayer); }
if (playerUpdates.Count > 0) { int result = XblMultiplayerActivityUpdateRecentPlayers(_xblContextHandle, playerUpdates.ToArray()); // result showing succeed here XblMultiplayerActivityFlushRecentPlayersAsync(_xblContextHandle, result => { // return succeed here }); }
We're working with MPA and having no problem with creating, inviting, joining or deleting it. But, when we try to update recent player on win 64 version, the process finished up with 0 (success) code, but it never show up on gamebar. We tried to flush it using XblMultiplayerActivityFlushRecentPlayersAsync, it returned success state but nothing changed.
this is the code sniplet we've used
foreach(Player player in players){ XblMultiplayerActivityRecentPlayerUpdate recentPlayer = new XblMultiplayerActivityRecentPlayerUpdate() { Xuid = ulong.Parse(player.xuid), EncounterType = XblMultiplayerActivityEncounterType.Default }; playerUpdates.Add(recentPlayer); }
if (playerUpdates.Count > 0) { int result = XblMultiplayerActivityUpdateRecentPlayers(_xblContextHandle, playerUpdates.ToArray()); // result showing succeed here XblMultiplayerActivityFlushRecentPlayersAsync(_xblContextHandle, result => { // return succeed here }); }