BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends
messages::BaseLocation Class Reference

#include <terrain.pb.h>

Inheritance diagram for messages::BaseLocation:
Inheritance graph
[legend]
Collaboration diagram for messages::BaseLocation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BaseLocation ()
virtual ~BaseLocation ()
 BaseLocation (const BaseLocation &from)
BaseLocationoperator= (const BaseLocation &from)
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
void Swap (BaseLocation *other)
BaseLocationNew () const
void CopyFrom (const ::google::protobuf::Message &from)
void MergeFrom (const ::google::protobuf::Message &from)
void CopyFrom (const BaseLocation &from)
void MergeFrom (const BaseLocation &from)
void Clear ()
bool IsInitialized () const
int ByteSize () const
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
bool has_id () const
void clear_id ()
inline::google::protobuf::int32 id () const
void set_id (::google::protobuf::int32 value)
bool has_position () const
void clear_position ()
const ::messages::Positionposition () const
inline::messages::Position * mutable_position ()
bool has_tileposition () const
void clear_tileposition ()
const ::messages::TilePositiontileposition () const
inline::messages::TilePosition * mutable_tileposition ()
bool has_region () const
void clear_region ()
inline::google::protobuf::int32 region () const
void set_region (::google::protobuf::int32 value)
bool has_numminerals () const
void clear_numminerals ()
inline::google::protobuf::int32 numminerals () const
void set_numminerals (::google::protobuf::int32 value)
bool has_numgas () const
void clear_numgas ()
inline::google::protobuf::int32 numgas () const
void set_numgas (::google::protobuf::int32 value)
int minerals_size () const
void clear_minerals ()
const ::messages::UnitIdminerals (int index) const
inline::messages::UnitId * mutable_minerals (int index)
inline::messages::UnitId * add_minerals ()
const
::google::protobuf::RepeatedPtrField
< ::messages::UnitId > & 
minerals () const
inline::google::protobuf::RepeatedPtrField
< ::messages::UnitId > * 
mutable_minerals ()
int staticminerals_size () const
void clear_staticminerals ()
const ::messages::UnitIdstaticminerals (int index) const
inline::messages::UnitId * mutable_staticminerals (int index)
inline::messages::UnitId * add_staticminerals ()
const
::google::protobuf::RepeatedPtrField
< ::messages::UnitId > & 
staticminerals () const
inline::google::protobuf::RepeatedPtrField
< ::messages::UnitId > * 
mutable_staticminerals ()
int geysers_size () const
void clear_geysers ()
const ::messages::UnitIdgeysers (int index) const
inline::messages::UnitId * mutable_geysers (int index)
inline::messages::UnitId * add_geysers ()
const
::google::protobuf::RepeatedPtrField
< ::messages::UnitId > & 
geysers () const
inline::google::protobuf::RepeatedPtrField
< ::messages::UnitId > * 
mutable_geysers ()
bool has_island () const
void clear_island ()
bool island () const
void set_island (bool value)
bool has_mineralonly () const
void clear_mineralonly ()
bool mineralonly () const
void set_mineralonly (bool value)
bool has_startlocation () const
void clear_startlocation ()
bool startlocation () const
void set_startlocation (bool value)

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
static const BaseLocationdefault_instance ()

Static Public Attributes

static const int kIdFieldNumber = 12
static const int kPositionFieldNumber = 1
static const int kTilePositionFieldNumber = 13
static const int kRegionFieldNumber = 2
static const int kNumMineralsFieldNumber = 3
static const int kNumGasFieldNumber = 4
static const int kMineralsFieldNumber = 5
static const int kStaticMineralsFieldNumber = 6
static const int kGeysersFieldNumber = 7
static const int kIslandFieldNumber = 8
static const int kMineralOnlyFieldNumber = 10
static const int kStartLocationFieldNumber = 11

Friends

void protobuf_AddDesc_terrain_2eproto ()
void protobuf_AssignDesc_terrain_2eproto ()
void protobuf_ShutdownFile_terrain_2eproto ()

Constructor & Destructor Documentation


Member Function Documentation

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

int messages::BaseLocation::ByteSize ( ) const [virtual]

Reimplemented from google::protobuf::Message.

void messages::BaseLocation::Clear ( ) [virtual]

Reimplemented from google::protobuf::Message.

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

int messages::BaseLocation::GetCachedSize ( ) const [inline, virtual]
const ::messages::UnitId & messages::BaseLocation::geysers ( int  index) const [inline]

Here is the call graph for this function:

int messages::BaseLocation::geysers_size ( ) const [inline]

Here is the call graph for this function:

bool messages::BaseLocation::has_id ( ) const [inline]
bool messages::BaseLocation::has_island ( ) const [inline]
bool messages::BaseLocation::has_mineralonly ( ) const [inline]
bool messages::BaseLocation::has_numgas ( ) const [inline]
bool messages::BaseLocation::has_numminerals ( ) const [inline]
bool messages::BaseLocation::has_position ( ) const [inline]
bool messages::BaseLocation::has_region ( ) const [inline]

Here is the caller graph for this function:

bool messages::BaseLocation::IsInitialized ( ) const [virtual]

Reimplemented from google::protobuf::Message.

bool messages::BaseLocation::island ( ) const [inline]
bool messages::BaseLocation::mineralonly ( ) const [inline]
const ::messages::UnitId & messages::BaseLocation::minerals ( int  index) const [inline]

Here is the call graph for this function:

int messages::BaseLocation::minerals_size ( ) const [inline]

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

BaseLocation& messages::BaseLocation::operator= ( const BaseLocation from) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

void messages::BaseLocation::set_island ( bool  value) [inline]

Here is the caller graph for this function:

void messages::BaseLocation::set_mineralonly ( bool  value) [inline]

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

void messages::BaseLocation::set_startlocation ( bool  value) [inline]

Here is the caller graph for this function:

bool messages::BaseLocation::startlocation ( ) const [inline]
const ::messages::UnitId & messages::BaseLocation::staticminerals ( int  index) const [inline]

Here is the call graph for this function:

Here is the call graph for this function:


Friends And Related Function Documentation


Member Data Documentation

const int messages::BaseLocation::kIdFieldNumber = 12 [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines