Bazaar developer reference

operator>>(FDataStream &, DiploLogData &)

Defined in
CvDiplomacyAI.cpp, line 28408
Hook name
CivHooks::op_shr_with_FDataStream_DiploLogData

Hooks

static bool Beforeop_shr_with_FDataStream_DiploLogData(FDataStream& loadFrom, DiploLogData& writeTo, FDataStream*& result);static void Afterop_shr_with_FDataStream_DiploLogData(FDataStream& loadFrom, DiploLogData& writeTo, FDataStream*& result);static FDataStream& Replaceop_shr_with_FDataStream_DiploLogData(FDataStream& (*original)(FDataStream&, DiploLogData&), FDataStream& loadFrom, DiploLogData& writeTo);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::op_shr_with_FDataStream_DiploLogData::ID, CIV_HOOK_BEFORE, (void*)&Beforeop_shr_with_FDataStream_DiploLogData);host->RegisterHook(host->pluginIndex, CivHooks::op_shr_with_FDataStream_DiploLogData::ID, CIV_HOOK_AFTER, (void*)&Afterop_shr_with_FDataStream_DiploLogData);host->RegisterHook(host->pluginIndex, CivHooks::op_shr_with_FDataStream_DiploLogData::ID, CIV_HOOK_REPLACE, (void*)&Replaceop_shr_with_FDataStream_DiploLogData);

Code

28408FDataStream& operator>>(FDataStream& loadFrom, DiploLogData& writeTo)28409{28410	loadFrom >> writeTo.m_eDiploLogStatement;28411	loadFrom >> writeTo.m_iTurn;28412	return loadFrom;28413}

Calls