v1.0.13.1 (first post-1.0 patch)

This commit is contained in:
Regalis11
2023-05-10 15:07:17 +03:00
parent 96fb49ba14
commit ee1db852b1
272 changed files with 5738 additions and 2413 deletions
@@ -15,7 +15,7 @@ namespace Steamworks
/// </summary>
public class SteamParties : SteamClientClass<SteamParties>
{
internal static ISteamParties Internal => Interface as ISteamParties;
internal static ISteamParties? Internal => Interface as ISteamParties;
internal override void InitializeInterface( bool server )
{
@@ -32,15 +32,15 @@ namespace Steamworks
/// <summary>
/// The list of possible Party beacon locations has changed
/// </summary>
public static event Action OnBeaconLocationsUpdated;
public static event Action? OnBeaconLocationsUpdated;
/// <summary>
/// The list of active beacons may have changed
/// </summary>
public static event Action OnActiveBeaconsUpdated;
public static event Action? OnActiveBeaconsUpdated;
public static int ActiveBeaconCount => (int) Internal.GetNumActiveBeacons();
public static int ActiveBeaconCount => (int)(Internal?.GetNumActiveBeacons() ?? 0);
public static IEnumerable<PartyBeacon> ActiveBeacons
{
@@ -50,7 +50,7 @@ namespace Steamworks
{
yield return new PartyBeacon
{
Id = Internal.GetBeaconByIndex( i )
Id = Internal?.GetBeaconByIndex( i ) ?? 0
};
}
}