@@ -140,15 +140,30 @@ protected:
/**
* Get the pointer to store event data in.
*/
static void *&GetEventPointer();
* Set the cost of the last command.
static void SetLastCost(Money last_cost);
* Get the cost of the last command.
static Money GetLastCost();
* Set a variable that can be used by callback functions to pass information.
static void SetCallbackVariable(int index, int value);
* Get the variable that is used by callback functions to pass information.
static int GetCallbackVariable(int index);
public:
* Store the latest result of a DoCommand per company.
* @note NEVER use this yourself in your AI!