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

#include <unit.pb.h>

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

List of all members.

Public Member Functions

 UpgradeTypeData ()
virtual ~UpgradeTypeData ()
 UpgradeTypeData (const UpgradeTypeData &from)
UpgradeTypeDataoperator= (const UpgradeTypeData &from)
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
void Swap (UpgradeTypeData *other)
UpgradeTypeDataNew () const
void CopyFrom (const ::google::protobuf::Message &from)
void MergeFrom (const ::google::protobuf::Message &from)
void CopyFrom (const UpgradeTypeData &from)
void MergeFrom (const UpgradeTypeData &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_name () const
void clear_name ()
const ::std::string & name () const
void set_name (const ::std::string &value)
void set_name (const char *value)
void set_name (const char *value, size_t size)
inline::std::string * mutable_name ()
bool has_race () const
void clear_race ()
messages::Race race () const
void set_race (messages::Race value)
bool has_mineralpricebase () const
void clear_mineralpricebase ()
inline::google::protobuf::int32 mineralpricebase () const
void set_mineralpricebase (::google::protobuf::int32 value)
bool has_mineralpricefactor () const
void clear_mineralpricefactor ()
inline::google::protobuf::int32 mineralpricefactor () const
void set_mineralpricefactor (::google::protobuf::int32 value)
bool has_gaspricebase () const
void clear_gaspricebase ()
inline::google::protobuf::int32 gaspricebase () const
void set_gaspricebase (::google::protobuf::int32 value)
bool has_gaspricefactor () const
void clear_gaspricefactor ()
inline::google::protobuf::int32 gaspricefactor () const
void set_gaspricefactor (::google::protobuf::int32 value)
bool has_upgradetimebase () const
void clear_upgradetimebase ()
inline::google::protobuf::int32 upgradetimebase () const
void set_upgradetimebase (::google::protobuf::int32 value)
bool has_upgradetimefactor () const
void clear_upgradetimefactor ()
inline::google::protobuf::int32 upgradetimefactor () const
void set_upgradetimefactor (::google::protobuf::int32 value)
bool has_maxrepeats () const
void clear_maxrepeats ()
inline::google::protobuf::int32 maxrepeats () const
void set_maxrepeats (::google::protobuf::int32 value)
bool has_whatupgrades () const
void clear_whatupgrades ()
const ::messages::UnitTypewhatupgrades () const
inline::messages::UnitType * mutable_whatupgrades ()
int whatuses_size () const
void clear_whatuses ()
const ::messages::UnitTypewhatuses (int index) const
inline::messages::UnitType * mutable_whatuses (int index)
inline::messages::UnitType * add_whatuses ()
const
::google::protobuf::RepeatedPtrField
< ::messages::UnitType > & 
whatuses () const
inline::google::protobuf::RepeatedPtrField
< ::messages::UnitType > * 
mutable_whatuses ()

Static Public Member Functions

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

Static Public Attributes

static const int kIdFieldNumber = 1
static const int kNameFieldNumber = 2
static const int kRaceFieldNumber = 3
static const int kMineralPriceBaseFieldNumber = 4
static const int kMineralPriceFactorFieldNumber = 5
static const int kGasPriceBaseFieldNumber = 6
static const int kGasPriceFactorFieldNumber = 7
static const int kUpgradeTimeBaseFieldNumber = 8
static const int kUpgradeTimeFactorFieldNumber = 9
static const int kMaxRepeatsFieldNumber = 10
static const int kWhatUpgradesFieldNumber = 11
static const int kWhatUsesFieldNumber = 12

Friends

void protobuf_AddDesc_unit_2eproto ()
void protobuf_AssignDesc_unit_2eproto ()
void protobuf_ShutdownFile_unit_2eproto ()

Constructor & Destructor Documentation


Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from google::protobuf::Message.

Reimplemented from google::protobuf::Message.

Here is the call graph for this function:

Here is the caller graph for this function:

int messages::UpgradeTypeData::GetCachedSize ( ) const [inline, virtual]
bool messages::UpgradeTypeData::has_id ( ) const [inline]
bool messages::UpgradeTypeData::has_name ( ) const [inline]
bool messages::UpgradeTypeData::has_race ( ) const [inline]
bool messages::UpgradeTypeData::IsInitialized ( ) const [virtual]

Reimplemented from google::protobuf::Message.

std::string * messages::UpgradeTypeData::mutable_name ( ) [inline]

Here is the caller graph for this function:

Here is the call graph for this function:

const ::std::string & messages::UpgradeTypeData::name ( ) const [inline]
UpgradeTypeData& messages::UpgradeTypeData::operator= ( const UpgradeTypeData from) [inline]

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 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::UpgradeTypeData::set_name ( const ::std::string &  value) [inline]

Here is the caller graph for this function:

void messages::UpgradeTypeData::set_name ( const char *  value) [inline]
void messages::UpgradeTypeData::set_name ( const char *  value,
size_t  size 
) [inline]

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 caller graph for this function:

const ::messages::UnitType & messages::UpgradeTypeData::whatuses ( 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

void protobuf_AddDesc_unit_2eproto ( ) [friend]

Member Data Documentation


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