MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / GetDefaultGameType

Method GetDefaultGameType

Code/CryEngine/CryAction/LevelSystem.cpp:849–857  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

847
848//------------------------------------------------------------------------
849const ILevelInfo::TGameTypeInfo* CLevelInfo::GetDefaultGameType() const
850{
851 if (!m_gameTypes.empty())
852 {
853 return &m_gameTypes[0];
854 }
855
856 return 0;
857};
858
859/// Used by console auto completion.
860struct SLevelNameAutoComplete : public IConsoleArgumentAutoComplete

Callers 7

ChangeLevelMethod · 0.80
LoadLevelMethod · 0.80
OnStepMethod · 0.80
OnStepMethod · 0.80
OnLoadingStartMethod · 0.80
LoadGameMethod · 0.80
LoadLevelMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected