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

#include <unit.pb.h>

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

List of all members.

Public Member Functions

 WeaponTypeData ()
virtual ~WeaponTypeData ()
 WeaponTypeData (const WeaponTypeData &from)
WeaponTypeDataoperator= (const WeaponTypeData &from)
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
void Swap (WeaponTypeData *other)
WeaponTypeDataNew () const
void CopyFrom (const ::google::protobuf::Message &from)
void MergeFrom (const ::google::protobuf::Message &from)
void CopyFrom (const WeaponTypeData &from)
void MergeFrom (const WeaponTypeData &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_tech () const
void clear_tech ()
const ::messages::TechTypetech () const
inline::messages::TechType * mutable_tech ()
bool has_whatuses () const
void clear_whatuses ()
const ::messages::UnitTypewhatuses () const
inline::messages::UnitType * mutable_whatuses ()
bool has_damageamount () const
void clear_damageamount ()
inline::google::protobuf::int32 damageamount () const
void set_damageamount (::google::protobuf::int32 value)
bool has_damagebonus () const
void clear_damagebonus ()
inline::google::protobuf::int32 damagebonus () const
void set_damagebonus (::google::protobuf::int32 value)
bool has_damagecooldown () const
void clear_damagecooldown ()
inline::google::protobuf::int32 damagecooldown () const
void set_damagecooldown (::google::protobuf::int32 value)
bool has_damagefactor () const
void clear_damagefactor ()
inline::google::protobuf::int32 damagefactor () const
void set_damagefactor (::google::protobuf::int32 value)
bool has_upgradetype () const
void clear_upgradetype ()
const ::messages::UpgradeTypeupgradetype () const
inline::messages::UpgradeType * mutable_upgradetype ()
bool has_damagetype () const
void clear_damagetype ()
messages::DamageType damagetype () const
void set_damagetype (messages::DamageType value)
bool has_explosiontype () const
void clear_explosiontype ()
messages::ExplosionType explosiontype () const
void set_explosiontype (messages::ExplosionType value)
bool has_minrange () const
void clear_minrange ()
inline::google::protobuf::int32 minrange () const
void set_minrange (::google::protobuf::int32 value)
bool has_maxrange () const
void clear_maxrange ()
inline::google::protobuf::int32 maxrange () const
void set_maxrange (::google::protobuf::int32 value)
bool has_innersplashradius () const
void clear_innersplashradius ()
inline::google::protobuf::int32 innersplashradius () const
void set_innersplashradius (::google::protobuf::int32 value)
bool has_mediansplashradius () const
void clear_mediansplashradius ()
inline::google::protobuf::int32 mediansplashradius () const
void set_mediansplashradius (::google::protobuf::int32 value)
bool has_outersplashradius () const
void clear_outersplashradius ()
inline::google::protobuf::int32 outersplashradius () const
void set_outersplashradius (::google::protobuf::int32 value)
bool has_targetsair () const
void clear_targetsair ()
bool targetsair () const
void set_targetsair (bool value)
bool has_targetsground () const
void clear_targetsground ()
bool targetsground () const
void set_targetsground (bool value)
bool has_targetsmechanical () const
void clear_targetsmechanical ()
bool targetsmechanical () const
void set_targetsmechanical (bool value)
bool has_targetsorganic () const
void clear_targetsorganic ()
bool targetsorganic () const
void set_targetsorganic (bool value)
bool has_targetsnonbuilding () const
void clear_targetsnonbuilding ()
bool targetsnonbuilding () const
void set_targetsnonbuilding (bool value)
bool has_targetsnonrobotic () const
void clear_targetsnonrobotic ()
bool targetsnonrobotic () const
void set_targetsnonrobotic (bool value)
bool has_targetsterrain () const
void clear_targetsterrain ()
bool targetsterrain () const
void set_targetsterrain (bool value)
bool has_targetsorgormech () const
void clear_targetsorgormech ()
bool targetsorgormech () const
void set_targetsorgormech (bool value)
bool has_targetsown () const
void clear_targetsown ()
bool targetsown () const
void set_targetsown (bool value)

Static Public Member Functions

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

Static Public Attributes

static const int kIdFieldNumber = 1
static const int kNameFieldNumber = 2
static const int kTechFieldNumber = 3
static const int kWhatUsesFieldNumber = 4
static const int kDamageAmountFieldNumber = 5
static const int kDamageBonusFieldNumber = 6
static const int kDamageCooldownFieldNumber = 7
static const int kDamageFactorFieldNumber = 8
static const int kUpgradeTypeFieldNumber = 9
static const int kDamageTypeFieldNumber = 10
static const int kExplosionTypeFieldNumber = 11
static const int kMinRangeFieldNumber = 12
static const int kMaxRangeFieldNumber = 13
static const int kInnerSplashRadiusFieldNumber = 14
static const int kMedianSplashRadiusFieldNumber = 15
static const int kOuterSplashRadiusFieldNumber = 16
static const int kTargetsAirFieldNumber = 17
static const int kTargetsGroundFieldNumber = 18
static const int kTargetsMechanicalFieldNumber = 19
static const int kTargetsOrganicFieldNumber = 20
static const int kTargetsNonBuildingFieldNumber = 21
static const int kTargetsNonRoboticFieldNumber = 22
static const int kTargetsTerrainFieldNumber = 23
static const int kTargetsOrgOrMechFieldNumber = 24
static const int kTargetsOwnFieldNumber = 25

Friends

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

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

Here is the caller graph for this function:

int messages::WeaponTypeData::GetCachedSize ( ) const [inline, virtual]
bool messages::WeaponTypeData::has_id ( ) const [inline]
bool messages::WeaponTypeData::has_maxrange ( ) const [inline]
bool messages::WeaponTypeData::has_minrange ( ) const [inline]
bool messages::WeaponTypeData::has_name ( ) const [inline]
bool messages::WeaponTypeData::has_tech ( ) const [inline]
bool messages::WeaponTypeData::has_whatuses ( ) const [inline]
bool messages::WeaponTypeData::IsInitialized ( ) const [virtual]

Reimplemented from google::protobuf::Message.

std::string * messages::WeaponTypeData::mutable_name ( ) [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:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsair ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsground ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsmechanical ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsnonbuilding ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsnonrobotic ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsorganic ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsorgormech ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsown ( bool  value) [inline]

Here is the caller graph for this function:

void messages::WeaponTypeData::set_targetsterrain ( bool  value) [inline]

Here is the caller graph for this function:

bool messages::WeaponTypeData::targetsair ( ) const [inline]
bool messages::WeaponTypeData::targetsground ( ) const [inline]
bool messages::WeaponTypeData::targetsown ( ) const [inline]
const ::messages::TechType & messages::WeaponTypeData::tech ( ) const [inline]

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