Pol  Revision:cb584c9
Pol::Core::WeatherRegion Class Reference

#include <miscrgn.h>

+ Inheritance diagram for Pol::Core::WeatherRegion:

Public Member Functions

 WeatherRegion (Clib::ConfigElem &elem, RegionId id)
 
virtual size_t estimateSize () const POL_OVERRIDE
 
void setweather (unsigned char weathertype, unsigned char severity, unsigned char aux)
 
- Public Member Functions inherited from Pol::Core::Region
Bscript::BObjectImpget_region_string (const std::string &propname)
 
const std::string & name () const
 
RegionId regionid () const
 

Public Attributes

unsigned char aux
 
int lightoverride
 
unsigned char severity
 
unsigned char weathertype
 

Private Types

typedef Region base
 

Additional Inherited Members

- Protected Member Functions inherited from Pol::Core::Region
 Region (Clib::ConfigElem &elem, RegionId id)
 
virtual ~Region ()
 
void read_custom_config (Clib::ConfigElem &elem)
 
- Protected Attributes inherited from Pol::Core::Region
std::string name_
 
PropertyList proplist_
 
RegionId regionid_
 

Detailed Description

Definition at line 61 of file miscrgn.h.

Member Typedef Documentation

Definition at line 63 of file miscrgn.h.

Constructor & Destructor Documentation

Pol::Core::WeatherRegion::WeatherRegion ( Clib::ConfigElem elem,
RegionId  id 
)

Definition at line 59 of file miscrgn.cpp.

Member Function Documentation

size_t Pol::Core::WeatherRegion::estimateSize ( ) const
virtual

Reimplemented from Pol::Core::Region.

Definition at line 69 of file miscrgn.cpp.

References Pol::Core::Region::estimateSize().

void Pol::Core::WeatherRegion::setweather ( unsigned char  weathertype,
unsigned char  severity,
unsigned char  aux 
)

Member Data Documentation

unsigned char Pol::Core::WeatherRegion::aux
unsigned char Pol::Core::WeatherRegion::severity
unsigned char Pol::Core::WeatherRegion::weathertype

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