mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-29 02:34:55 +01:00
lsteamclient: Fix packing for windows structs
This commit is contained in:
parent
bbf914c044
commit
02d52eea92
21 changed files with 1105 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue