DisplayName

GenericObject.DisplayName
The display name for a GenericObject and the classes which extend from it, is generally formatted as "[Class] Name (EntryID)". For the name of the object as it appears in-game such as in the tooltip when you hover over a GameObject, refer to the Name value.

Example
// Loop all game objects currently loaded and print their display name. foreach (GameObject obj in GameObjects) Print(obj.DisplayName);

// Example output: // ... // [GameObject] Bench (236066) // [GameObject] Brazier (237548) // [GameObject] Bench (236065) // [GameObject] Brazier (237550) // [GameObject] Stool (236062) // ...