Advanced Strategic Command
Functions
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 More...
 

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().

Referenced by setLocalizedContainerName(), and ContainerBase::setName().