OpenTTD Source 20251005-master-ga617d009cc
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: