Class NamedObjectInfo

From TrainzOnline
Revision as of 05:01, 29 December 2020 by Danny252 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


  • NamedObjectInfo is a lightweight class containing a result from an asynchronous object search. It defines only four member fields.
  • TrainUtil is located in asyncobjectsearch.gs.


Members


public GameObject objectRef A reference to the object, if it's loaded
public GameObjectID objectId The unique ID of the object
public string localisedUsername The display name for the object, in the current language
public string categoryString The category code string for the object



Related Methods


Categories

Personal tools