MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / GetDifficultyStr

Method GetDifficultyStr

PanzerChasm/menu.cpp:556–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556const char* NetworkCreateServerMenu::GetDifficultyStr()
557{
558 switch( static_cast<DifficultyType>( 1u << difficulty_ ) )
559 {
560 case Difficulty::Easy: return "easy";
561 case Difficulty::Normal: return "normal";
562 case Difficulty::Hard: return "hard";
563 };
564 return "";
565}
566
567// PlayerSetupMenu
568

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected