mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-29 10:44:47 +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,9 +3,11 @@
|
|||
#include "steamworks_sdk_104/steam_api.h"
|
||||
#include "steamworks_sdk_104/isteamgameserver.h"
|
||||
extern "C" {
|
||||
#pragma pack( push, 8 )
|
||||
struct winLobbyClosing_t_8 {
|
||||
uint64 m_ulSteamIDLobby;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_LobbyClosing_t_8(void *l, void *w)
|
||||
{
|
||||
LobbyClosing_t *lin = (LobbyClosing_t *)l;
|
||||
|
|
@ -13,10 +15,12 @@ void cb_LobbyClosing_t_8(void *l, void *w)
|
|||
win->m_ulSteamIDLobby = lin->m_ulSteamIDLobby;
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winLobbyKicked_t_16 {
|
||||
uint64 m_ulSteamIDLobby;
|
||||
uint64 m_ulSteamIDAdmin;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_LobbyKicked_t_16(void *l, void *w)
|
||||
{
|
||||
LobbyKicked_t *lin = (LobbyKicked_t *)l;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue