Class NamedObjectInfo

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Create NamedObjectInfo)
 
m (Correct class name in text)
 
Line 4: Line 4:
  
 
*NamedObjectInfo is a lightweight class containing a result from an asynchronous object search. It defines only four member fields.
 
*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'''.
+
*NamedObjectInfo is located in '''asyncobjectsearch.gs'''.
 
<br>
 
<br>
  

Latest revision as of 05:09, 29 December 2020


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


[edit] 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



[edit] Related Methods


[edit] Categories

Personal tools