# str Building::GetDefenderCls(int)

[Family: Building](/imperivm/en/CKS/familias/building/)

## Exact signature

```text
str Building::GetDefenderCls(int)
```

## Description

Building::GetDefenderCls returns one of two Building strings for Outpost descendants according to selector 1 or 2.

## Parameters and return type

**Return type:** `str`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

| Position | Type |
| --- | --- |
| 1 | `int` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-e8b6085cccc47e.md)
- [JSON](/imperivm/CKS/api/entries/api-e8b6085cccc47e?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
