Steam Fort 0.5
|
Contains all informations and functions about orders. More...
#include <order.hpp>
Public Member Functions | |
Order () | |
Standard class constructor. | |
Public Attributes | |
std::string | name |
Name of order. | |
bool | infinite |
Did order can be repeated. | |
char | active |
If Y then order is active, otherwise 'N'. | |
std::vector< int > | workers |
List of mobiles assigned to order. | |
int | stages [STEPS][STEPLENGTH] |
Stages of order. | |
int | curamount |
Amount of things needed for finish current state. | |
bool | automatic |
If true, player is automatically added to workers list. | |
bool | enabled |
If true, orders is available. | |
int | type |
Type of order. | |
int | curstage |
Current stage of order. | |
bool | playeronly |
Only player can be assigned to this order. | |
int | times |
How many times order will be repeated. |
Contains all informations and functions about orders.
Order::Order | ( | ) |
Standard class constructor.
Create order and fill some default variables.
char Order::active |
If Y then order is active, otherwise 'N'.
bool Order::automatic |
If true, player is automatically added to workers list.
int Order::curamount |
Amount of things needed for finish current state.
int Order::curstage |
Current stage of order.
bool Order::enabled |
If true, orders is available.
bool Order::infinite |
Did order can be repeated.
std::string Order::name |
Name of order.
bool Order::playeronly |
Only player can be assigned to this order.
int Order::stages[STEPS][STEPLENGTH] |
Stages of order.
int Order::times |
How many times order will be repeated.
int Order::type |
Type of order.
std::vector<int> Order::workers |
List of mobiles assigned to order.