From 3da8a5d831d42659878607c911c133a67535f289 Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Sat, 5 Mar 2016 17:31:09 -0800 Subject: [PATCH] Make GC Forward names consistent (breaks stable ABI, feature still super new). --- Extension/swgchooks.cpp | 2 +- Pawn/includes/SteamWorks.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/swgchooks.cpp b/Extension/swgchooks.cpp index b156d13..2091a36 100644 --- a/Extension/swgchooks.cpp +++ b/Extension/swgchooks.cpp @@ -39,7 +39,7 @@ SteamWorksGCHooks::SteamWorksGCHooks() this->uHooked = eHooking; this->pGCSendMsg = forwards->CreateForward("SteamWorks_GCSendMessage", ET_Event, 3, NULL, Param_Cell, Param_String, Param_Cell); this->pGCMsgAvail = forwards->CreateForward("SteamWorks_GCMsgAvailable", ET_Ignore, 1, NULL, Param_Cell); - this->pGCRetMsg = forwards->CreateForward("SteamWorks_RetreiveMessage", ET_Event, 5, NULL, Param_Cell, Param_Cell, Param_String, Param_Cell, Param_Cell); + this->pGCRetMsg = forwards->CreateForward("SteamWorks_GCRetreiveMessage", ET_Event, 5, NULL, Param_Cell, Param_Cell, Param_String, Param_Cell, Param_Cell); smutils->AddGameFrameHook(OurGCGameFrameHook); } diff --git a/Pawn/includes/SteamWorks.inc b/Pawn/includes/SteamWorks.inc index 3420d30..738d0ff 100644 --- a/Pawn/includes/SteamWorks.inc +++ b/Pawn/includes/SteamWorks.inc @@ -297,7 +297,7 @@ forward SteamWorks_OnClientGroupStatus(authid, groupid, bool:isMember, bool:isOf forward EGCResults:SteamWorks_GCSendMessage(unMsgType, const String:pubData[], cubData); forward SteamWorks_GCMsgAvailable(cubData); -forward EGCResults:SteamWorks_RetreiveMessage(punMsgType, const String:pubDest[], cubDest, pcubMsgSize); +forward EGCResults:SteamWorks_GCRetreiveMessage(punMsgType, const String:pubDest[], cubDest, pcubMsgSize); public Extension:__ext_SteamWorks = {