Freeciv-3.2
Loading...
Searching...
No Matches
Functions
api_server_counters.h File Reference
#include "luascript_types.h"

Go to the source code of this file.

Functions

void api_counter_increase (lua_State *L, Counter *c, City *city)
 
void api_counter_zero (lua_State *L, Counter *c, City *city)
 

Function Documentation

◆ api_counter_increase()

void api_counter_increase ( lua_State L,
Counter c,
City city 
)

Increase value of the given counter for given city.

Definition at line 38 of file api_server_counters.c.

Referenced by tolua_server_Counter_increase00().

◆ api_counter_zero()

void api_counter_zero ( lua_State L,
Counter c,
City city 
)

Reset value of the given counter for given city.

Definition at line 55 of file api_server_counters.c.

Referenced by tolua_server_Counter_zero00().