Bazaar developer reference

CvPreGame::setArtStyle(PlayerTypes, ArtStyleTypes)

Defined in
CvPreGame.cpp, line 2281
Hook name
CivHooks::CvPreGame_setArtStyle

Hooks

static bool BeforeCvPreGame_setArtStyle(PlayerTypes p, ArtStyleTypes a);static void AfterCvPreGame_setArtStyle(PlayerTypes p, ArtStyleTypes a);static void ReplaceCvPreGame_setArtStyle(void (*original)(PlayerTypes, ArtStyleTypes), PlayerTypes p, ArtStyleTypes a);CivRegisterBefore<CivHooks::CvPreGame_setArtStyle>(host, &BeforeCvPreGame_setArtStyle);CivRegisterAfter<CivHooks::CvPreGame_setArtStyle>(host, &AfterCvPreGame_setArtStyle);CivRegisterReplace<CivHooks::CvPreGame_setArtStyle>(host, &ReplaceCvPreGame_setArtStyle);

Code

2281void setArtStyle(PlayerTypes p, ArtStyleTypes a)2282{2283	if(p >= 0 && p < MAX_PLAYERS)2284		s_artStyles.setAt(p, a);2285}

Calls

Called by