OpenTTD Source: CYapfRegionPatchNodeKey Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Data Fields
CYapfRegionPatchNodeKey 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 CYapfRegionPatchNodeKey &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 24 of file yapf_ship_regions.cpp.

## Member Function Documentation

## ◆ CalcHash()

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

Definition at line 32 of file yapf_ship_regions.cpp.

## ◆ operator==()

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

Definition at line 33 of file yapf_ship_regions.cpp.

## ◆ Set()

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

Definition at line 27 of file yapf_ship_regions.cpp.

## Field Documentation

## ◆ water_region_patch

WaterRegionPatchDesc CYapfRegionPatchNodeKey::water_region_patch

Definition at line 25 of file yapf_ship_regions.cpp.

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

- src/pathfinder/yapf/yapf_ship_regions.cpp