| 493 | } |
| 494 | |
| 495 | void Object::GetDisplayName(char *buf, int buf_size) { |
| 496 | if (GetName().empty()) { |
| 497 | FormatString(buf, buf_size, "%d, Object from %s", GetID(), CStringFromEntityType(GetType())); |
| 498 | } else { |
| 499 | FormatString(buf, buf_size, "%s, Object from %s", GetName().c_str(), CStringFromEntityType(GetType())); |
| 500 | } |
| 501 | } |
| 502 | |
| 503 | int Object::GetGroupDepth() { |
| 504 | if (parent == NULL) { |
nothing calls this directly
no test coverage detected