Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.Results.Dataset.AutoNamer Class Reference

Last update: 16.07.2025

<exclude > More...

Inheritance diagram for OpenTD.Results.Dataset.AutoNamer:
OpenTD.Results.Dataset.IAutoName

Public Member Functions

 AutoNamer (Func< string > selfSuggestedName)
 
 AutoNamer ()
 
override string ToString ()
 

Properties

string Name [get, set]
 If set directly, overrides all suggested names. If left unset, will default to the InternalSuggestedName (if available) or the SelfSuggestedName (if available).
 
string InternalSuggestedName [get, set]
 A name for the containing item suggested by OpenTD.
 
Func< string > SelfSuggestedName [get, set]
 A name for the containing item suggested by the item itself.
 

Detailed Description

<exclude >

Constructor & Destructor Documentation

◆ AutoNamer() [1/2]

OpenTD.Results.Dataset.AutoNamer.AutoNamer ( Func< string > selfSuggestedName)
inline

◆ AutoNamer() [2/2]

OpenTD.Results.Dataset.AutoNamer.AutoNamer ( )
inline

Member Function Documentation

◆ ToString()

override string OpenTD.Results.Dataset.AutoNamer.ToString ( )
inline

Property Documentation

◆ InternalSuggestedName

string OpenTD.Results.Dataset.AutoNamer.InternalSuggestedName
getset

A name for the containing item suggested by OpenTD.

Implements OpenTD.Results.Dataset.IAutoName.

◆ Name

string OpenTD.Results.Dataset.AutoNamer.Name
getset

If set directly, overrides all suggested names. If left unset, will default to the InternalSuggestedName (if available) or the SelfSuggestedName (if available).

Implements OpenTD.Results.Dataset.IAutoName.

◆ SelfSuggestedName

Func<string> OpenTD.Results.Dataset.AutoNamer.SelfSuggestedName
getset

A name for the containing item suggested by the item itself.


The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD.Results/Dataset/AutoNamer.cs

Connect with Ansys