#include <sigc++/sigc++.h>#include "servicing.h"#include "../vehicle.h"#include "../spfst.h"#include "../containercontrols.h"#include "../gameoptions.h"#include "consumeresource.h"#include "consumeammo.h"#include "context.h"Include dependency graph for servicing.cpp:

Go to the source code of this file.
Classes | |
| class | AmmoTransferrable |
| class | ResourceTransferrable |
Enumerations | |
| enum | TransferLimitation { NONE, GET, ALL } |
Functions | |
| TransferLimitation | getTransferLimitation (const ContainerBase *target) |
| enum TransferLimitation |
| TransferLimitation getTransferLimitation | ( | const ContainerBase * | target | ) |
Definition at line 37 of file servicing.cpp.
References GameMap::actplayer, ALL, Player::diplomacy, GET, ContainerBase::getMap(), ContainerBase::getOwner(), DiplomaticStateVector::getState(), DiplomaticStateVector::isAllied(), NONE, PEACE, and GameMap::player.
Referenced by ResourceWatch::avail(), ServiceChecker::check(), and ResourceWatch::limit().
1.5.1