Simutrans-Squirrel-API  r11919
Public Attributes | List of all members
time_ticks_x Class Reference
Inheritance diagram for time_ticks_x:
Inheritance graph
[legend]

Public Attributes

integer ticks
 current time in ticks More...
 
integer ticks_per_month
 length of one in-game month in ticks More...
 
integer next_month_ticks
 new month will start at this time More...
 
- Public Attributes inherited from time_x
integer raw
 raw integer value of date More...
 
integer year
 year More...
 
integer month
 month in 0..11 More...
 

Detailed Description

Struct to get precise information about time.

See also
world::get_time

Definition at line 19 of file api_simple.cc.

Member Data Documentation

◆ next_month_ticks

integer time_ticks_x::next_month_ticks

new month will start at this time

Definition at line 23 of file api_simple.cc.

◆ ticks

integer time_ticks_x::ticks

current time in ticks

Definition at line 21 of file api_simple.cc.

◆ ticks_per_month

integer time_ticks_x::ticks_per_month

length of one in-game month in ticks

Definition at line 22 of file api_simple.cc.


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