mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-26 17:24:34 +01:00
lsteamclient: Use declspec to generate C++ method signature.
CW-Bug-Id: #22729
This commit is contained in:
parent
ea8aaaa4a6
commit
cdcced0ddf
192 changed files with 2659 additions and 2666 deletions
|
|
@ -22,17 +22,17 @@ void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterv
|
|||
((ISteamMasterServerUpdater*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval);
|
||||
}
|
||||
|
||||
bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort)
|
||||
bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(void *linux_side, const void *pData, int cbData, uint32 srcIP, uint16 srcPort)
|
||||
{
|
||||
return ((ISteamMasterServerUpdater*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort);
|
||||
}
|
||||
|
||||
int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort)
|
||||
int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(void *linux_side, void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort)
|
||||
{
|
||||
return ((ISteamMasterServerUpdater*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort);
|
||||
}
|
||||
|
||||
void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(void *linux_side, unsigned short nProtocolVersion, bool bDedicatedServer, const char * pRegionName, const char * pProductName, unsigned short nMaxReportedClients, bool bPasswordProtected, const char * pGameDescription)
|
||||
void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(void *linux_side, unsigned short nProtocolVersion, bool bDedicatedServer, const char *pRegionName, const char *pProductName, unsigned short nMaxReportedClients, bool bPasswordProtected, const char *pGameDescription)
|
||||
{
|
||||
((ISteamMasterServerUpdater*)linux_side)->SetBasicServerData((unsigned short)nProtocolVersion, (bool)bDedicatedServer, (const char *)pRegionName, (const char *)pProductName, (unsigned short)nMaxReportedClients, (bool)bPasswordProtected, (const char *)pGameDescription);
|
||||
}
|
||||
|
|
@ -42,7 +42,7 @@ void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(
|
|||
((ISteamMasterServerUpdater*)linux_side)->ClearAllKeyValues();
|
||||
}
|
||||
|
||||
void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(void *linux_side, const char * pKey, const char * pValue)
|
||||
void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(void *linux_side, const char *pKey, const char *pValue)
|
||||
{
|
||||
((ISteamMasterServerUpdater*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue);
|
||||
}
|
||||
|
|
@ -62,12 +62,12 @@ void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(voi
|
|||
((ISteamMasterServerUpdater*)linux_side)->ForceHeartbeat();
|
||||
}
|
||||
|
||||
bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(void *linux_side, const char * pServerAddress)
|
||||
bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(void *linux_side, const char *pServerAddress)
|
||||
{
|
||||
return ((ISteamMasterServerUpdater*)linux_side)->AddMasterServer((const char *)pServerAddress);
|
||||
}
|
||||
|
||||
bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(void *linux_side, const char * pServerAddress)
|
||||
bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(void *linux_side, const char *pServerAddress)
|
||||
{
|
||||
return ((ISteamMasterServerUpdater*)linux_side)->RemoveMasterServer((const char *)pServerAddress);
|
||||
}
|
||||
|
|
@ -77,7 +77,7 @@ int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers
|
|||
return ((ISteamMasterServerUpdater*)linux_side)->GetNumMasterServers();
|
||||
}
|
||||
|
||||
int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(void *linux_side, int iServer, char * pOut, int outBufferSize)
|
||||
int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(void *linux_side, int iServer, char *pOut, int outBufferSize)
|
||||
{
|
||||
return ((ISteamMasterServerUpdater*)linux_side)->GetMasterServerAddress((int)iServer, (char *)pOut, (int)outBufferSize);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue