CvPreGame::artStyle(PlayerTypes)
- Defined in
- CvPreGame.cpp, line 665
- Hook name
CivHooks::CvPreGame_artStyle
Hooks
static bool BeforeCvPreGame_artStyle(PlayerTypes p, ArtStyleTypes& result);static void AfterCvPreGame_artStyle(PlayerTypes p, ArtStyleTypes& result);static ArtStyleTypes ReplaceCvPreGame_artStyle(ArtStyleTypes (*original)(PlayerTypes), PlayerTypes p);CivRegisterBefore<CivHooks::CvPreGame_artStyle>(host, &BeforeCvPreGame_artStyle);CivRegisterAfter<CivHooks::CvPreGame_artStyle>(host, &AfterCvPreGame_artStyle);CivRegisterReplace<CivHooks::CvPreGame_artStyle>(host, &ReplaceCvPreGame_artStyle);
Code
665ArtStyleTypes artStyle(PlayerTypes p)666{667 if(p >= 0 && p < MAX_PLAYERS)668 return s_artStyles[p];669 return NO_ARTSTYLE;670}
Calls
FAutoVariable::operator[]