Check config class name of the object.
См. определение в файле Object.c строка 514
515 {
517 }
bool ObjectIsKindOf(Object object, string cfg_parent_name)
Returns is object inherited from parent class name.
proto native CGame GetGame()
Перекрестные ссылки GetGame() и CGame::ObjectIsKindOf().