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

#include <unit.pb.h>

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

List of all members.

Public Member Functions

 TechTypeData ()
virtual ~TechTypeData ()
 TechTypeData (const TechTypeData &from)
TechTypeDataoperator= (const TechTypeData &from)
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
void Swap (TechTypeData *other)
TechTypeDataNew () const
void CopyFrom (const ::google::protobuf::Message &from)
void MergeFrom (const ::google::protobuf::Message &from)
void CopyFrom (const TechTypeData &from)
void MergeFrom (const TechTypeData &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_mineralprice () const
void clear_mineralprice ()
inline::google::protobuf::int32 mineralprice () const
void set_mineralprice (::google::protobuf::int32 value)
bool has_gasprice () const
void clear_gasprice ()
inline::google::protobuf::int32 gasprice () const
void set_gasprice (::google::protobuf::int32 value)
bool has_researchtime () const
void clear_researchtime ()
inline::google::protobuf::int32 researchtime () const
void set_researchtime (::google::protobuf::int32 value)
bool has_energyused () const
void clear_energyused ()
inline::google::protobuf::int32 energyused () const
void set_energyused (::google::protobuf::int32 value)
bool has_whatresearches () const
void clear_whatresearches ()
const ::messages::UnitTypewhatresearches () const
inline::messages::UnitType * mutable_whatresearches ()
bool has_weapon () const
void clear_weapon ()
const ::messages::WeaponTypeweapon () const
inline::messages::WeaponType * mutable_weapon ()
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 TechTypeDatadefault_instance ()

Static Public Attributes

static const int kIdFieldNumber = 1
static const int kNameFieldNumber = 2
static const int kRaceFieldNumber = 3
static const int kMineralPriceFieldNumber = 4
static const int kGasPriceFieldNumber = 5
static const int kResearchTimeFieldNumber = 6
static const int kEnergyUsedFieldNumber = 7
static const int kWhatResearchesFieldNumber = 8
static const int kWeaponFieldNumber = 9
static const int kWhatUsesFieldNumber = 10

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::TechTypeData::ByteSize ( ) const [virtual]

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

Here is the call graph for this function:

Here is the caller graph for this function:

int messages::TechTypeData::GetCachedSize ( ) const [inline, virtual]
bool messages::TechTypeData::has_energyused ( ) const [inline]
bool messages::TechTypeData::has_gasprice ( ) const [inline]
bool messages::TechTypeData::has_id ( ) const [inline]
bool messages::TechTypeData::has_name ( ) const [inline]
bool messages::TechTypeData::has_race ( ) const [inline]
bool messages::TechTypeData::has_weapon ( ) const [inline]
bool messages::TechTypeData::IsInitialized ( ) const [virtual]

Reimplemented from google::protobuf::Message.

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

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

const ::std::string & messages::TechTypeData::name ( ) const [inline]
TechTypeData& messages::TechTypeData::operator= ( const TechTypeData 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:

void messages::TechTypeData::set_name ( const ::std::string &  value) [inline]

Here is the caller graph for this function:

void messages::TechTypeData::set_name ( const char *  value) [inline]
void messages::TechTypeData::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:

const ::messages::UnitType & messages::TechTypeData::whatuses ( int  index) const [inline]

Here is the call graph for this function:

int messages::TechTypeData::whatuses_size ( ) const [inline]

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