Pol  Revision:cb584c9
Pol::Network::PktHelper::PacketOut< T > Class Template Reference

#include <packethelper.h>

Public Member Functions

 PacketOut ()
 
 ~PacketOut ()
 
T * Get ()
 
T * operator-> (void) const
 
void Release ()
 
void Send (Client *client, int len=-1) const
 
void SendDirect (Client *client, int len=-1) const
 

Private Attributes

T * pkt
 

Detailed Description

template<class T>
class Pol::Network::PktHelper::PacketOut< T >

Definition at line 31 of file packethelper.h.

Constructor & Destructor Documentation

template<class T >
Pol::Network::PktHelper::PacketOut< T >::PacketOut ( )

Definition at line 49 of file packethelper.h.

template<class T >
Pol::Network::PktHelper::PacketOut< T >::~PacketOut ( )

Definition at line 55 of file packethelper.h.

References Pol::Network::PktHelper::ReAddPacket().

Member Function Documentation

template<class T >
T * Pol::Network::PktHelper::PacketOut< T >::Get ( )

Definition at line 95 of file packethelper.h.

Referenced by Pol::Core::Party::send_msg_to_all().

template<class T >
T * Pol::Network::PktHelper::PacketOut< T >::operator-> ( void  ) const

Definition at line 89 of file packethelper.h.

template<class T >
void Pol::Network::PktHelper::PacketOut< T >::Release ( )

Definition at line 62 of file packethelper.h.

References Pol::Network::PktHelper::ReAddPacket().

template<class T >
void Pol::Network::PktHelper::PacketOut< T >::Send ( Client client,
int  len = -1 
) const

Definition at line 69 of file packethelper.h.

References Pol::Network::Client::buffer, Pol::Core::NetworkManager::clientTransmit, and Pol::Core::networkManager.

Referenced by Pol::Core::Map::builtin_on_use(), Pol::Core::cancel_trade(), Pol::Core::client_io_thread(), Pol::Multi::CustomHousesSendShort(), Pol::Multi::CustomHouseStopEditing(), Pol::Core::do_open_trade_window(), Pol::Core::Spellbook::double_click(), Pol::Core::drop_item_v2(), Pol::Core::handle_allnames(), Pol::Core::handle_map_pin(), Pol::Core::handle_processed_speech(), Pol::Core::handle_request_tooltip(), Pol::Core::handle_walk(), Pol::Module::UOExecutorModule::internal_SendCompressedGumpMenu(), Pol::Module::UOExecutorModule::internal_SendUnCompressedGumpMenu(), Pol::Core::login_complete(), Pol::Core::loginserver_login(), Pol::Module::UOExecutorModule::mf_CloseGump(), Pol::Module::UOExecutorModule::mf_CloseWindow(), Pol::Module::OSExecutorModule::mf_OpenURL(), Pol::Module::UOExecutorModule::mf_SelectColor(), Pol::Module::UOExecutorModule::mf_SendBuyWindow(), Pol::Module::UOExecutorModule::mf_SendCharacterRaceChanger(), Pol::Module::UOExecutorModule::mf_SendHousingTool(), Pol::Module::UOExecutorModule::mf_SendInstaResDialog(), Pol::Module::UOExecutorModule::mf_SendOpenBook(), Pol::Module::UOExecutorModule::mf_SendOverallSeason(), Pol::Module::UOExecutorModule::mf_SendPacket(), Pol::Module::UOExecutorModule::mf_SendPopUpMenu(), Pol::Module::UOExecutorModule::mf_SendQuestArrow(), Pol::Module::UOExecutorModule::mf_SendTextEntryGump(), Pol::Module::UOExecutorModule::mf_TargetCancel(), Pol::Core::Party::on_mana_changed(), Pol::Core::Party::on_stam_changed(), Pol::Core::private_say_above(), Pol::Core::private_say_above_cl(), Pol::Core::private_say_above_cl_affix(), Pol::Core::private_say_above_ex(), Pol::Core::process_data(), Pol::Module::read_book_page_handler(), Pol::Mobile::Character::script_method_id(), Pol::Core::select_server(), Pol::Core::send_attributes_normalized(), Pol::Multi::UBoat::send_boat(), Pol::Multi::UBoat::send_boat_newly_inrange(), Pol::Multi::UBoat::send_boat_old(), Pol::Core::send_buff_message(), Pol::Module::send_clear_vendorwindow(), Pol::Core::send_container_contents(), Pol::Core::LosCheckedCoordCursor::send_coord_cursor(), Pol::Core::send_corpse_contents(), Pol::Core::send_corpse_equip(), Pol::Core::send_death_message(), Pol::Multi::UBoat::send_display_boat(), Pol::Core::send_empty_party(), Pol::Network::send_fake_hits(), Pol::Core::send_feature_enable(), Pol::Core::send_fight_occuring(), Pol::Core::send_full_statmsg(), Pol::Core::send_goxyz(), Pol::Mobile::Character::send_highlight(), Pol::Core::send_invite(), Pol::Core::send_item_move_failure(), Pol::Core::send_light(), Pol::Core::send_login_error(), Pol::Core::send_mana_level(), Pol::Core::send_map_difs(), Pol::Core::Party::send_member_list(), Pol::Core::Party::send_member_msg_private(), Pol::Core::Party::send_member_msg_public(), Pol::Core::send_menu(), Pol::Core::send_midi(), Pol::Core::Party::send_msg_to_all(), Pol::Core::send_nametext(), Pol::Core::send_new_subserver(), Pol::Core::send_objdesc(), Pol::Core::TargetCursor::send_object_cursor(), Pol::Core::send_open_gump(), Pol::Core::send_owncreate(), Pol::Core::send_paperdoll(), Pol::Core::MultiPlacementCursor::send_placemulti(), Pol::Core::send_prompt(), Pol::Core::send_realm_change(), Pol::Core::Party::send_remove_member(), Pol::Core::send_season_info(), Pol::Core::send_short_statmsg(), Pol::Core::send_skillmsg(), Pol::Multi::UBoat::send_smooth_move(), Pol::Core::send_spellbook_contents(), Pol::Core::send_stamina_level(), Pol::Core::send_start(), Pol::Core::send_startup(), Pol::Core::send_stat_locks(), Pol::Core::send_sysmessage(), Pol::Core::send_sysmessage_cl(), Pol::Core::send_sysmessage_cl_affix(), Pol::Core::send_tip(), Pol::Core::send_trade_statuses(), Pol::Core::send_unicode_prompt(), Pol::Network::send_uo_hits(), Pol::Network::send_uo_mana(), Pol::Network::send_uo_skill(), Pol::Network::send_uo_stamina(), Pol::Core::send_update_hits_to_inrange(), Pol::Module::send_vendorsell(), Pol::Module::send_vendorwindow_contents(), Pol::Mobile::Character::send_warmode(), Pol::Core::send_weather(), Pol::Core::send_wornitem(), Pol::Core::SendAOSTooltip(), Pol::Core::sendCharProfile(), Pol::Core::SendUnicodeSpeech(), and Pol::Core::SetRegionLightLevel().

template<class T >
void Pol::Network::PktHelper::PacketOut< T >::SendDirect ( Client client,
int  len = -1 
) const

Definition at line 79 of file packethelper.h.

References Pol::Network::Client::transmit().

Member Data Documentation

template<class T>
T* Pol::Network::PktHelper::PacketOut< T >::pkt
private

Definition at line 34 of file packethelper.h.


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