> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.UnitsDefData Class Reference

[UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) is used to create units with arbitrary combinations of dimensions.

Inheritance diagram for OpenTD.UnitsDefData:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=7a563097aebeabd7c65a0757d0037809)

## Public Member Functions

| Type | Name |
| - | - |
| | [UnitsDefData](#a58b65e7f05513b679d0ec1d1c51d92c0) () Initializes a new instance of the [UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) class. |
| | [UnitsDefData](#aefe0ec3409a702ea9300c650342e6ae5) ([UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) source) Copy constructor. |
| bool | [Equals](#aeb54bf696f5bd6473e48a178bfa3ee96) ([UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) x) |
| override bool | [Equals](#a00bfa3806bcea15194e62ca708f9edaa) (object obj) |
| override int | [GetHashCode](#a934e4a6017fc05a5a32015e6d1b31a6c) () |

## Static Public Member Functions

| Type | Name |
| - | - |
| static bool | [operator==](#a19461b6157ac819f52602689d922de3b) ([UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) x1, [UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) x2) |
| static bool | [operator!=](#a85da093d5645cc562caeef1c9b978312) ([UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) x1, [UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) x2) |

## Properties

| Type | Name |
| - | - |
| List\< bool > | [numer](#a4d554babfec6f25e7698f52aa0daaa2c)`[get, set]` |
| List\< int > | [multiUnitsUnits](#a30c7d8d49393d4d3e0753df0b293a6a8)`[get, set]` |
| List\< int > | [multiUnitsTypes](#a3f6e20b88f78a731c8e7667e8aa719d0)`[get, set]` |

## Detailed Description

[UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) is used to create units with arbitrary combinations of dimensions.

## Constructor & Destructor Documentation

### UnitsDefData() \[1/2]

```csharp theme={null}
OpenTD.UnitsDefData.UnitsDefData()
```

`inline`

Initializes a new instance of the [UnitsDefData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_def_data.md) class.

### UnitsDefData() \[2/2]

```csharp theme={null}
OpenTD.UnitsDefData.UnitsDefData(UnitsDefData source)
```

`inline`

Copy constructor.

## Member Function Documentation

### Equals() \[1/2]

```csharp theme={null}
override bool OpenTD.UnitsDefData.Equals(object obj)
```

`inline`

### Equals() \[2/2]

```csharp theme={null}
bool OpenTD.UnitsDefData.Equals(UnitsDefData x)
```

`inline`

### GetHashCode()

```csharp theme={null}
override int OpenTD.UnitsDefData.GetHashCode()
```

`inline`

### operator!=()

```csharp theme={null}
static bool OpenTD.UnitsDefData.operator!=(
    UnitsDefData x1,
    UnitsDefData x2
)
```

`inline` `static`

### operator==()

```csharp theme={null}
static bool OpenTD.UnitsDefData.operator==(
    UnitsDefData x1,
    UnitsDefData x2
)
```

`inline` `static`

## Property Documentation

### multiUnitsTypes

```csharp theme={null}
List<int> OpenTD.UnitsDefData.multiUnitsTypes
```

`get` `set`

### multiUnitsUnits

```csharp theme={null}
List<int> OpenTD.UnitsDefData.multiUnitsUnits
```

`get` `set`

### numer

```csharp theme={null}
List<bool> OpenTD.UnitsDefData.numer
```

`get` `set`

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**UnitsDefData.cs**
