Push strings instead of arrays to not have to deal with odd cell size calculations.
This commit is contained in:
@@ -84,7 +84,9 @@ EBeginAuthSessionResult SteamWorksGSHooks::BeginAuthSession(const void *pAuthTic
|
||||
{
|
||||
if (this->pOBAS->GetFunctionCount() != 0)
|
||||
{
|
||||
this->pOBAS->PushArray(pAuthTicket, cbAuthTicket);
|
||||
char *pszAuthTicket = reinterpret_cast<char *>(const_cast<void *>(pAuthTicket));
|
||||
|
||||
this->pOBAS->PushStringEx(pszAuthTicket, cbAuthTicket, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0);
|
||||
this->pOBAS->PushCell(cbAuthTicket);
|
||||
this->pOBAS->PushCell(steamID.GetAccountID());
|
||||
this->pOBAS->Execute(NULL);
|
||||
|
||||
Reference in New Issue
Block a user