public static void Initialize(int appId) { Environment.SetEnvironmentVariable("SteamAppId", appId.ToString()); SteamContext.Initialize(false); DebugLog.AppendText("Getting ISteam interface: ISteamScreenshots001..."); Screenshots = SteamContext.SteamClient.GetISteamGenericInterface <ISteamScreenshots001>( SteamContext.HSteamUser, SteamContext.HSteamPipe ); DebugLog.AppendText("ISteamScreenshots001 = 0x{0:8x}", Screenshots.Interface); }
public static void Initialize( int appId ) { Environment.SetEnvironmentVariable( "SteamAppId", appId.ToString() ); SteamContext.Initialize( false ); DebugLog.AppendText( "Getting ISteam interface: ISteamScreenshots001..." ); Screenshots = SteamContext.SteamClient.GetISteamGenericInterface<ISteamScreenshots001>( SteamContext.HSteamUser, SteamContext.HSteamPipe ); DebugLog.AppendText( "ISteamScreenshots001 = 0x{0:8x}", Screenshots.Interface ); }