mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 06:35:23 +00:00
lsteamclient: Generate 1.46 support
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_145/steam_api.h"
|
||||
#include "steamworks_sdk_145/steamnetworkingtypes.h"
|
||||
#include "steamworks_sdk_146/steam_api.h"
|
||||
#include "steamworks_sdk_146/steamnetworkingtypes.h"
|
||||
#include "steamclient_private.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SDKVER_145
|
||||
#define SDKVER_146
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h"
|
||||
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *linux_side)
|
||||
@@ -158,12 +158,12 @@ SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLe
|
||||
return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers);
|
||||
}
|
||||
|
||||
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_145 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax)
|
||||
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_146 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax)
|
||||
{
|
||||
LeaderboardEntry_t lin_pLeaderboardEntry;
|
||||
win_to_lin_struct_LeaderboardEntry_t_145(pLeaderboardEntry, &lin_pLeaderboardEntry);
|
||||
win_to_lin_struct_LeaderboardEntry_t_146(pLeaderboardEntry, &lin_pLeaderboardEntry);
|
||||
bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax);
|
||||
lin_to_win_struct_LeaderboardEntry_t_145(&lin_pLeaderboardEntry, pLeaderboardEntry);
|
||||
lin_to_win_struct_LeaderboardEntry_t_146(&lin_pLeaderboardEntry, pLeaderboardEntry);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user