accessconstraints.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool checkModificationConstraints (const ContainerBase *container)
 checks if a modification is allowed under the current circumstances A player may for example not alter other player's units in the game, but in the editor all units may be edited


Function Documentation

bool checkModificationConstraints ( const ContainerBase container  ) 

checks if a modification is allowed under the current circumstances A player may for example not alter other player's units in the game, but in the editor all units may be edited

Definition at line 23 of file accessconstraints-editor.cpp.

References GameMap::actplayer, ContainerBase::getMap(), and ContainerBase::getOwner().


Generated on Mon May 14 01:32:13 2012 for Advanced Strategic Command by  doxygen 1.5.1