Advanced Strategic Command
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ContainerBaseType::TransportationIO Class Reference

#include <containerbasetype.h>

Public Types

enum  { In = 1, Out = 2, Docking = 4 }
 

Public Member Functions

 TransportationIO ()
 
void runTextIO (PropertyContainer &pc)
 
void read (tnstream &stream)
 
void write (tnstream &stream) const
 

Public Attributes

int mode
 
int height_abs
 a loadable unit must be on this level of height; 0 if not used More...
 
int height_rel
 a height of a loadable unit have this height relative to the container; -100 if not used More...
 
int container_height
 the container must be on this height More...
 
int vehicleCategoriesLoadable
 bitmapped: vehicle categories that may enter the container More...
 
int dockingHeight_abs
 
int dockingHeight_rel
 
std::bitset< 64 > requiresUnitFeature
 
int movecost
 
bool disableAttack
 

Static Public Attributes

static const int entranceModeNum = 3
 

Detailed Description

Definition at line 141 of file containerbasetype.h.

Member Enumeration Documentation

anonymous enum
Enumerator
In 
Out 
Docking 

Definition at line 145 of file containerbasetype.h.

Constructor & Destructor Documentation

ContainerBaseType::TransportationIO::TransportationIO ( )

Member Function Documentation

void ContainerBaseType::TransportationIO::read ( tnstream stream)
void ContainerBaseType::TransportationIO::runTextIO ( PropertyContainer pc)
void ContainerBaseType::TransportationIO::write ( tnstream stream) const

Member Data Documentation

int ContainerBaseType::TransportationIO::container_height

the container must be on this height

Definition at line 157 of file containerbasetype.h.

Referenced by TransportationIO().

bool ContainerBaseType::TransportationIO::disableAttack

Definition at line 170 of file containerbasetype.h.

Referenced by AStar3D::findPath(), and TransportationIO().

int ContainerBaseType::TransportationIO::dockingHeight_abs

Definition at line 162 of file containerbasetype.h.

Referenced by TransportationIO().

int ContainerBaseType::TransportationIO::dockingHeight_rel

Definition at line 164 of file containerbasetype.h.

Referenced by TransportationIO().

const int ContainerBaseType::TransportationIO::entranceModeNum = 3
static

Definition at line 144 of file containerbasetype.h.

int ContainerBaseType::TransportationIO::height_abs

a loadable unit must be on this level of height; 0 if not used

Definition at line 151 of file containerbasetype.h.

Referenced by TransportationIO().

int ContainerBaseType::TransportationIO::height_rel

a height of a loadable unit have this height relative to the container; -100 if not used

Definition at line 154 of file containerbasetype.h.

Referenced by TransportationIO().

int ContainerBaseType::TransportationIO::mode

Definition at line 146 of file containerbasetype.h.

Referenced by TransportationIO().

int ContainerBaseType::TransportationIO::movecost

Definition at line 168 of file containerbasetype.h.

Referenced by calcMoveMalus(), and TransportationIO().

std::bitset<64> ContainerBaseType::TransportationIO::requiresUnitFeature

Definition at line 166 of file containerbasetype.h.

int ContainerBaseType::TransportationIO::vehicleCategoriesLoadable

bitmapped: vehicle categories that may enter the container

Definition at line 160 of file containerbasetype.h.

Referenced by TransportationIO().


The documentation for this class was generated from the following files: