Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
time_ticks_x Class Reference
Inheritance diagram for time_ticks_x:
Collaboration diagram for time_ticks_x:

Public Attributes

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

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: