OpenTTD Source  12.0-beta2
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.
 
virtual void OnNewGRFsScanned ()
 Called whenever the NewGRF scan completed.
 
- Public Member Functions inherited from NewGRFScanCallback
virtual ~NewGRFScanCallback ()
 Make sure the right destructor gets called.
 

Data Fields

Year startyear = INVALID_YEAR
 The start year.
 
uint32 generation_seed = GENERATE_NEW_SEED
 Seed for the new game.
 
std::string dedicated_host
 Hostname for the dedicated server.
 
uint16 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.
 
std::string join_company_password
 The password to join the company 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 404 of file openttd.cpp.


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