#include <resourcenet.h>
Inheritance diagram for PutResource:

Public Member Functions | |
| PutResource (GameMap *gamemap, int scope=-1) | |
Protected Member Functions | |
| virtual void | checkbuilding (Building *b) |
| virtual void | checkvehicle (Vehicle *v) |
| virtual void | start (int x, int y) |
|
||||||||||||
|
Definition at line 111 of file resourcenet.h. |
|
|
Implements MapNetwork. Definition at line 399 of file resourcenet.cpp. References Building::actstorage, cnet_stopenergyinput, ContainerBase::color, displaymessage(), Building::getEntry(), ContainerBase::getStorageCapacity(), StaticResourceNet::got, StaticResourceNet::need, Building::netcontrol, StaticResourceNet::player, StaticResourceNet::queryonly, Resources::resource(), resourceNames, and ResourceNet::resourcetype. |
|
|
Implements MapNetwork. Definition at line 108 of file resourcenet.h. |
|
||||||||||||
|
Reimplemented from MapNetwork. Definition at line 421 of file resourcenet.cpp. References MapNetwork::actmap, GameMap::bi_resource, StaticResourceNet::got, maxint, StaticResourceNet::need, StaticResourceNet::player, StaticResourceNet::queryonly, Resources::resource(), ResourceNet::resourcetype, ResourceNet::scope, and MapNetwork::start(). |
1.4.2