Bazaar developer reference

TempMapLoaded(const wchar_t *)

Defined in
CvWorldBuilderMapLoader.cpp, line 1923
Hook name
CivHooks::TempMapLoaded

Hooks

static bool BeforeTempMapLoaded(const wchar_t* wszFilename);static void AfterTempMapLoaded(const wchar_t* wszFilename);static void ReplaceTempMapLoaded(void (*original)(const wchar_t*), const wchar_t* wszFilename);CivRegisterBefore<CivHooks::TempMapLoaded>(host, &BeforeTempMapLoaded);CivRegisterAfter<CivHooks::TempMapLoaded>(host, &AfterTempMapLoaded);CivRegisterReplace<CivHooks::TempMapLoaded>(host, &ReplaceTempMapLoaded);

Code

1923void TempMapLoaded(const wchar_t* wszFilename)1924{1925	wcscpy_s(sg_wszTempMapName, MAX_PATH, wszFilename);1926}

Calls

Called by