CheckTempMap(const wchar_t *)
- Defined in
- CvWorldBuilderMapLoader.cpp, line 1911
- Hook name
CivHooks::CheckTempMap
Hooks
static bool BeforeCheckTempMap(const wchar_t* wszFilename, bool& result);static void AfterCheckTempMap(const wchar_t* wszFilename, bool& result);static bool ReplaceCheckTempMap(bool (*original)(const wchar_t*), const wchar_t* wszFilename);CivRegisterBefore<CivHooks::CheckTempMap>(host, &BeforeCheckTempMap);CivRegisterAfter<CivHooks::CheckTempMap>(host, &AfterCheckTempMap);CivRegisterReplace<CivHooks::CheckTempMap>(host, &ReplaceCheckTempMap);
Code
1911bool CheckTempMap(const wchar_t* wszFilename)1912{1913 FAssert(wszFilename);19141915 if(wszFilename && *wszFilename)1916 {1917 return wcscmp(wszFilename, sg_wszTempMapName) == 0;1918 }19191920 return false;1921}
Calls
wcscmp