Simutrans-Squirrel-API
Public Attributes | List of all members
time_x Class Reference
Inheritance diagram for time_x:
time_ticks_x

Public Attributes

integer month
 month in 0..11
 
integer raw
 raw integer value of date
 
integer year
 year
 

Detailed Description

Struct to hold information about time as month-year. If used as argument to functions then only the value of raw matters. If filled by an api-call the year and month will be set, too. Relation: raw = 12*month + year.

See also
world::get_time obj_desc_time_x

Definition at line 9 of file api_simple.cc.


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