player_quiver Class Reference

#include <quiver.h>

Collaboration diagram for player_quiver:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 player_quiver ()
void get_desired_item (const item_def **item_out, int *slot_out) const
int get_fire_item (std::string *no_item_reason=0) const
void get_fire_order (std::vector< int > &v) const
void set_quiver (const item_def &item, ammo_t ammo_type)
void empty_quiver (ammo_t ammo_type)
void on_item_fired (const item_def &item, bool explicitly_chosen=false)
void on_item_fired_fi (const item_def &item)
void on_inv_quantity_changed (int slot, int amt)
void on_weapon_changed ()
void save (writer &) const
void load (reader &)

Friends

class preserve_quiver_slots


Constructor & Destructor Documentation

player_quiver::player_quiver (  ) 


Member Function Documentation

void player_quiver::get_desired_item ( const item_def **  item_out,
int *  slot_out 
) const

int player_quiver::get_fire_item ( std::string no_item_reason = 0  )  const

Here is the call graph for this function:

void player_quiver::get_fire_order ( std::vector< int > &  v  )  const

Here is the call graph for this function:

void player_quiver::set_quiver ( const item_def item,
ammo_t  ammo_type 
)

void player_quiver::empty_quiver ( ammo_t  ammo_type  ) 

Here is the call graph for this function:

void player_quiver::on_item_fired ( const item_def item,
bool  explicitly_chosen = false 
)

Here is the call graph for this function:

void player_quiver::on_item_fired_fi ( const item_def item  ) 

Here is the call graph for this function:

void player_quiver::on_inv_quantity_changed ( int  slot,
int  amt 
)

Here is the call graph for this function:

void player_quiver::on_weapon_changed (  ) 

Here is the call graph for this function:

void player_quiver::save ( writer outf  )  const

Here is the call graph for this function:

void player_quiver::load ( reader inf  ) 

Here is the call graph for this function:


Friends And Related Function Documentation

friend class preserve_quiver_slots [friend]


The documentation for this class was generated from the following files:

Generated on Thu Jan 13 13:41:14 2011 by  doxygen 1.5.6