    

 ## On this page

  

 

 # OpenTD.Domains Class Reference

 Last update: 16.07.2025 

Use to get all domains within a TD instance. [More...](#details)

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [Domains](#a83fb26112fb03ea64168eebd62f05445) ()  [Domains](#a5882c4e48d619c3630ac5baa95b329be) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) tdInstance) Creates dictionaries for each type of domain. [Domains](class_open_t_d_1_1_domains.xhtml "Use to get all domains within a TD instance.") in master drawing will create dictionary where key=domain name, value=list of connections in domain [Domains](class_open_t_d_1_1_domains.xhtml "Use to get all domains within a TD instance.") in XREF drawing will create dictionary where key=database name (name of XREF), value=list of domains Does not determine connections for domains in XREF drawings.   
 void [UpdateFromTD](#a38a1549e91ea718dd4862de0a322b2bb) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) tdInstance) Updates the client-side instance with the latest data from the TD entity.   
 void [UpdateFromTD](#a3325772bf63d9512a69793c2659ca36f) () Updates the client-side instance with the latest data from the TD entity.   
 List&lt; string &gt; [GetNames](#a77e8fd71d5cb7dc02dafea3785bdccca) () Returns all domain names. Call [UpdateFromTD()](#a3325772bf63d9512a69793c2659ca36f "Updates the client-side instance with the latest data from the TD entity.") first to synchronize with the TD instance.   
 ## <a id="properties" name="properties"></a>Properties

Dictionary&lt; string, List&lt; [Connection](class_open_t_d_1_1_connection.xhtml) &gt; &gt; [EdgeDomains](#a32d3b5f2df78c88b1cd2539eac5a5235)` [get, set]` Key = Name of domain Value = list of connections in domain.   
 Dictionary&lt; string, List&lt; [Connection](class_open_t_d_1_1_connection.xhtml) &gt; &gt; [LumpDomains](#abac2e3ca668a0dfe3315f38e30ef44db)` [get, set]` Key = Name of domain Value = list of connections in domain.   
 Dictionary&lt; string, List&lt; [Connection](class_open_t_d_1_1_connection.xhtml) &gt; &gt; [NodeDomains](#af2a8c0c7086e518c4c36de9783b2d32f)` [get, set]` Key = Name of domain Value = list of connections in domain.   
 Dictionary&lt; string, List&lt; [Connection](class_open_t_d_1_1_connection.xhtml) &gt; &gt; [PathDomains](#a23be57f40db508546d7d1f4501a5b9f2)` [get, set]` Key = Name of domain Value = list of connections in domain.   
 Dictionary&lt; string, List&lt; [Connection](class_open_t_d_1_1_connection.xhtml) &gt; &gt; [SolidDomains](#a258c81d040fd173573117e7e83984966)` [get, set]` Key = Name of domain Value = list of connections in domain.   
 Dictionary&lt; string, List&lt; [Connection](class_open_t_d_1_1_connection.xhtml) &gt; &gt; [SurfaceDomains](#a6018f90fbc548bcacf615105f0e6f175)` [get, set]` Key = Name of domain Value = list of connections in domain.   
 Dictionary&lt; string, List&lt; string &gt; &gt; [EdgeDomainsXREF](#ad48ff9b959b08b735769a8ebc0f938f2)` [get, set]` Key = Name of XREF Value = list of domain names in XREF.   
 Dictionary&lt; string, List&lt; string &gt; &gt; [LumpDomainsXREF](#a05d348e898912f66eb30cbed53cfcac4)` [get, set]` Key = Name of XREF Value = list of domain names in XREF.   
 Dictionary&lt; string, List&lt; string &gt; &gt; [NodeDomainsXREF](#af9172faf0416dbe0b3986f6de022abb6)` [get, set]` Key = Name of XREF Value = list of domain names in XREF.   
 Dictionary&lt; string, List&lt; string &gt; &gt; [PathDomainsXREF](#aeb90e8c4ee7ad35b25adb6075c7c7595)` [get, set]` Key = Name of XREF Value = list of domain names in XREF.   
 Dictionary&lt; string, List&lt; string &gt; &gt; [SolidDomainsXREF](#abe56bd487ba1cbbdf65a9a22c336e51c)` [get, set]` Key = Name of XREF Value = list of domain names in XREF.   
 Dictionary&lt; string, List&lt; string &gt; &gt; [SurfaceDomainsXREF](#a5f28726c89b76f421be533a29e239653)` [get, set]` Key = Name of XREF Value = list of domain names in XREF.   
 [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) [TD](#a1aca7b34d10247e88c42c1646d9c7281)` [get, set]` <a id="details" name="details"></a>## Detailed Description

Use to get all domains within a TD instance.



## Constructor &amp; Destructor Documentation

<a id="a83fb26112fb03ea64168eebd62f05445" name="a83fb26112fb03ea64168eebd62f05445"></a>## [◆ ](#a83fb26112fb03ea64168eebd62f05445)Domains() \[1/2\]

 OpenTD.Domains.Domains  ( )   inline 





<a id="a5882c4e48d619c3630ac5baa95b329be" name="a5882c4e48d619c3630ac5baa95b329be"></a>## [◆ ](#a5882c4e48d619c3630ac5baa95b329be)Domains() \[2/2\]

 OpenTD.Domains.Domains  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *tdInstance*)   inline 

Creates dictionaries for each type of domain. [Domains](class_open_t_d_1_1_domains.xhtml "Use to get all domains within a TD instance.") in master drawing will create dictionary where key=domain name, value=list of connections in domain [Domains](class_open_t_d_1_1_domains.xhtml "Use to get all domains within a TD instance.") in XREF drawing will create dictionary where key=database name (name of XREF), value=list of domains Does not determine connections for domains in XREF drawings.

Parameters tdInstance



## Member Function Documentation

<a id="a77e8fd71d5cb7dc02dafea3785bdccca" name="a77e8fd71d5cb7dc02dafea3785bdccca"></a>## [◆ ](#a77e8fd71d5cb7dc02dafea3785bdccca)GetNames()

 List&lt; string &gt; OpenTD.Domains.GetNames  ( )   inline 

Returns all domain names. Call [UpdateFromTD()](#a3325772bf63d9512a69793c2659ca36f "Updates the client-side instance with the latest data from the TD entity.") first to synchronize with the TD instance.

ReturnsList&lt;System.String&gt;.See also[OpenTD.Domains.UpdateFromTD()](#a3325772bf63d9512a69793c2659ca36f "Updates the client-side instance with the latest data from the TD entity."), [OpenTD.Domains.UpdateFromTD(ThermalDesktop)](#a38a1549e91ea718dd4862de0a322b2bb "Updates the client-side instance with the latest data from the TD entity.")



<a id="a3325772bf63d9512a69793c2659ca36f" name="a3325772bf63d9512a69793c2659ca36f"></a>## [◆ ](#a3325772bf63d9512a69793c2659ca36f)UpdateFromTD() \[1/2\]

 void OpenTD.Domains.UpdateFromTD  ( )   inline 

Updates the client-side instance with the latest data from the TD entity.





<a id="a38a1549e91ea718dd4862de0a322b2bb" name="a38a1549e91ea718dd4862de0a322b2bb"></a>## [◆ ](#a38a1549e91ea718dd4862de0a322b2bb)UpdateFromTD() \[2/2\]

 void OpenTD.Domains.UpdateFromTD  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *tdInstance*)   inline 

Updates the client-side instance with the latest data from the TD entity.





## Property Documentation

<a id="a32d3b5f2df78c88b1cd2539eac5a5235" name="a32d3b5f2df78c88b1cd2539eac5a5235"></a>## [◆ ](#a32d3b5f2df78c88b1cd2539eac5a5235)EdgeDomains

 Dictionary&lt;string, List&lt;[Connection](class_open_t_d_1_1_connection.xhtml)&gt; &gt; OpenTD.Domains.EdgeDomains  getset 

Key = Name of domain Value = list of connections in domain.





<a id="ad48ff9b959b08b735769a8ebc0f938f2" name="ad48ff9b959b08b735769a8ebc0f938f2"></a>## [◆ ](#ad48ff9b959b08b735769a8ebc0f938f2)EdgeDomainsXREF

 Dictionary&lt;string, List&lt;string&gt; &gt; OpenTD.Domains.EdgeDomainsXREF  getset 

Key = Name of XREF Value = list of domain names in XREF.





<a id="abac2e3ca668a0dfe3315f38e30ef44db" name="abac2e3ca668a0dfe3315f38e30ef44db"></a>## [◆ ](#abac2e3ca668a0dfe3315f38e30ef44db)LumpDomains

 Dictionary&lt;string, List&lt;[Connection](class_open_t_d_1_1_connection.xhtml)&gt; &gt; OpenTD.Domains.LumpDomains  getset 

Key = Name of domain Value = list of connections in domain.





<a id="a05d348e898912f66eb30cbed53cfcac4" name="a05d348e898912f66eb30cbed53cfcac4"></a>## [◆ ](#a05d348e898912f66eb30cbed53cfcac4)LumpDomainsXREF

 Dictionary&lt;string, List&lt;string&gt; &gt; OpenTD.Domains.LumpDomainsXREF  getset 

Key = Name of XREF Value = list of domain names in XREF.





<a id="af2a8c0c7086e518c4c36de9783b2d32f" name="af2a8c0c7086e518c4c36de9783b2d32f"></a>## [◆ ](#af2a8c0c7086e518c4c36de9783b2d32f)NodeDomains

 Dictionary&lt;string, List&lt;[Connection](class_open_t_d_1_1_connection.xhtml)&gt; &gt; OpenTD.Domains.NodeDomains  getset 

Key = Name of domain Value = list of connections in domain.





<a id="af9172faf0416dbe0b3986f6de022abb6" name="af9172faf0416dbe0b3986f6de022abb6"></a>## [◆ ](#af9172faf0416dbe0b3986f6de022abb6)NodeDomainsXREF

 Dictionary&lt;string, List&lt;string&gt; &gt; OpenTD.Domains.NodeDomainsXREF  getset 

Key = Name of XREF Value = list of domain names in XREF.





<a id="a23be57f40db508546d7d1f4501a5b9f2" name="a23be57f40db508546d7d1f4501a5b9f2"></a>## [◆ ](#a23be57f40db508546d7d1f4501a5b9f2)PathDomains

 Dictionary&lt;string, List&lt;[Connection](class_open_t_d_1_1_connection.xhtml)&gt; &gt; OpenTD.Domains.PathDomains  getset 

Key = Name of domain Value = list of connections in domain.





<a id="aeb90e8c4ee7ad35b25adb6075c7c7595" name="aeb90e8c4ee7ad35b25adb6075c7c7595"></a>## [◆ ](#aeb90e8c4ee7ad35b25adb6075c7c7595)PathDomainsXREF

 Dictionary&lt;string, List&lt;string&gt; &gt; OpenTD.Domains.PathDomainsXREF  getset 

Key = Name of XREF Value = list of domain names in XREF.





<a id="a258c81d040fd173573117e7e83984966" name="a258c81d040fd173573117e7e83984966"></a>## [◆ ](#a258c81d040fd173573117e7e83984966)SolidDomains

 Dictionary&lt;string, List&lt;[Connection](class_open_t_d_1_1_connection.xhtml)&gt; &gt; OpenTD.Domains.SolidDomains  getset 

Key = Name of domain Value = list of connections in domain.





<a id="abe56bd487ba1cbbdf65a9a22c336e51c" name="abe56bd487ba1cbbdf65a9a22c336e51c"></a>## [◆ ](#abe56bd487ba1cbbdf65a9a22c336e51c)SolidDomainsXREF

 Dictionary&lt;string, List&lt;string&gt; &gt; OpenTD.Domains.SolidDomainsXREF  getset 

Key = Name of XREF Value = list of domain names in XREF.





<a id="a6018f90fbc548bcacf615105f0e6f175" name="a6018f90fbc548bcacf615105f0e6f175"></a>## [◆ ](#a6018f90fbc548bcacf615105f0e6f175)SurfaceDomains

 Dictionary&lt;string, List&lt;[Connection](class_open_t_d_1_1_connection.xhtml)&gt; &gt; OpenTD.Domains.SurfaceDomains  getset 

Key = Name of domain Value = list of connections in domain.





<a id="a5f28726c89b76f421be533a29e239653" name="a5f28726c89b76f421be533a29e239653"></a>## [◆ ](#a5f28726c89b76f421be533a29e239653)SurfaceDomainsXREF

 Dictionary&lt;string, List&lt;string&gt; &gt; OpenTD.Domains.SurfaceDomainsXREF  getset 

Key = Name of XREF Value = list of domain names in XREF.





<a id="a1aca7b34d10247e88c42c1646d9c7281" name="a1aca7b34d10247e88c42c1646d9c7281"></a>## [◆ ](#a1aca7b34d10247e88c42c1646d9c7281)TD

 [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) OpenTD.Domains.TD  getset 





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**Domains.cs**