diff --git a/gsnatives.cpp b/gsnatives.cpp index 90a7290..24f960a 100644 --- a/gsnatives.cpp +++ b/gsnatives.cpp @@ -151,15 +151,15 @@ static cell_t sm_ForceHeartbeat(IPluginContext *pContext, const cell_t *params) } static sp_nativeinfo_t gsnatives[] = { - {"Steam_IsVACEnabled", sm_IsVACEnabled}, - {"Steam_GetPublicIP", sm_GetPublicIP}, - {"Steam_GetPublicIPCell", sm_GetPublicIPCell}, - {"Steam_IsLoaded", sm_IsLoaded}, - {"Steam_SetGameDescription", sm_SetGameDescription}, - {"Steam_IsConnected", sm_IsConnected}, - {"Steam_SetRule", sm_SetRule}, - {"Steam_ClearRules", sm_ClearRules}, - {"Steam_ForceHeartbeat", sm_ForceHeartbeat}, + {"SteamWorks_IsVACEnabled", sm_IsVACEnabled}, + {"SteamWorks_GetPublicIP", sm_GetPublicIP}, + {"SteamWorks_GetPublicIPCell", sm_GetPublicIPCell}, + {"SteamWorks_IsLoaded", sm_IsLoaded}, + {"SteamWorks_SetGameDescription", sm_SetGameDescription}, + {"SteamWorks_IsConnected", sm_IsConnected}, + {"SteamWorks_SetRule", sm_SetRule}, + {"SteamWorks_ClearRules", sm_ClearRules}, + {"SteamWorks_ForceHeartbeat", sm_ForceHeartbeat}, {NULL, NULL} }; diff --git a/swforwards.cpp b/swforwards.cpp index 3d73ec1..5f732ac 100644 --- a/swforwards.cpp +++ b/swforwards.cpp @@ -27,9 +27,9 @@ SteamWorksForwards::SteamWorksForwards() : m_CallbackSteamDisconnected(this, &SteamWorksForwards::OnSteamServersDisconnected) { this->pFOVC = forwards->CreateForward("SW_OnValidateClient", ET_Ignore, 2, NULL, Param_Cell, Param_Cell); - this->pFOSSC = forwards->CreateForward("Steam_SteamServersConnected", ET_Ignore, 0, NULL); - this->pFOSSCF = forwards->CreateForward("Steam_SteamServersConnectFailure", ET_Ignore, 1, NULL, Param_Cell); - this->pFOSSD = forwards->CreateForward("Steam_SteamServersDisconnected", ET_Ignore, 1, NULL, Param_Cell); + this->pFOSSC = forwards->CreateForward("SteamWorks_SteamServersConnected", ET_Ignore, 0, NULL); + this->pFOSSCF = forwards->CreateForward("SteamWorks_SteamServersConnectFailure", ET_Ignore, 1, NULL, Param_Cell); + this->pFOSSD = forwards->CreateForward("SteamWorks_SteamServersDisconnected", ET_Ignore, 1, NULL, Param_Cell); } SteamWorksForwards::~SteamWorksForwards()