# void GAIKA::GetDistToPlayers(int, int&, int&, int&)

[Family: GAIKA](/imperivm/en/CKS/familias/gaika/)

## Exact signature

```text
void GAIKA::GetDistToPlayers(int, int&, int&, int&)
```

## Description

Scans town halls and reports minimum weighted distances for three diplomatic relation categories.

## Parameters and return type

**Return type:** `void`

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

| Position | Type |
| --- | --- |
| 1 | `int` |
| 2 | `int&` |
| 3 | `int&` |
| 4 | `int&` |

`&` indicates a parameter passed by reference, which can be modified.

## Read and share

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

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