
Public Member Functions | |
| AmmoTransferrable (int ammo, ResourceWatch &src, ResourceWatch &dst, bool &allowProduction) | |
| ASCString | getName () |
| int | getMax (ContainerBase *c, bool avail) |
| get maximum amount for that unit. | |
| int | getMin (ContainerBase *c, bool avail) |
| int | getAmount (const ContainerBase *target) |
| int | transfer (ContainerBase *target, int delta) |
| bool | isExchangable () const |
| void | commit () |
|
||||||||||||||||||||
|
Definition at line 436 of file servicing.cpp. References ResourceWatch::getContainer(), and maxint. |
|
|
Implements Transferrable. Definition at line 490 of file servicing.cpp. References Transferrable::dest, ResourceWatch::getContainer(), and Transferrable::source. |
|
|
Implements Transferrable. Definition at line 468 of file servicing.cpp. Referenced by getMax(). |
|
||||||||||||
|
get maximum amount for that unit.
Implements Transferrable. Definition at line 448 of file servicing.cpp. References getAmount(), ContainerBase::maxAmmo(), and Transferrable::opposingContainer(). |
|
||||||||||||
|
Implements Transferrable. Definition at line 458 of file servicing.cpp. References min(), and Transferrable::opposingContainer(). |
|
|
Implements Transferrable. Definition at line 445 of file servicing.cpp. References cwaffentypen. |
|
|
Implements Transferrable. Definition at line 485 of file servicing.cpp. |
|
||||||||||||
|
Implements Transferrable. Definition at line 473 of file servicing.cpp. References min(), and Transferrable::opposingContainer(). |
1.4.2