OpenTTD Source: WaterRegionPatchKey Struct Reference

OpenTTD Source 15.0-RC2

Public Member Functions | Data Fields
WaterRegionPatchKey Struct Reference

Yapf Node Key that represents a single patch of interconnected water within a water region. More...

## Public Member Functions
void | Set (const WaterRegionPatchDesc &water_region_patch)
int | CalcHash () const
bool | operator== (const WaterRegionPatchKey &other) const

## Data Fields
WaterRegionPatchDesc | water_region_patch

## Detailed Description

Yapf Node Key that represents a single patch of interconnected water within a water region.

Definition at line 27 of file yapf_ship_regions.cpp.

## Member Function Documentation

## ◆ CalcHash()

int WaterRegionPatchKey::CalcHash | ( |  | ) | const
| inline

Definition at line 35 of file yapf_ship_regions.cpp.

## ◆ operator==()

bool WaterRegionPatchKey::operator== | ( | const WaterRegionPatchKey & | other | ) | const
| inline

Definition at line 36 of file yapf_ship_regions.cpp.

## ◆ Set()

void WaterRegionPatchKey::Set | ( | const WaterRegionPatchDesc & | water_region_patch | ) |
| inline

Definition at line 30 of file yapf_ship_regions.cpp.

## Field Documentation

## ◆ water_region_patch

WaterRegionPatchDesc WaterRegionPatchKey::water_region_patch

Definition at line 28 of file yapf_ship_regions.cpp.

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

- src/pathfinder/yapf/yapf_ship_regions.cpp