mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-28 10:14:37 +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
|
|
@ -3,12 +3,14 @@
|
|||
#include "steamworks_sdk_102/steam_api.h"
|
||||
#include "steamworks_sdk_102/isteamgameserver.h"
|
||||
extern "C" {
|
||||
#pragma pack( push, 8 )
|
||||
struct winRequestFriendsLobbiesResponse_t_24 {
|
||||
uint64 m_ulSteamIDFriend;
|
||||
uint64 m_ulSteamIDLobby;
|
||||
int m_cResultIndex;
|
||||
int m_cResultsTotal;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_RequestFriendsLobbiesResponse_t_24(void *l, void *w)
|
||||
{
|
||||
RequestFriendsLobbiesResponse_t *lin = (RequestFriendsLobbiesResponse_t *)l;
|
||||
|
|
@ -19,10 +21,12 @@ void cb_RequestFriendsLobbiesResponse_t_24(void *l, void *w)
|
|||
win->m_cResultsTotal = lin->m_cResultsTotal;
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winUserStatsReceived_t_12 {
|
||||
uint64 m_nGameID;
|
||||
EResult m_eResult;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_UserStatsReceived_t_12(void *l, void *w)
|
||||
{
|
||||
UserStatsReceived_t *lin = (UserStatsReceived_t *)l;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue