OpenTD.Connection Class Reference
Last update: 16.07.2025A connection contains a handle and a marker. The handle uniquely identifies a TD entity while the marker specifies how to connect to the entity, e.g., which side of a surface to connect to. More...
Public Member Functions | |
| Connection (string _Handle, int _Marker) | |
| Connection () | |
| Initializes a new instance of the Connection class. | |
| Connection (string _Handle) | |
| Initializes a new instance of the Connection class. | |
| Connection (DbObject x) | |
| Initializes a new instance of the Connection class. | |
| Connection (DbObject x, int _Marker) | |
| Initializes a new instance of the Connection class. | |
| bool | IsEmpty () |
| bool | IsDomainName () |
| void | SetDomainName (string domainName) |
| string | GetDomainName () |
| override string | ToString () |
Static Public Member Functions | |
| static implicit | operator Connection (string handle) |
| static implicit | operator Connection (DbObject x) |
| static implicit | operator List< Connection > (Connection x) |
| Implicitly converts a single element into a one-element list. | |
Static Public Attributes | |
| static readonly Connection | Empty = new Connection("") |
Properties | |
| string | Handle [get, set] |
| int | Marker [get, set] |
Detailed Description
A connection contains a handle and a marker. The handle uniquely identifies a TD entity while the marker specifies how to connect to the entity, e.g., which side of a surface to connect to.
Constructor & Destructor Documentation
◆ Connection() [1/5]
|
inline |
◆ Connection() [2/5]
|
inline |
Initializes a new instance of the Connection class.
◆ Connection() [3/5]
|
inline |
Initializes a new instance of the Connection class.
- Parameters
-
_Handle AutoCAD handle.
◆ Connection() [4/5]
|
inline |
Initializes a new instance of the Connection class.
- Parameters
-
x Gets the AutoCAD handle from this DbObject.
- See also
- OpenTD.DbObject
◆ Connection() [5/5]
|
inline |
Initializes a new instance of the Connection class.
- Parameters
-
x Gets the AutoCAD handle from this DbObject. _Marker The marker specifies how to connect to the entity.
- See also
- OpenTD.DbObject
Member Function Documentation
◆ GetDomainName()
|
inline |
◆ IsDomainName()
|
inline |
◆ IsEmpty()
|
inline |
◆ operator Connection() [1/2]
|
inlinestatic |
◆ operator Connection() [2/2]
|
inlinestatic |
◆ operator List< Connection >()
|
inlinestatic |
Implicitly converts a single element into a one-element list.
◆ SetDomainName()
|
inline |
◆ ToString()
|
inline |
Member Data Documentation
◆ Empty
|
static |
Property Documentation
◆ Handle
|
getset |
◆ Marker
|
getset |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/Connection.cs