mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-01 12:14:29 +01:00
lsteamclient: Synthesize SDK version 0.99x
For SteamFriends001, SteamGameServer002, SteamUser007, and STEAMUSERSTATS_INTERFACE_VERSION001.
This commit is contained in:
parent
7008e8bf21
commit
164490165d
32 changed files with 4218 additions and 1 deletions
|
|
@ -1780,3 +1780,199 @@ winISteamGameServer_SteamGameServer003 *create_winISteamGameServer_SteamGameServ
|
|||
return r;
|
||||
}
|
||||
|
||||
#include "cppISteamGameServer_SteamGameServer002.h"
|
||||
|
||||
typedef struct __winISteamGameServer_SteamGameServer002 {
|
||||
vtable_ptr *vtable;
|
||||
void *linux_side;
|
||||
} winISteamGameServer_SteamGameServer002;
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_LogOn, 4)
|
||||
void __thiscall winISteamGameServer_SteamGameServer002_LogOn(winISteamGameServer_SteamGameServer002 *_this)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
cppISteamGameServer_SteamGameServer002_LogOn(_this->linux_side);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_LogOff, 4)
|
||||
void __thiscall winISteamGameServer_SteamGameServer002_LogOff(winISteamGameServer_SteamGameServer002 *_this)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
cppISteamGameServer_SteamGameServer002_LogOff(_this->linux_side);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_BLoggedOn, 4)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_BLoggedOn(winISteamGameServer_SteamGameServer002 *_this)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_BLoggedOn(_this->linux_side);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetSpawnCount, 8)
|
||||
void __thiscall winISteamGameServer_SteamGameServer002_GSSetSpawnCount(winISteamGameServer_SteamGameServer002 *_this, uint32 ucSpawn)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
cppISteamGameServer_SteamGameServer002_GSSetSpawnCount(_this->linux_side, ucSpawn);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient, 16)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(winISteamGameServer_SteamGameServer002 *_this, void * pvEncryptionKey, uint32 * pcbEncryptionKey, uint32 cbMaxEncryptionKey)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(_this->linux_side, pvEncryptionKey, pcbEncryptionKey, cbMaxEncryptionKey);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect, 30)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(winISteamGameServer_SteamGameServer002 *_this, uint32 unUserID, const void * pvRawKey, uint32 unKeyLen, uint32 unIPPublic, uint16 usPort, const void * pvCookie, uint32 cubCookie)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(_this->linux_side, unUserID, pvRawKey, unKeyLen, unIPPublic, usPort, pvCookie, cubCookie);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect, 24)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, uint32 unIPPublic, const void * pvCookie, uint32 cubCookie)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(_this->linux_side, steamID, unIPPublic, pvCookie, cubCookie);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSRemoveUserConnect, 8)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSRemoveUserConnect(winISteamGameServer_SteamGameServer002 *_this, uint32 unUserID)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect(_this->linux_side, unUserID);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendUserDisconnect, 16)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSSendUserDisconnect(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, uint32 unUserID)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect(_this->linux_side, steamID, unUserID);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse, 20)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, int nSecondsConnected, int nSecondsSinceLast)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(_this->linux_side, steamID, nSecondsConnected, nSecondsSinceLast);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus, 44)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(winISteamGameServer_SteamGameServer002 *_this, int32 nAppIdServed, uint32 unServerFlags, int cPlayers, int cPlayersMax, int cBotPlayers, int unGamePort, const char * pchServerName, const char * pchGameDir, const char * pchMapName, const char * pchVersion)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(_this->linux_side, nAppIdServed, unServerFlags, cPlayers, cPlayersMax, cBotPlayers, unGamePort, pchServerName, pchGameDir, pchMapName, pchVersion);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateStatus, 24)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus(winISteamGameServer_SteamGameServer002 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pchMapName)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSUpdateStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pchMapName);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_BSecure, 4)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_BSecure(winISteamGameServer_SteamGameServer002 *_this)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_BSecure(_this->linux_side);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GetSteamID, 8)
|
||||
CSteamID *__thiscall winISteamGameServer_SteamGameServer002_GetSteamID(winISteamGameServer_SteamGameServer002 *_this, CSteamID *_r)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
*_r = cppISteamGameServer_SteamGameServer002_GetSteamID(_this->linux_side);
|
||||
return _r;
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetServerType, 28)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType(winISteamGameServer_SteamGameServer002 *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint32 unGamePort, const char * pchGameDir, const char * pchVersion)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSSetServerType(_this->linux_side, nGameAppId, unServerFlags, unGameIP, unGamePort, pchGameDir, pchVersion);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetServerType2, 31)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType2(winISteamGameServer_SteamGameServer002 *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSSetServerType2(_this->linux_side, nGameAppId, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateStatus2, 28)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus2(winISteamGameServer_SteamGameServer002 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSUpdateStatus2(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser, 8)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(winISteamGameServer_SteamGameServer002 *_this, CSteamID * pSteamID)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(_this->linux_side, pSteamID);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetUserData, 20)
|
||||
bool __thiscall winISteamGameServer_SteamGameServer002_GSSetUserData(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, const char * pPlayerName, uint32 nFrags)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamGameServer_SteamGameServer002_GSSetUserData(_this->linux_side, steamID, pPlayerName, nFrags);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort, 6)
|
||||
void __thiscall winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(winISteamGameServer_SteamGameServer002 *_this, uint16 unSpectatorPort)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(_this->linux_side, unSpectatorPort);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetGameType, 8)
|
||||
void __thiscall winISteamGameServer_SteamGameServer002_GSSetGameType(winISteamGameServer_SteamGameServer002 *_this, const char * pchType)
|
||||
{
|
||||
TRACE("%p\n", _this);
|
||||
cppISteamGameServer_SteamGameServer002_GSSetGameType(_this->linux_side, pchType);
|
||||
}
|
||||
|
||||
extern vtable_ptr winISteamGameServer_SteamGameServer002_vtable;
|
||||
|
||||
#ifndef __GNUC__
|
||||
void __asm_dummy_vtables(void) {
|
||||
#endif
|
||||
__ASM_VTABLE(winISteamGameServer_SteamGameServer002,
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOn)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOff)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_BLoggedOn)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetSpawnCount)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSRemoveUserConnect)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendUserDisconnect)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateStatus)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_BSecure)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GetSteamID)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetServerType)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetServerType2)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateStatus2)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetUserData)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort)
|
||||
VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetGameType)
|
||||
);
|
||||
#ifndef __GNUC__
|
||||
}
|
||||
#endif
|
||||
|
||||
winISteamGameServer_SteamGameServer002 *create_winISteamGameServer_SteamGameServer002(void *linux_side)
|
||||
{
|
||||
winISteamGameServer_SteamGameServer002 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamGameServer_SteamGameServer002));
|
||||
TRACE("-> %p\n", r);
|
||||
r->vtable = &winISteamGameServer_SteamGameServer002_vtable;
|
||||
r->linux_side = linux_side;
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue