This commit is contained in:
Garry Newman 2019-04-14 21:48:26 +01:00
parent 2d2be118d3
commit db1cfde383
3 changed files with 9 additions and 8 deletions

View File

@ -13,15 +13,15 @@ namespace Steamworks
/// </summary>
public static class Apps
{
static Internal.ISteamApps _steamapps;
static Internal.ISteamApps _internal;
internal static Internal.ISteamApps steamapps
{
get
{
if ( _steamapps == null )
_steamapps = new Internal.ISteamApps();
if ( _internal == null )
_internal = new Internal.ISteamApps();
return _steamapps;
return _internal;
}
}

View File

@ -33,6 +33,7 @@ public static void Init( uint appid )
Apps.InstallEvents();
Utils.InstallEvents();
Parental.InstallEvents();
}
internal static void RegisterCallback( IntPtr intPtr, int callbackId )

View File

@ -12,15 +12,15 @@ namespace Steamworks
/// </summary>
public static class Utils
{
static Internal.ISteamUtils _steamutils;
static Internal.ISteamUtils _internal;
internal static Internal.ISteamUtils steamutils
{
get
{
if ( _steamutils == null )
_steamutils = new Internal.ISteamUtils();
if ( _internal == null )
_internal = new Internal.ISteamUtils();
return _steamutils;
return _internal;
}
}