Crossfire Server, Trunk
_timeofday Struct Reference

#include <tod.h>

+ Collaboration diagram for _timeofday:

Data Fields

int day
 
int dayofweek
 
int hour
 
int minute
 
int month
 
int periodofday
 
int season
 
int weekofmonth
 
int year
 

Detailed Description

Represents the ingame time.

Definition at line 38 of file tod.h.

Field Documentation

◆ day

int _timeofday::day

Definition at line 41 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), print_tod(), and store_time().

◆ dayofweek

int _timeofday::dayofweek

Definition at line 42 of file tod.h.

Referenced by get_tod(), getTime(), and print_tod().

◆ hour

◆ minute

int _timeofday::minute

Definition at line 44 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), store_time(), and time_format_time().

◆ month

int _timeofday::month

Definition at line 40 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), print_tod(), and store_time().

◆ periodofday

int _timeofday::periodofday

Definition at line 47 of file tod.h.

Referenced by get_tod(), and getTime().

◆ season

int _timeofday::season

Definition at line 46 of file tod.h.

Referenced by dawn_to_dusk(), get_tod(), getTime(), print_tod(), and set_darkness_map().

◆ weekofmonth

int _timeofday::weekofmonth

Definition at line 45 of file tod.h.

Referenced by get_tod(), and getTime().

◆ year

int _timeofday::year

Definition at line 39 of file tod.h.

Referenced by format_time(), get_tod(), getTime(), print_tod(), and store_time().


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