Public Member Functions | Data Fields

Goal Struct Reference

Struct about subsidies, offered and awarded. More...

#include <goal_base.h>

Inheritance diagram for Goal:
Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_goal_pool >

Public Member Functions

 Goal ()
 We need an (empty) constructor so struct isn't zeroed (as C++ standard states).
 ~Goal ()
 (Empty) destructor has to be defined else operator delete might be called with NULL parameter

Data Fields

CompanyByte company
 Goal is for a specific company; INVALID_COMPANY if it is global.
GoalTypeByte type
 Type of the goal.
GoalTypeID dst
 Index of type.
char * text
 Text of the goal.

Detailed Description

Struct about subsidies, offered and awarded.

Definition at line 24 of file goal_base.h.


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