Class NamedObjectInfo: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Danny252 (talk | contribs)
Create NamedObjectInfo
 
Danny252 (talk | contribs)
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 19:09, 28 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.


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




Categories