mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-12 13:17:50 +02:00
lsteamclient: Fix packing for windows structs
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
#include "steamworks_sdk_128/isteamgameserverstats.h"
|
||||
#include "steamworks_sdk_128/isteamgamecoordinator.h"
|
||||
extern "C" {
|
||||
#pragma pack( push, 8 )
|
||||
struct winFavoritesListChanged_t_24 {
|
||||
uint32 m_nIP;
|
||||
uint32 m_nQueryPort;
|
||||
@ -13,6 +14,7 @@ struct winFavoritesListChanged_t_24 {
|
||||
uint32 m_nFlags;
|
||||
bool m_bAdd;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_FavoritesListChanged_t_24(void *l, void *w)
|
||||
{
|
||||
FavoritesListChanged_t *lin = (FavoritesListChanged_t *)l;
|
||||
@ -25,10 +27,12 @@ void cb_FavoritesListChanged_t_24(void *l, void *w)
|
||||
win->m_bAdd = lin->m_bAdd;
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winRemoteStorageFileShareResult_t_12 {
|
||||
EResult m_eResult;
|
||||
UGCHandle_t m_hFile;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_RemoteStorageFileShareResult_t_12(void *l, void *w)
|
||||
{
|
||||
RemoteStorageFileShareResult_t *lin = (RemoteStorageFileShareResult_t *)l;
|
||||
@ -37,9 +41,11 @@ void cb_RemoteStorageFileShareResult_t_12(void *l, void *w)
|
||||
win->m_hFile = lin->m_hFile;
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winSteamUGCRequestUGCDetailsResult_t_9760 {
|
||||
SteamUGCDetails_t m_details;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_SteamUGCRequestUGCDetailsResult_t_9760(void *l, void *w)
|
||||
{
|
||||
SteamUGCRequestUGCDetailsResult_t *lin = (SteamUGCRequestUGCDetailsResult_t *)l;
|
||||
|
Reference in New Issue
Block a user