MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / IdtfGoodName

Method IdtfGoodName

engine/Evaluator/express.cpp:2800–2814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2798}
2799
2800bool GameState::IdtfGoodName(const char* name) const
2801{
2802 if (!isalphaext(*name))
2803 {
2804 return false;
2805 }
2806 for (const char* n = name; *n; n++)
2807 {
2808 if (!isalnumext(*n))
2809 {
2810 return false;
2811 }
2812 }
2813 return VarGoodName(name);
2814}
2815
2816bool GameState::LValueGoodName(const char* name) const
2817{

Callers 2

CanDestroyMethod · 0.80

Calls 2

isalphaextFunction · 0.85
isalnumextFunction · 0.85

Tested by

no test coverage detected