Pol
Revision:cb584c9
|
Namespaces | |
PacketWriterDefs | |
PktHelper | |
Pol | |
Classes | |
class | AddItemContainerMsg |
class | AuxClientThread |
class | AuxConnection |
class | AuxService |
class | Client |
struct | ClientAttributeUpdaters |
class | ClientGameData |
class | ClientInterface |
class | ClientTransmit |
struct | ClientVitalUpdaters |
struct | ExtMsgHandler |
class | GraphicEffectExPkt |
class | GraphicEffectPkt |
class | HealthBarStatusUpdate |
class | IOStats |
struct | IPRule |
class | MobileAnimationMsg |
class | MoveChrPkt |
struct | MSG_HANDLER |
class | ObjRevisionPkt |
class | PacketHookData |
class | PacketInterface |
class | PacketQueue |
class | PacketRegistry |
class | PacketsSingleton |
struct | PacketThrottler |
class | PktSender |
class | PlaySoundPkt |
struct | PolSocket |
class | RemoveObjectPkt |
class | SendDamagePkt |
class | SendWorldItem |
class | SendWorldMulti |
struct | TransmitData |
class | UOClientInterface |
struct | VersionDetailStruct |
Enumerations | |
enum | ClientTypeFlag { CLIENTTYPE_4000 = 0x1, CLIENTTYPE_4070 = 0x2, CLIENTTYPE_5000 = 0x4, CLIENTTYPE_5020 = 0x8, CLIENTTYPE_6017 = 0x10, CLIENTTYPE_60142 = 0x20, CLIENTTYPE_UOKR = 0x40, CLIENTTYPE_7000 = 0x80, CLIENTTYPE_UOSA = 0x100, CLIENTTYPE_7090 = 0x200, CLIENTTYPE_70130 = 0x400, CLIENTTYPE_70300 = 0x800, CLIENTTYPE_70331 = 0x1000 } |
enum | PacketVersion { PacketVersion::V1 = 1, PacketVersion::V2 = 2, PacketVersion::Default = V1 } |
enum | UEXTMSGID { EXTMSGID_SKILL = 0x24, EXTMSGID_CASTSPELL1 = 0x27, EXTMSGID_SPELLBOOK = 0x43, EXTMSGID_CASTSPELL2 = 0x56, EXTMSGID_OPENDOOR = 0x58, EXTMSGID_ACTION = 0xC7 } |
Variables | |
const u16 | AOS = 0x04 |
const struct VersionDetailStruct | CLIENT_VER_4000 = {4, 0, 0, 0} |
const struct VersionDetailStruct | CLIENT_VER_4070 = {4, 0, 7, 0} |
const struct VersionDetailStruct | CLIENT_VER_5000 = {5, 0, 0, 0} |
const struct VersionDetailStruct | CLIENT_VER_5020 = {5, 0, 2, 0} |
const struct VersionDetailStruct | CLIENT_VER_60142 = {6, 0, 14, 2} |
const struct VersionDetailStruct | CLIENT_VER_6017 = {6, 0, 1, 7} |
const struct VersionDetailStruct | CLIENT_VER_7000 = {7, 0, 0, 0} |
const struct VersionDetailStruct | CLIENT_VER_70130 = {7, 0, 13, 0} |
const struct VersionDetailStruct | CLIENT_VER_70300 = {7, 0, 30, 0} |
const struct VersionDetailStruct | CLIENT_VER_70331 = {7, 0, 33, 1} |
const struct VersionDetailStruct | CLIENT_VER_7090 = {7, 0, 9, 0} |
const u8 | FLAG_GENDER = 0x01 |
const u8 | FLAG_RACE = 0x02 |
const u16 | HSA = 0x80 |
const u16 | KR |
const u16 | LBR = 0x02 |
const u16 | ML = 0x10 |
static const unsigned char | pause_pre_encrypted [2] = {0x4F, 0xFA} |
static const unsigned char | restart_pre_encrypted [2] = {0x4C, 0xD0} |
const u16 | SA |
const u16 | SE = 0x08 |
const u16 | T2A = 0x01 |
const u16 | TOL |
Definition at line 32 of file clienttransmit.h.
typedef PacketWriterDefs::EmptyBufferTemplate<ENCRYPTEDPKTBUFFER, 0xFFFF> Pol::Network::EncryptedPktBuffer |
typedef std::queue<PacketInterface*> Pol::Network::PacketInterfaceQueue |
Definition at line 28 of file packetinterface.h.
typedef std::map<u16, PacketInterfaceQueue> Pol::Network::PacketInterfaceQueueMap |
Definition at line 29 of file packetinterface.h.
typedef std::pair<u16, PacketInterfaceQueue> Pol::Network::PacketInterfaceQueuePair |
Definition at line 30 of file packetinterface.h.
typedef std::map<u8, PacketQueue*> Pol::Network::PacketQueueMap |
Definition at line 57 of file packetinterface.h.
typedef std::pair<u8, PacketQueue*> Pol::Network::PacketQueuePair |
Definition at line 56 of file packetinterface.h.
typedef void( * Pol::Network::PktHandlerFunc) (Client *client, void *msg) |
Definition at line 29 of file msghandl.h.
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_1C_ID, 44 + SPEECH_MAX_LEN + 1> Pol::Network::PktOut_1C |
typedef PacketWriterDefs::PacketTemplate<Core::PKTBI_3A_ID, 6 + 100 * 9> Pol::Network::PktOut_3A |
typedef PacketWriterDefs::PacketTemplate<Core::PKTBI_66_ID, 0xFFFF> Pol::Network::PktOut_66 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_74_ID, 0xFFFF> Pol::Network::PktOut_74 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_78_ID, 19 + ( 9 * Core::HIGHEST_LAYER ) + 4> Pol::Network::PktOut_78 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_89_ID, 7 + ( 5 * ( Core::NUM_LAYERS + 1 ) ) + 1> Pol::Network::PktOut_89 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_9E_ID, 0xFFFF> Pol::Network::PktOut_9E |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_AE_ID, ( SPEECH_MAX_LEN + 1 ) * 2 + 48> Pol::Network::PktOut_AE |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_B0_ID, 0xFFFF> Pol::Network::PktOut_B0 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTBI_B8_OUT_ID, 7 + 5 * ( SPEECH_MAX_LEN + 1 )> Pol::Network::PktOut_B8 |
typedef PacketWriterDefs::PacketTemplateSub<Core::PKTBI_BF_ID, 3, Core::PKTBI_BF::TYPE_DISPLAY_POPUP_MENU, 0xFFFF> Pol::Network::PktOut_BF_Sub14 |
typedef PacketWriterDefs::PacketTemplateSub<Core::PKTBI_BF_ID, 3, Core::PKTBI_BF::TYPE_PARTY_SYSTEM, 0xFFFF> Pol::Network::PktOut_BF_Sub6 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_C1_ID, 48 + ( SPEECH_MAX_LEN + 1 ) + 2> Pol::Network::PktOut_C1 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_CC_ID, 49 + ( SPEECH_MAX_LEN + 1 ) * 2 + SPEECH_MAX_LEN + 1> Pol::Network::PktOut_CC |
typedef PacketWriterDefs::PacketTemplate<Core::PKTBI_D6_OUT_ID, 0xFFFF> Pol::Network::PktOut_D6 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_DD_ID, 0xFFFF> Pol::Network::PktOut_DD |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_DF_ID, 0xFFFF> Pol::Network::PktOut_DF |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_F6_ID, 0xFFFF> Pol::Network::PktOut_F6 |
typedef PacketWriterDefs::PacketTemplate<Core::PKTOUT_F7_ID, 0xFFFF> Pol::Network::PktOut_F7 |
typedef std::unique_ptr<TransmitData> Pol::Network::TransmitDataSPtr |
Definition at line 31 of file clienttransmit.h.
|
strong |
Enumerator | |
---|---|
V1 | |
V2 | |
Default |
Definition at line 22 of file msghandl.h.
Enumerator | |
---|---|
EXTMSGID_SKILL | |
EXTMSGID_CASTSPELL1 | |
EXTMSGID_SPELLBOOK | |
EXTMSGID_CASTSPELL2 | |
EXTMSGID_OPENDOOR | |
EXTMSGID_ACTION |
Definition at line 38 of file msghandl.h.
const char * Pol::Network::AddressToString | ( | struct sockaddr * | addr | ) |
Definition at line 212 of file sockio.cpp.
References DWORD().
Referenced by Pol::Core::check_incoming_data(), Pol::Core::client_io_thread(), Pol::Core::ClientCreateChar(), Pol::Core::ClientCreateChar70160(), Pol::Core::ClientCreateCharKR(), Pol::Core::UoClientThread::create(), Pol::Core::http_thread(), Pol::Network::Client::ipaddrAsString(), Pol::Core::login2(), Pol::Core::loginserver_login(), Pol::Core::process_data(), and Pol::Core::threadstatus_thread().
void Pol::Network::apply_socket_options | ( | SOCKET | sck | ) |
Definition at line 143 of file sockio.cpp.
References Pol::Clib::decint().
Referenced by Pol::Core::check_incoming_data(), Pol::Core::http_thread(), and open_listen_socket().
void Pol::Network::aux_service_thread_stub | ( | void * | arg | ) |
Definition at line 298 of file auxclient.cpp.
References Pol::Network::AuxService::run().
Referenced by start_aux_services().
void Pol::Network::CallOutgoingPacketExportedFunction | ( | Client * | client, |
const void *& | data, | ||
int & | inlength, | ||
ref_ptr< Core::BPacket > & | outpacket, | ||
PacketHookData * | phd, | ||
bool & | handled | ||
) |
Definition at line 163 of file packethooks.cpp.
References Pol::Core::ExportedFunction::call(), cfBEu16, Pol::Network::Client::chr, data, ref_ptr< T >::get(), is_fixed_length(), Pol::Network::PacketHookData::length, Pol::Network::Client::make_ref(), Pol::Mobile::Character::make_ref(), Pol::Network::PacketHookData::outgoing_function, and ref_ptr< T >::set().
Referenced by Pol::Network::Client::transmit().
void Pol::Network::clean_packethooks | ( | ) |
Definition at line 492 of file packethooks.cpp.
References Pol::Core::networkManager, Pol::Core::NetworkManager::packet_hook_data, and Pol::Core::NetworkManager::packet_hook_data_v2.
Referenced by Pol::Core::NetworkManager::deinialize().
void Pol::Network::ClientTransmitThread | ( | ) |
Definition at line 55 of file clienttransmit.cpp.
References Pol::Core::NetworkManager::clientTransmit, data, Pol::Network::Client::Delete(), Pol::Clib::exit_signalled, Pol::Core::networkManager, and Pol::Network::ClientTransmit::NextQueueEntry().
Referenced by Pol::Core::start_threads().
bool Pol::Network::CompareVersionDetail | ( | VersionDetailStruct | ver1, |
VersionDetailStruct | ver2 | ||
) |
Definition at line 539 of file packethooks.cpp.
References Pol::Network::VersionDetailStruct::major, Pol::Network::VersionDetailStruct::minor, Pol::Network::VersionDetailStruct::patch, and Pol::Network::VersionDetailStruct::rev.
Referenced by get_packethook().
int Pol::Network::deinit_sockets_library | ( | void | ) |
Definition at line 116 of file sockio.cpp.
References POLLOG_ERROR.
Referenced by Pol::Core::NetworkManager::deinialize().
void Pol::Network::disable_nagle | ( | SOCKET | sck | ) |
Definition at line 131 of file sockio.cpp.
References Pol::Clib::decint().
Referenced by Pol::Core::check_incoming_data(), and open_listen_socket().
void Pol::Network::ExportedPacketHookHandler | ( | Client * | client, |
void * | data | ||
) |
Definition at line 83 of file packethooks.cpp.
References Pol::Core::ExportedFunction::call(), cfBEu16, Pol::Network::Client::chr, data, Pol::Network::PacketHookData::default_handler, Pol::Network::PacketHookData::function, ref_ptr< T >::get(), get_packethook(), GetSubCmd(), is_fixed_length(), Pol::Network::PacketHookData::length, Pol::Network::Client::make_ref(), Pol::Mobile::Character::make_ref(), POLLOG, and Pol::Network::PacketHookData::SubCommands.
Referenced by load_packet_entries().
PacketHookData* Pol::Network::get_packethook | ( | u8 | msgid, |
PacketVersion | version = PacketVersion::Default |
||
) |
Definition at line 63 of file packethooks.cpp.
References Pol::Core::networkManager, Pol::Core::NetworkManager::packet_hook_data, Pol::Core::NetworkManager::packet_hook_data_v2, and V2.
Referenced by ExportedPacketHookHandler(), get_packethook(), GetAndCheckPacketHooked(), load_packet_entries(), load_subpacket_entries(), and packethook_warn_if_previously_defined().
PacketHookData* Pol::Network::get_packethook | ( | u8 | msgid, |
const Client * | client | ||
) |
Definition at line 72 of file packethooks.cpp.
References Pol::Network::PacketHookData::client_ver, CompareVersionDetail(), Default, get_packethook(), Pol::Network::Client::getversiondetail(), V2, and Pol::Network::PacketHookData::version.
bool Pol::Network::GetAndCheckPacketHooked | ( | Client * | client, |
const void *& | data, | ||
PacketHookData *& | phd | ||
) |
Definition at line 218 of file packethooks.cpp.
References data, get_packethook(), GetSubCmd(), Pol::Network::PacketHookData::outgoing_function, and Pol::Network::PacketHookData::SubCommands.
Referenced by Pol::Network::Client::transmit().
u32 Pol::Network::GetSubCmd | ( | const unsigned char * | message, |
PacketHookData * | phd | ||
) |
Definition at line 44 of file packethooks.cpp.
References cfBEu16, cfBEu32, Pol::Network::PacketHookData::sub_command_length, and Pol::Network::PacketHookData::sub_command_offset.
Referenced by ExportedPacketHookHandler(), and GetAndCheckPacketHooked().
int Pol::Network::init_sockets_library | ( | void | ) |
Definition at line 88 of file sockio.cpp.
References Pol::Core::networkManager, POLLOG_ERROR, search_name(), and socket_errno.
Referenced by Pol::xmain_inner().
void Pol::Network::initialize_client_interfaces | ( | ) |
Definition at line 34 of file cliface.cpp.
References Pol::Core::networkManager, and Pol::Core::NetworkManager::uo_client_interface.
Referenced by Pol::Core::load_data().
bool Pol::Network::is_banned_ip | ( | Client * | client | ) |
Definition at line 21 of file bannedips.cpp.
References Pol::Core::NetworkManager::banned_ips, Pol::Network::Client::ipaddr, and Pol::Core::networkManager.
Referenced by Pol::Core::login2(), and Pol::Core::loginserver_login().
|
static |
Definition at line 57 of file packethooks.cpp.
References Pol::Network::PacketHookData::length.
Referenced by CallOutgoingPacketExportedFunction(), and ExportedPacketHookHandler().
void Pol::Network::load_aux_services | ( | ) |
Definition at line 318 of file auxclient.cpp.
References load_auxservice_entry(), and Pol::Plib::load_packaged_cfgs().
Referenced by Pol::xmain_inner().
void Pol::Network::load_auxservice_entry | ( | const Plib::Package * | pkg, |
Clib::ConfigElem & | elem | ||
) |
Definition at line 313 of file auxclient.cpp.
References Pol::Network::AuxService::AuxService(), Pol::Core::NetworkManager::auxservices, and Pol::Core::networkManager.
Referenced by load_aux_services().
void Pol::Network::load_packet_entries | ( | const Plib::Package * | pkg, |
Clib::ConfigElem & | elem | ||
) |
Definition at line 306 of file packethooks.cpp.
References Pol::Network::PacketHookData::client_ver, Pol::Network::PacketHookData::default_handler, ExportedPacketHookHandler(), Pol::Core::FindExportedFunction(), Pol::Network::PacketHookData::function, Pol::Network::PacketRegistry::get_callback(), get_packethook(), Pol::Clib::ConfigElem::has_prop(), Pol::Network::PacketHookData::length, load_packethook_length(), load_packethook_version(), Pol::Network::PacketHookData::outgoing_function, packethook_warn_if_previously_defined(), Pol::Clib::ConfigElem::remove_prop(), Pol::Clib::ConfigElem::remove_string(), Pol::Clib::ConfigElemBase::rest(), Pol::Network::PacketRegistry::set_handler(), SetVersionDetailStruct(), Pol::Network::PacketHookData::sub_command_length, Pol::Network::PacketHookData::sub_command_offset, Pol::Clib::ConfigElem::throw_error(), Pol::Clib::ConfigElemBase::type(), and Pol::Network::PacketHookData::version.
Referenced by load_packet_hooks().
void Pol::Network::load_packet_hooks | ( | ) |
Definition at line 438 of file packethooks.cpp.
References Pol::Plib::load_packaged_cfgs(), load_packet_entries(), and load_subpacket_entries().
Referenced by Pol::xmain_inner().
|
static |
Definition at line 265 of file packethooks.cpp.
References MSGLEN_2BYTELEN_DATA, Pol::Clib::ConfigElem::remove_prop(), and Pol::Clib::ConfigElem::throw_error().
Referenced by load_packet_entries().
|
static |
Definition at line 247 of file packethooks.cpp.
References Pol::Clib::ConfigElem::remove_prop(), Pol::Clib::ConfigElem::throw_error(), V1, and V2.
Referenced by load_packet_entries(), and load_subpacket_entries().
void Pol::Network::load_subpacket_entries | ( | const Plib::Package * | pkg, |
Clib::ConfigElem & | elem | ||
) |
Definition at line 382 of file packethooks.cpp.
References Pol::Network::PacketHookData::client_ver, Pol::Network::PacketHookData::default_handler, Pol::Core::FindExportedFunction(), Pol::Network::PacketHookData::function, get_packethook(), Pol::Clib::ConfigElem::has_prop(), Pol::Clib::hexint(), Pol::Network::PacketHookData::length, load_packethook_version(), Pol::Network::PacketHookData::outgoing_function, packethook_assert_valid_parent(), Pol::Clib::ConfigElem::remove_string(), Pol::Clib::ConfigElem::remove_ushort(), Pol::Clib::ConfigElemBase::rest(), SetVersionDetailStruct(), Pol::Network::PacketHookData::SubCommands, Pol::Clib::ConfigElem::throw_error(), Pol::Clib::ConfigElemBase::type(), and Pol::Network::PacketHookData::version.
Referenced by load_packet_hooks().
SOCKET Pol::Network::open_listen_socket | ( | unsigned short | port | ) |
Definition at line 159 of file sockio.cpp.
References apply_socket_options(), ctBEu16, Pol::Clib::decint(), disable_nagle(), and INVALID_SOCKET.
Referenced by Pol::Core::http_thread(), and Pol::xmain_inner().
|
static |
Definition at line 370 of file packethooks.cpp.
References Pol::Clib::hexint(), Pol::Network::PacketHookData::sub_command_length, Pol::Network::PacketHookData::sub_command_offset, and Pol::Clib::ConfigElem::throw_error().
Referenced by load_subpacket_entries().
|
static |
Definition at line 291 of file packethooks.cpp.
References Pol::Network::PacketHookData::function, get_packethook(), Pol::Network::PacketHookData::outgoing_function, and POLLOG.
Referenced by load_packet_entries().
void Pol::Network::read_bannedips_config | ( | bool | initial_load | ) |
Definition at line 45 of file bannedips.cpp.
References Pol::Core::NetworkManager::banned_ips, Pol::Clib::FileExists(), Pol::Network::IPRule::ipMask, Pol::Network::IPRule::ipMatch, Pol::Core::networkManager, Pol::Clib::ConfigFile::read(), and Pol::Clib::ConfigElem::remove_string().
Referenced by Pol::Core::reload_configuration(), and Pol::xmain_inner().
void Pol::Network::search_name | ( | const char * | hostname | ) |
Definition at line 44 of file sockio.cpp.
References Pol::Core::networkManager, POLLOG_INFO, set_ip_address(), and set_lan_address().
Referenced by init_sockets_library().
void Pol::Network::send_fake_hits | ( | Client * | client, |
Mobile::Character * | me, | ||
const Core::Vital * | vital | ||
) |
Just like send_uo_hits, but sends hits on a 1000-basis instead.
Definition at line 92 of file cliface.cpp.
References Pol::Mobile::VitalValue::current_thousands(), Pol::Network::PktHelper::PacketOut< T >::Send(), Pol::Core::UObject::serial_ext, Pol::Mobile::Character::vital(), and Pol::Core::Vital::vitalid.
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::send_uo_dexterity | ( | Client * | client, |
Mobile::Character * | me, | ||
const Mobile::Attribute * | |||
) |
Definition at line 158 of file cliface.cpp.
References Pol::Core::send_full_statmsg().
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::send_uo_hits | ( | Client * | client, |
Mobile::Character * | me, | ||
const Core::Vital * | vital | ||
) |
Definition at line 101 of file cliface.cpp.
References Pol::Mobile::VitalValue::current_ones(), Pol::Mobile::VitalValue::maximum_ones(), Pol::Network::PktHelper::PacketOut< T >::Send(), Pol::Core::UObject::serial_ext, Pol::Mobile::Character::vital(), and Pol::Core::Vital::vitalid.
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::send_uo_intelligence | ( | Client * | client, |
Mobile::Character * | me, | ||
const Mobile::Attribute * | |||
) |
Definition at line 162 of file cliface.cpp.
References Pol::Core::send_full_statmsg().
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::send_uo_mana | ( | Client * | client, |
Mobile::Character * | me, | ||
const Core::Vital * | vital | ||
) |
Definition at line 117 of file cliface.cpp.
References Pol::Mobile::VitalValue::current_ones(), Pol::Mobile::VitalValue::maximum_ones(), Pol::Network::PktHelper::PacketOut< T >::Send(), Pol::Core::UObject::serial_ext, Pol::Mobile::Character::vital(), and Pol::Core::Vital::vitalid.
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::send_uo_skill | ( | Client * | client, |
Mobile::Character * | me, | ||
const Mobile::Attribute * | attr | ||
) |
Definition at line 167 of file cliface.cpp.
References Pol::Mobile::Character::attribute(), Pol::Network::ClientInterface::attribute_updaters, Pol::Mobile::Attribute::attrid, Pol::Network::Client::Interface, Pol::Network::ClientAttributeUpdaters::pUOSkill, Pol::Network::PktHelper::PacketOut< T >::Send(), Pol::Core::settingsManager, Pol::Core::PKTBI_3A_VALUES::SINGLE_SKILL, Pol::Core::PKTBI_3A_VALUES::SINGLE_SKILL_CAP, and Pol::Core::UOSkill::skillid.
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::send_uo_stamina | ( | Client * | client, |
Mobile::Character * | me, | ||
const Core::Vital * | vital | ||
) |
Definition at line 136 of file cliface.cpp.
References Pol::Mobile::VitalValue::current_ones(), Pol::Mobile::VitalValue::maximum_ones(), Pol::Network::PktHelper::PacketOut< T >::Send(), Pol::Core::UObject::serial_ext, Pol::Mobile::Character::vital(), and Pol::Core::Vital::vitalid.
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::send_uo_strength | ( | Client * | client, |
Mobile::Character * | me, | ||
const Mobile::Attribute * | |||
) |
Definition at line 154 of file cliface.cpp.
References Pol::Core::send_full_statmsg().
Referenced by Pol::Network::UOClientInterface::Initialize().
void Pol::Network::set_ip_address | ( | const char * | ip | ) |
Definition at line 33 of file sockio.cpp.
References Pol::Core::NetworkManager::ipaddr_str, Pol::Core::networkManager, POLLOG_INFO, and strzcpy.
Referenced by search_name().
void Pol::Network::set_lan_address | ( | const char * | ip | ) |
Definition at line 38 of file sockio.cpp.
References Pol::Core::NetworkManager::lanaddr_str, Pol::Core::networkManager, POLLOG_INFO, and strzcpy.
Referenced by search_name().
void Pol::Network::SetVersionDetailStruct | ( | const std::string & | ver, |
VersionDetailStruct & | detail | ||
) |
Definition at line 498 of file packethooks.cpp.
References Pol::Network::VersionDetailStruct::major, Pol::Network::VersionDetailStruct::minor, Pol::Network::VersionDetailStruct::patch, POLLOG_ERROR, and Pol::Network::VersionDetailStruct::rev.
Referenced by load_packet_entries(), and load_subpacket_entries().
void Pol::Network::start_aux_services | ( | ) |
Definition at line 304 of file auxclient.cpp.
References aux_service_thread_stub(), Pol::Core::NetworkManager::auxservices, Pol::Core::networkManager, and Pol::threadhelp::start_thread().
Referenced by Pol::xmain_inner().
void Pol::Network::transmit | ( | Client * | client, |
const void * | data, | ||
int | len | ||
) |
Definition at line 291 of file clientio.cpp.
References Pol::Core::NetworkManager::clientTransmit, and Pol::Core::networkManager.
Referenced by Pol::Core::handle_keep_alive(), Pol::Core::handle_mode_set(), and Pol::Core::send_trade_statuses().
const u16 Pol::Network::AOS = 0x04 |
Definition at line 75 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::Spellbook::double_click(), Pol::Core::handle_client_version(), Pol::Core::handle_msg_BF(), Pol::Module::UOExecutorModule::mf_SendHousingTool(), Pol::Mobile::Character::on_aos_ext_stat_changed(), Pol::Network::ObjRevisionPkt::Send(), Pol::Core::send_container_contents(), Pol::Core::send_feature_enable(), Pol::Core::send_full_statmsg(), Pol::Core::send_item(), Pol::Core::send_multi_if_newly_inrange(), Pol::Core::send_owncreate(), Pol::Core::send_paperdoll(), Pol::Core::send_put_in_container(), Pol::Core::send_start(), Pol::Core::send_wornitem(), and Pol::Accounts::Account::uo_expansion().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_4000 = {4, 0, 0, 0} |
Definition at line 99 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_4070 = {4, 0, 7, 0} |
Definition at line 100 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_5000 = {5, 0, 0, 0} |
Definition at line 101 of file client.h.
Referenced by Pol::Core::handle_client_version(), Pol::Core::handle_ef_seed(), and Pol::Module::UOExecutorModule::mf_SendGumpMenu().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_5020 = {5, 0, 2, 0} |
Definition at line 102 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_60142 = {6, 0, 14, 2} |
Definition at line 104 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_6017 = {6, 0, 1, 7} |
Definition at line 103 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_7000 = {7, 0, 0, 0} |
Definition at line 105 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_70130 = {7, 0, 13, 0} |
Definition at line 107 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_70300 = {7, 0, 30, 0} |
Definition at line 108 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_70331 = {7, 0, 33, 1} |
Definition at line 109 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const struct VersionDetailStruct Pol::Network::CLIENT_VER_7090 = {7, 0, 9, 0} |
Definition at line 106 of file client.h.
Referenced by Pol::Core::handle_client_version(), and Pol::Core::handle_ef_seed().
const u8 Pol::Network::FLAG_GENDER = 0x01 |
Definition at line 88 of file client.h.
Referenced by Pol::Core::ClientCreateChar(), and Pol::Core::ClientCreateChar70160().
const u8 Pol::Network::FLAG_RACE = 0x02 |
Definition at line 89 of file client.h.
Referenced by Pol::Core::ClientCreateChar(), and Pol::Core::ClientCreateChar70160().
const u16 Pol::Network::HSA = 0x80 |
Definition at line 82 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::send_feature_enable(), and Pol::Accounts::Account::uo_expansion().
const u16 Pol::Network::KR |
Definition at line 78 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::send_feature_enable(), and Pol::Accounts::Account::uo_expansion().
const u16 Pol::Network::LBR = 0x02 |
Definition at line 74 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::send_feature_enable(), and Pol::Accounts::Account::uo_expansion().
const u16 Pol::Network::ML = 0x10 |
Definition at line 77 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::Spellbook::double_click(), Pol::Core::send_feature_enable(), Pol::Core::send_full_statmsg(), and Pol::Accounts::Account::uo_expansion().
|
static |
Definition at line 609 of file client.cpp.
|
static |
Definition at line 611 of file client.cpp.
const u16 Pol::Network::SA |
Definition at line 80 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::Spellbook::double_click(), Pol::Core::send_feature_enable(), and Pol::Accounts::Account::uo_expansion().
const u16 Pol::Network::SE = 0x08 |
Definition at line 76 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::Spellbook::double_click(), Pol::Core::send_feature_enable(), and Pol::Accounts::Account::uo_expansion().
const u16 Pol::Network::T2A = 0x01 |
Definition at line 73 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::send_feature_enable(), and Pol::Accounts::Account::uo_expansion().
const u16 Pol::Network::TOL |
Definition at line 84 of file client.h.
Referenced by Pol::Accounts::Account::convert_uo_expansion(), Pol::Core::send_feature_enable(), and Pol::Accounts::Account::uo_expansion().