Browse Source

Fix CCR Petition Stub

Adam Johnson 10 years ago
parent
commit
9f88e3de2e
  1. 6
      Sources/Plasma/PubUtilLib/plNetClient/plNetClientMgrSend.cpp
  2. 2
      Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp
  3. 2
      Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.h

6
Sources/Plasma/PubUtilLib/plNetClient/plNetClientMgrSend.cpp

@ -170,10 +170,8 @@ void plNetClientMgr::ISendCCRPetition(plCCRPetitionMsg* petMsg)
std::string buf;
buf.resize( size );
ram.CopyToMem( (void*)buf.data() );
wchar_t * wStr = StrDupToUnicode(buf.c_str());
NetCliAuthSendCCRPetition(wStr);
free(wStr);
NetCliAuthSendCCRPetition(buf.c_str());
}
//

2
Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp

@ -5762,7 +5762,7 @@ void NetCliAuthSetRecvBufferHandler (
//============================================================================
void NetCliAuthSendCCRPetition (
const wchar_t * petitionText
const plString& petitionText
) {
hsAssert(false, "eric, implement me.");
}

2
Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.h

@ -575,7 +575,7 @@ void NetCliAuthChangePlayerNameRequest (
// CCRPetition
//============================================================================
void NetCliAuthSendCCRPetition (
const wchar_t * petitionText
const plString& petitionText
);
//============================================================================

Loading…
Cancel
Save