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

#include <unit.pb.h>

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

List of all members.

Public Member Functions

 Bullet ()
virtual ~Bullet ()
 Bullet (const Bullet &from)
Bulletoperator= (const Bullet &from)
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
void Swap (Bullet *other)
BulletNew () const
void CopyFrom (const ::google::protobuf::Message &from)
void MergeFrom (const ::google::protobuf::Message &from)
void CopyFrom (const Bullet &from)
void MergeFrom (const Bullet &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_player () const
void clear_player ()
inline::google::protobuf::int32 player () const
void set_player (::google::protobuf::int32 value)
bool has_type () const
void clear_type ()
messages::BulletType type () const
void set_type (messages::BulletType value)
bool has_source () const
void clear_source ()
const ::messages::UnitIdsource () const
inline::messages::UnitId * mutable_source ()
bool has_position () const
void clear_position ()
const ::messages::Positionposition () const
inline::messages::Position * mutable_position ()
bool has_angle () const
void clear_angle ()
double angle () const
void set_angle (double value)
bool has_velocityx () const
void clear_velocityx ()
double velocityx () const
void set_velocityx (double value)
bool has_velocityy () const
void clear_velocityy ()
double velocityy () const
void set_velocityy (double value)
bool has_target () const
void clear_target ()
const ::messages::UnitIdtarget () const
inline::messages::UnitId * mutable_target ()
bool has_targetposition () const
void clear_targetposition ()
const ::messages::Positiontargetposition () const
inline::messages::Position * mutable_targetposition ()
bool has_removetimer () const
void clear_removetimer ()
inline::google::protobuf::int32 removetimer () const
void set_removetimer (::google::protobuf::int32 value)
bool has_exists () const
void clear_exists ()
bool exists () const
void set_exists (bool value)
bool has_isvisible () const
void clear_isvisible ()
bool isvisible () const
void set_isvisible (bool value)

Static Public Member Functions

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

Static Public Attributes

static const int kIdFieldNumber = 1
static const int kPlayerFieldNumber = 2
static const int kTypeFieldNumber = 3
static const int kSourceFieldNumber = 4
static const int kPositionFieldNumber = 5
static const int kAngleFieldNumber = 6
static const int kVelocityXFieldNumber = 7
static const int kVelocityYFieldNumber = 8
static const int kTargetFieldNumber = 9
static const int kTargetPositionFieldNumber = 10
static const int kRemoveTimerFieldNumber = 11
static const int kExistsFieldNumber = 12
static const int kIsVisibleFieldNumber = 13

Friends

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

Constructor & Destructor Documentation

virtual messages::Bullet::~Bullet ( ) [virtual]
messages::Bullet::Bullet ( const Bullet from)

Member Function Documentation

double messages::Bullet::angle ( ) const [inline]
int messages::Bullet::ByteSize ( ) const [virtual]

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void messages::Bullet::clear_angle ( ) [inline]
void messages::Bullet::clear_exists ( ) [inline]
void messages::Bullet::clear_id ( ) [inline]
void messages::Bullet::clear_player ( ) [inline]
void messages::Bullet::clear_source ( ) [inline]
void messages::Bullet::clear_target ( ) [inline]
void messages::Bullet::clear_type ( ) [inline]

Here is the caller graph for this function:

void messages::Bullet::CopyFrom ( const Bullet from)
static const Bullet& messages::Bullet::default_instance ( ) [static]
bool messages::Bullet::exists ( ) const [inline]
int messages::Bullet::GetCachedSize ( ) const [inline, virtual]
bool messages::Bullet::has_angle ( ) const [inline]
bool messages::Bullet::has_exists ( ) const [inline]
bool messages::Bullet::has_id ( ) const [inline]
bool messages::Bullet::has_isvisible ( ) const [inline]
bool messages::Bullet::has_player ( ) const [inline]
bool messages::Bullet::has_position ( ) const [inline]
bool messages::Bullet::has_removetimer ( ) const [inline]
bool messages::Bullet::has_source ( ) const [inline]
bool messages::Bullet::has_target ( ) const [inline]
bool messages::Bullet::has_targetposition ( ) const [inline]
bool messages::Bullet::has_type ( ) const [inline]
bool messages::Bullet::has_velocityx ( ) const [inline]
bool messages::Bullet::has_velocityy ( ) const [inline]
bool messages::Bullet::IsInitialized ( ) const [virtual]

Reimplemented from google::protobuf::Message.

bool messages::Bullet::isvisible ( ) const [inline]
void messages::Bullet::MergeFrom ( const Bullet from)

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:

Bullet* messages::Bullet::New ( ) const [virtual]
Bullet& messages::Bullet::operator= ( const Bullet from) [inline]

Here is the call graph for this function:

const ::messages::Position & messages::Bullet::position ( ) const [inline]
void messages::Bullet::set_angle ( double  value) [inline]

Here is the caller graph for this function:

void messages::Bullet::set_exists ( bool  value) [inline]

Here is the caller graph for this function:

Here is the caller graph for this function:

void messages::Bullet::set_isvisible ( 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 call graph for this function:

Here is the caller graph for this function:

void messages::Bullet::set_velocityx ( double  value) [inline]

Here is the caller graph for this function:

void messages::Bullet::set_velocityy ( double  value) [inline]

Here is the caller graph for this function:

const ::messages::UnitId & messages::Bullet::source ( ) const [inline]
void messages::Bullet::Swap ( Bullet other)
const ::messages::UnitId & messages::Bullet::target ( ) const [inline]
double messages::Bullet::velocityx ( ) const [inline]
double messages::Bullet::velocityy ( ) const [inline]

Friends And Related Function Documentation

void protobuf_AddDesc_unit_2eproto ( ) [friend]

Member Data Documentation

const int messages::Bullet::kAngleFieldNumber = 6 [static]
const int messages::Bullet::kExistsFieldNumber = 12 [static]
const int messages::Bullet::kIdFieldNumber = 1 [static]
const int messages::Bullet::kIsVisibleFieldNumber = 13 [static]
const int messages::Bullet::kPlayerFieldNumber = 2 [static]
const int messages::Bullet::kSourceFieldNumber = 4 [static]
const int messages::Bullet::kTargetFieldNumber = 9 [static]
const int messages::Bullet::kTypeFieldNumber = 3 [static]

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