Freeciv21
Develop your civilization from humble roots to a global empire
cityhand.h File Reference
#include "fc_types.h"
#include "hand_gen.h"
+ Include dependency graph for cityhand.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void really_handle_city_sell (struct player *pplayer, struct city *pcity, struct impr_type *pimprove)
 Handle improvement selling request. More...
 
void really_handle_city_buy (struct player *pplayer, struct city *pcity)
 Handle buying request. More...
 

Function Documentation

◆ really_handle_city_buy()

void really_handle_city_buy ( struct player pplayer,
struct city pcity 
)

Handle buying request.

Caller is responsible to validate input before passing to this function if it comes from untrusted source.

Definition at line 278 of file cityhand.cpp.

Referenced by dai_spend_gold(), and handle_city_buy().

◆ really_handle_city_sell()

void really_handle_city_sell ( struct player pplayer,
struct city pcity,
struct impr_type pimprove 
)

Handle improvement selling request.

Caller is responsible to validate input before passing to this function if it comes from untrusted source.

Definition at line 225 of file cityhand.cpp.

Referenced by handle_city_sell(), and try_to_sell_stuff().