AIEventExclusiveTransportRights Class Reference

Event Exclusive Transport Rights, indicating that company bought exclusive transport rights in a town. More...

Inheritance diagram for AIEventExclusiveTransportRights:

AIEventCompanyTown AIEvent

Public Member Functions

 AIEventExclusiveTransportRights (AICompany::CompanyID company, TownID town)

Static Public Member Functions

static
AIEventExclusiveTransportRights
Convert (AIEventCompanyTown *instance)
 Convert an AIEvent to the real instance.

Detailed Description

Event Exclusive Transport Rights, indicating that company bought exclusive transport rights in a town.

Constructor & Destructor Documentation

AIEventExclusiveTransportRights::AIEventExclusiveTransportRights ( AICompany::CompanyID  company,
TownID  town 
)

Parameters:
company The company.
town The town.


Member Function Documentation

static AIEventExclusiveTransportRights* AIEventExclusiveTransportRights::Convert ( AIEventCompanyTown instance  )  [inline, static]

Convert an AIEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.


Generated on Thu Jun 30 21:53:52 2016 for OpenTTD NoAI API by  doxygen 1.5.6