OpenTTD Source  20241108-master-g80f628063a
AfterNewGRFScan Struct Reference

Callback structure of statements to be executed after the NewGRF scan. More...

Inheritance diagram for AfterNewGRFScan:
NewGRFScanCallback

Public Member Functions

 AfterNewGRFScan ()
 Create a new callback.
 
void OnNewGRFsScanned () override
 Called whenever the NewGRF scan completed.
 
- Public Member Functions inherited from NewGRFScanCallback
virtual ~NewGRFScanCallback ()=default
 Make sure the right destructor gets called.
 

Data Fields

TimerGameCalendar::Year startyear = CalendarTime::INVALID_YEAR
 The start year.
 
uint32_t generation_seed = GENERATE_NEW_SEED
 Seed for the new game.
 
std::string dedicated_host
 Hostname for the dedicated server.
 
uint16_t dedicated_port = 0
 Port for the dedicated server.
 
std::string connection_string
 Information about the server to connect to.
 
std::string join_server_password
 The password to join the server with.
 
bool save_config = true
 The save config setting.
 

Detailed Description

Callback structure of statements to be executed after the NewGRF scan.

Definition at line 379 of file openttd.cpp.


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