mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 12:14:54 +01:00
ISteamApps 002-007 implemented.
This commit is contained in:
parent
9deef8c6f3
commit
6ccb8f6c0b
11 changed files with 372 additions and 2 deletions
28
sdk_includes/isteamapps001.h
Normal file
28
sdk_includes/isteamapps001.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
#ifndef ISTEAMAPPS001_H
|
||||
#define ISTEAMAPPS001_H
|
||||
#ifdef STEAM_WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
class ISteamApps001
|
||||
{
|
||||
public:
|
||||
// returns 0 if the key does not exist
|
||||
// this may be true on first call, since the app data may not be cached locally yet
|
||||
// If you expect it to exists wait for the AppDataChanged_t after the first failure and ask again
|
||||
virtual int GetAppData( AppId_t nAppID, const char *pchKey, char *pchValue, int cchValueMax ) = 0;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: called when new information about an app has arrived
|
||||
//-----------------------------------------------------------------------------
|
||||
struct AppDataChanged_t
|
||||
{
|
||||
enum { k_iCallback = k_iSteamAppsCallbacks + 1 };
|
||||
uint32 m_nAppID; // appid that changed
|
||||
bool m_bBySteamUI; // change came from SteamUI
|
||||
bool m_bCDDBUpdate; // the cddb entry for this app changed
|
||||
};
|
||||
|
||||
#endif //ISTEAMAPPS001_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue