Freeciv21
Develop your civilization from humble roots to a global empire
attr_key Class Reference

Public Member Functions

 attr_key ()=default
 
 attr_key (int, int, int, int)
 

Public Attributes

int key {0}
 
int id {0}
 
int x {0}
 
int y {0}
 

Detailed Description

Definition at line 37 of file attribute.cpp.

Constructor & Destructor Documentation

◆ attr_key() [1/2]

attr_key::attr_key ( )
default

◆ attr_key() [2/2]

attr_key::attr_key ( int  k,
int  i,
int  x0,
int  y0 
)

Definition at line 44 of file attribute.cpp.

Member Data Documentation

◆ id

int attr_key::id {0}

Definition at line 41 of file attribute.cpp.

Referenced by attribute_set(), operator==(), and qHash().

◆ key

int attr_key::key {0}

Definition at line 41 of file attribute.cpp.

Referenced by attribute_set(), operator==(), and qHash().

◆ x

int attr_key::x {0}

Definition at line 41 of file attribute.cpp.

Referenced by attribute_set(), operator==(), and qHash().

◆ y

int attr_key::y {0}

Definition at line 41 of file attribute.cpp.

Referenced by attribute_set(), operator==(), and qHash().