src/ai/api/ai_event_types.hpp
branchnoai
changeset 10359 18b4de3c2074
parent 10358 73d8177db39e
child 10362 7fb36b849909
equal deleted inserted replaced
10358:73d8177db39e 10359:18b4de3c2074
   410 	 * @return The CompanyIndex of the new owner.
   410 	 * @return The CompanyIndex of the new owner.
   411 	 */
   411 	 */
   412 	AICompany::CompanyIndex GetNewCompanyIndex() { return new_owner; }
   412 	AICompany::CompanyIndex GetNewCompanyIndex() { return new_owner; }
   413 
   413 
   414 private:
   414 private:
   415 	AICompany::CompanyIndex old_owner
   415 	AICompany::CompanyIndex old_owner;
   416 	AICompany::CompanyIndex new_owner;
   416 	AICompany::CompanyIndex new_owner;
   417 };
   417 };
   418 
   418 
   419 /**
   419 /**
   420  * Event Company Bankrupt, indicating a company has gone bankrupt.
   420  * Event Company Bankrupt, indicating a company has gone bankrupt.