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
|
|
@ -5,9 +5,11 @@
|
|||
#include "steamworks_sdk_136/isteamgameserverstats.h"
|
||||
#include "steamworks_sdk_136/isteamgamecoordinator.h"
|
||||
extern "C" {
|
||||
#pragma pack( push, 8 )
|
||||
struct winSteamAPICallCompleted_t_8 {
|
||||
SteamAPICall_t m_hAsyncCall;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_SteamAPICallCompleted_t_8(void *l, void *w)
|
||||
{
|
||||
SteamAPICallCompleted_t *lin = (SteamAPICallCompleted_t *)l;
|
||||
|
|
@ -15,11 +17,13 @@ void cb_SteamAPICallCompleted_t_8(void *l, void *w)
|
|||
win->m_hAsyncCall = lin->m_hAsyncCall;
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winAppProofOfPurchaseKeyResponse_t_72 {
|
||||
EResult m_eResult;
|
||||
uint32 m_nAppID;
|
||||
char m_rgchKey[64];
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_AppProofOfPurchaseKeyResponse_t_72(void *l, void *w)
|
||||
{
|
||||
AppProofOfPurchaseKeyResponse_t *lin = (AppProofOfPurchaseKeyResponse_t *)l;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue