OpenTD.Utility.RootedPathname Struct Reference
Last update: 16.07.2025An absolute pathname. More...
Public Member Functions | |
| RootedPathname (string pathname) | |
| Initializes a new instance of the RootedPathname struct, starting with a relative or absolute pathname as input. | |
| string | ToLower () |
| string | GetFileName () |
| Returns the filename and extension of the path. | |
| override string | ToString () |
Static Public Member Functions | |
| static implicit | operator RootedPathname (string x) |
| static implicit | operator string (RootedPathname x) |
Detailed Description
An absolute pathname.
Constructor & Destructor Documentation
◆ RootedPathname()
|
inline |
Initializes a new instance of the RootedPathname struct, starting with a relative or absolute pathname as input.
- Parameters
-
pathname A relative or absolute pathname.
Member Function Documentation
◆ GetFileName()
|
inline |
Returns the filename and extension of the path.
- Returns
◆ operator RootedPathname()
|
inlinestatic |
◆ operator string()
|
inlinestatic |
◆ ToLower()
|
inline |
◆ ToString()
|
inline |
The documentation for this struct was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/Utility/RootedPathname.cs