Bazaar developer reference

CvPlayer::getScriptData() const

Defined in
CvPlayer.cpp, line 22212
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getScriptData

Hooks

static bool BeforeCvPlayer_getScriptData(const CvPlayer* self, std::string& result);static void AfterCvPlayer_getScriptData(const CvPlayer* self, std::string& result);static std::string ReplaceCvPlayer_getScriptData(std::string (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getScriptData>(host, &BeforeCvPlayer_getScriptData);CivRegisterAfter<CivHooks::CvPlayer_getScriptData>(host, &AfterCvPlayer_getScriptData);CivRegisterReplace<CivHooks::CvPlayer_getScriptData>(host, &ReplaceCvPlayer_getScriptData);

Code

22212std::string CvPlayer::getScriptData() const22213{22214	return m_strScriptData;22215}

Calls

Called by