Unstable 1.8.4.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
@@ -230,6 +230,18 @@ namespace Barotrauma.Steam
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public static bool TryGetAllAvailableAchievements(out List<Steamworks.Data.Achievement> achievements)
|
||||
{
|
||||
if (!IsInitialized || !Steamworks.SteamClient.IsValid)
|
||||
{
|
||||
achievements = null;
|
||||
return false;
|
||||
}
|
||||
achievements = Steamworks.SteamUserStats.Achievements.ToList();
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void Update(float deltaTime)
|
||||
{
|
||||
//this should be run even if SteamManager is uninitialized
|
||||
|
||||
Reference in New Issue
Block a user