Bazaar developer reference

CvPlayer::setScriptData(std::string)

Defined in
CvPlayer.cpp, line 22218
Class
CvPlayer
Hook name
CivHooks::CvPlayer_setScriptData

Hooks

static bool BeforeCvPlayer_setScriptData(CvPlayer* self, std::string strNewValue);static void AfterCvPlayer_setScriptData(CvPlayer* self, std::string strNewValue);static void ReplaceCvPlayer_setScriptData(void (*original)(CvPlayer*, std::string), CvPlayer* self, std::string strNewValue);CivRegisterBefore<CivHooks::CvPlayer_setScriptData>(host, &BeforeCvPlayer_setScriptData);CivRegisterAfter<CivHooks::CvPlayer_setScriptData>(host, &AfterCvPlayer_setScriptData);CivRegisterReplace<CivHooks::CvPlayer_setScriptData>(host, &ReplaceCvPlayer_setScriptData);

Code

22218void CvPlayer::setScriptData(std::string strNewValue)22219{22220	m_strScriptData = strNewValue;22221}

Calls

Called by