mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 16:24:31 +01:00
lsteamclient: Use declspec to generate C++ method signature.
CW-Bug-Id: #22729
This commit is contained in:
parent
27736adb76
commit
da3bf9b709
192 changed files with 2659 additions and 2666 deletions
|
|
@ -37,7 +37,7 @@ CSteamID cppISteamGameServer_SteamGameServer010_GetSteamID(void *linux_side)
|
|||
return ((ISteamGameServer*)linux_side)->GetSteamID();
|
||||
}
|
||||
|
||||
bool cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser)
|
||||
bool cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser)
|
||||
{
|
||||
return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser);
|
||||
}
|
||||
|
|
@ -52,17 +52,17 @@ void cppISteamGameServer_SteamGameServer010_SendUserDisconnect(void *linux_side,
|
|||
((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser);
|
||||
}
|
||||
|
||||
bool cppISteamGameServer_SteamGameServer010_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore)
|
||||
bool cppISteamGameServer_SteamGameServer010_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore)
|
||||
{
|
||||
return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore);
|
||||
}
|
||||
|
||||
bool cppISteamGameServer_SteamGameServer010_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode)
|
||||
bool cppISteamGameServer_SteamGameServer010_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char *pchGameDir, const char *pchVersion, bool bLANMode)
|
||||
{
|
||||
return ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode);
|
||||
}
|
||||
|
||||
void cppISteamGameServer_SteamGameServer010_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName)
|
||||
void cppISteamGameServer_SteamGameServer010_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName)
|
||||
{
|
||||
((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName);
|
||||
}
|
||||
|
|
@ -72,7 +72,7 @@ void cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort(void *linux_side
|
|||
((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort);
|
||||
}
|
||||
|
||||
void cppISteamGameServer_SteamGameServer010_SetGameTags(void *linux_side, const char * pchGameTags)
|
||||
void cppISteamGameServer_SteamGameServer010_SetGameTags(void *linux_side, const char *pchGameTags)
|
||||
{
|
||||
((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags);
|
||||
}
|
||||
|
|
@ -97,7 +97,7 @@ uint32 cppISteamGameServer_SteamGameServer010_GetPublicIP(void *linux_side)
|
|||
return ((ISteamGameServer*)linux_side)->GetPublicIP();
|
||||
}
|
||||
|
||||
void cppISteamGameServer_SteamGameServer010_SetGameData(void *linux_side, const char * pchGameData)
|
||||
void cppISteamGameServer_SteamGameServer010_SetGameData(void *linux_side, const char *pchGameData)
|
||||
{
|
||||
((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData);
|
||||
}
|
||||
|
|
@ -107,12 +107,12 @@ EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer010_UserHasLicens
|
|||
return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID);
|
||||
}
|
||||
|
||||
HAuthTicket cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket)
|
||||
HAuthTicket cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(void *linux_side, void *pTicket, int cbMaxTicket, uint32 *pcbTicket)
|
||||
{
|
||||
return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket);
|
||||
}
|
||||
|
||||
EBeginAuthSessionResult cppISteamGameServer_SteamGameServer010_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID)
|
||||
EBeginAuthSessionResult cppISteamGameServer_SteamGameServer010_BeginAuthSession(void *linux_side, const void *pAuthTicket, int cbAuthTicket, CSteamID steamID)
|
||||
{
|
||||
return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue