|
Pol
Rev 533
|
#include <target.h>
Inheritance diagram for TargetCursor:Public Member Functions | |
| TargetCursor (bool inform_on_cancel) | |
| virtual | ~TargetCursor () |
| void | cancel (Character *chr) |
| void | handle_target_cursor (Character *targetter, PKTBI_6C *msg) |
| virtual void | on_target_cursor (Character *targetter, PKTBI_6C *msg)=0 |
| bool | send_object_cursor (Client *client, PKTBI_6C::CURSOR_TYPE crstype=PKTBI_6C::CURSOR_TYPE_NEUTRAL) |
Public Attributes | |
| u32 | cursorid_ |
Protected Attributes | |
| bool | inform_on_cancel_ |
| TargetCursor::TargetCursor | ( | bool | inform_on_cancel | ) | [explicit] |
Definition at line 126 of file target.cpp.
References cursorid_, cursorid_count, and MAX_CURSORS.
| virtual TargetCursor::~TargetCursor | ( | ) | [inline, virtual] |
| void TargetCursor::cancel | ( | Character * | chr | ) |
Definition at line 165 of file target.cpp.
References inform_on_cancel_, on_target_cursor(), and Character::tcursor2.
Referenced by handle_target_cursor().
Here is the call graph for this function:
Here is the caller graph for this function:| void TargetCursor::handle_target_cursor | ( | Character * | targetter, |
| PKTBI_6C * | msg | ||
| ) |
Definition at line 172 of file target.cpp.
References cancel(), cfBEu32, Character::client, PKTBI_6C::cursor_type, Character::dead(), find_character(), Character::frozen(), Client::gd, Character::is_visible_to_me(), ClientGameData::justice_region, on_target_cursor(), Character::paralyzed(), POLCLASS_MOBILE, POLCLASS_NPC, private_say_above(), JusticeRegion::RunNoCombatCheck(), UObject::script_isa(), PKTBI_6C::selected_serial, send_sysmessage(), Character::setting_enabled(), system_find_object(), and PKTBI_6C::x.
Referenced by handle_target_cursor().
Here is the call graph for this function:
Here is the caller graph for this function:| virtual void TargetCursor::on_target_cursor | ( | Character * | targetter, |
| PKTBI_6C * | msg | ||
| ) | [pure virtual] |
Implemented in NoLosUObjectCursor, NoLosCharacterCursor, MultiPlacementCursor, LosCheckedCoordCursor, NoLosCheckedTargetCursor, LosCheckedTargetCursor, and FullMsgTargetCursor.
Referenced by cancel(), and handle_target_cursor().
Here is the caller graph for this function:| bool TargetCursor::send_object_cursor | ( | Client * | client, |
| PKTBI_6C::CURSOR_TYPE | crstype = PKTBI_6C::CURSOR_TYPE_NEUTRAL |
||
| ) |
Definition at line 145 of file target.cpp.
References PacketWriterDefs::PacketWriter< _id, _size, _sub >::buffer, Client::chr, cursorid_, PktHelper::PacketOut< T >::Send(), Character::target_cursor_busy(), Character::tcursor2, PKTBI_6C::UNK1_00, PacketWriterDefs::PacketWriter< _id, _size, _sub >::Write(), and PacketWriterDefs::PacketWriter< _id, _size, _sub >::WriteFlipped().
Referenced by handle_add(), handle_remove(), textcmd_ident(), textcmd_repdata(), textcmd_startlog(), and textcmd_stoplog().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 38 of file target.h.
Referenced by LosCheckedCoordCursor::send_coord_cursor(), send_object_cursor(), MultiPlacementCursor::send_placemulti(), and TargetCursor().
bool TargetCursor::inform_on_cancel_ [protected] |
Definition at line 41 of file target.h.
Referenced by cancel(), LosCheckedTargetCursor::on_target_cursor(), NoLosCheckedTargetCursor::on_target_cursor(), and NoLosUObjectCursor::on_target_cursor().