mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-05 22:18:03 +01:00
Move lsteamclient out of wine
This commit is contained in:
parent
ee74e78c18
commit
f07f9247a5
1690 changed files with 463666 additions and 0 deletions
41
lsteamclient/cb_converters_116.cpp
Normal file
41
lsteamclient/cb_converters_116.cpp
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#include "steamclient_private.h"
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_116/steam_api.h"
|
||||
#include "steamworks_sdk_116/isteamgameserver.h"
|
||||
#include "steamworks_sdk_116/isteamgameserverstats.h"
|
||||
#include "steamworks_sdk_116/isteamgamecoordinator.h"
|
||||
extern "C" {
|
||||
struct winNameHistoryResponse_t_8 {
|
||||
int m_cSuccessfulLookups;
|
||||
int m_cFailedLookups;
|
||||
} __attribute__ ((ms_struct));
|
||||
void cb_NameHistoryResponse_t_8(void *l, void *w)
|
||||
{
|
||||
NameHistoryResponse_t *lin = (NameHistoryResponse_t *)l;
|
||||
struct winNameHistoryResponse_t_8 *win = (struct winNameHistoryResponse_t_8 *)w;
|
||||
win->m_cSuccessfulLookups = lin->m_cSuccessfulLookups;
|
||||
win->m_cFailedLookups = lin->m_cFailedLookups;
|
||||
}
|
||||
|
||||
struct winRemoteStorageDownloadUGCResult_t_32 {
|
||||
EResult m_eResult;
|
||||
UGCHandle_t m_hFile;
|
||||
AppId_t m_nAppID;
|
||||
int32 m_nSizeInBytes;
|
||||
char * m_pchFileName;
|
||||
uint64 m_ulSteamIDOwner;
|
||||
} __attribute__ ((ms_struct));
|
||||
void cb_RemoteStorageDownloadUGCResult_t_32(void *l, void *w)
|
||||
{
|
||||
RemoteStorageDownloadUGCResult_t *lin = (RemoteStorageDownloadUGCResult_t *)l;
|
||||
struct winRemoteStorageDownloadUGCResult_t_32 *win = (struct winRemoteStorageDownloadUGCResult_t_32 *)w;
|
||||
win->m_eResult = lin->m_eResult;
|
||||
win->m_hFile = lin->m_hFile;
|
||||
win->m_nAppID = lin->m_nAppID;
|
||||
win->m_nSizeInBytes = lin->m_nSizeInBytes;
|
||||
win->m_pchFileName = lin->m_pchFileName;
|
||||
win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue