map_chance Struct Reference

#include <mapdef.h>

List of all members.

Public Member Functions

 map_chance ()
 map_chance (int _priority, int _chance)
 map_chance (int _chance)
bool valid () const
bool dummy_chance () const
std::string describe () const
bool roll () const
void write (writer &) const
void read (reader &)

Public Attributes

int chance_priority
int chance


Constructor & Destructor Documentation

map_chance::map_chance (  )  [inline]

map_chance::map_chance ( int  _priority,
int  _chance 
) [inline]

map_chance::map_chance ( int  _chance  )  [inline]


Member Function Documentation

bool map_chance::valid (  )  const [inline]

bool map_chance::dummy_chance (  )  const [inline]

std::string map_chance::describe (  )  const

Here is the call graph for this function:

bool map_chance::roll (  )  const

Here is the call graph for this function:

void map_chance::write ( writer outf  )  const

Here is the call graph for this function:

void map_chance::read ( reader inf  ) 

Here is the call graph for this function:


Member Data Documentation


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

Generated on Thu Jan 13 13:35:33 2011 by  doxygen 1.5.6