Pol  Revision:cb584c9
Pol::Core::WorldIterator< Filter > Struct Template Reference

#include <uworld.h>

Static Public Member Functions

template<typename F >
static void InBox (u16 x1, u16 y1, u16 x2, u16 y2, const Realms::Realm *realm, F &&f)
 
template<typename F >
static void InRange (u16 x, u16 y, const Realms::Realm *realm, unsigned range, F &&f)
 
template<typename F >
static void InVisualRange (const UObject *obj, F &&f)
 

Static Protected Member Functions

template<typename F >
static void _forEach (const CoordsArea &coords, const Realms::Realm *realm, F &&f)
 

Detailed Description

template<class Filter>
struct Pol::Core::WorldIterator< Filter >

Definition at line 123 of file uworld.h.

Member Function Documentation

template<class Filter >
template<typename F >
void Pol::Core::WorldIterator< Filter >::_forEach ( const CoordsArea &  coords,
const Realms::Realm realm,
F &&  f 
)
staticprotected

Definition at line 263 of file uworld.h.

References Pol::Realms::Realm::zone.

template<class Filter >
template<typename F >
void Pol::Core::WorldIterator< Filter >::InRange ( u16  x,
u16  y,
const Realms::Realm realm,
unsigned  range,
F &&  f 
)
static

Definition at line 235 of file uworld.h.

Referenced by Pol::Core::BPacket::call_method_id(), Pol::Mobile::Character::CheckPushthrough(), Pol::Multi::CustomHousesSendFullToInRange(), Pol::Core::handle_processed_speech(), Pol::Module::UOExecutorModule::mf_ListGhostsNearLocation(), Pol::Module::UOExecutorModule::mf_ListItemsAtLocation(), Pol::Module::UOExecutorModule::mf_ListItemsNearLocation(), Pol::Module::UOExecutorModule::mf_ListItemsNearLocationOfType(), Pol::Module::UOExecutorModule::mf_ListItemsNearLocationWithFlag(), Pol::Module::UOExecutorModule::mf_ListMobilesInLineOfSight(), Pol::Module::UOExecutorModule::mf_ListMobilesNearLocation(), Pol::Module::UOExecutorModule::mf_ListMobilesNearLocationEx(), Pol::Multi::UBoat::move(), Pol::Multi::UBoat::move_components(), Pol::Core::move_item(), Pol::Multi::UBoat::move_travellers(), Pol::Realms::Realm::notify_entered(), Pol::Realms::Realm::notify_left(), Pol::Realms::Realm::notify_moved(), Pol::Realms::Realm::notify_unhid(), Pol::Core::play_moving_effect2(), Pol::Core::play_moving_effect2_ex(), Pol::Core::play_sound_effect_xyz(), Pol::Core::play_stationary_effect(), Pol::Core::play_stationary_effect_ex(), Pol::Mobile::PropagateMove(), Pol::Realms::Realm::readmultis(), Pol::Core::remove_objects_inrange(), Pol::Mobile::Character::restart_criminal_timer(), Pol::Module::NPCExecutorModule::say(), Pol::Module::NPCExecutorModule::SayUC(), Pol::Multi::UBoat::send_display_boat_to_inrange(), Pol::Core::send_objects_newly_inrange(), Pol::Core::send_objects_newly_inrange_on_boat(), Pol::Multi::UBoat::send_smooth_move_to_inrange(), Pol::Core::SendUnicodeSpeech(), Pol::Multi::UBoat::transform_components(), and Pol::Multi::UBoat::turn_travellers().

template<class Filter >
template<typename F >
void Pol::Core::WorldIterator< Filter >::InVisualRange ( const UObject obj,
F &&  f 
)
static

Definition at line 245 of file uworld.h.

References RANGE_VISUAL, Pol::Core::ULWObject::realm, Pol::Core::UObject::toplevel_owner(), Pol::Core::ULWObject::x, and Pol::Core::ULWObject::y.

Referenced by Pol::Multi::destroy_boat(), Pol::Core::handle_resync_request(), Pol::Module::UOExecutorModule::mf_CreateNpcFromTemplate(), Pol::Core::move_item(), Pol::Mobile::PrivUpdater::on_change_invul(), Pol::Mobile::PrivUpdater::on_change_see_ghosts(), Pol::Mobile::PrivUpdater::on_change_see_hidden(), Pol::Mobile::PrivUpdater::on_change_see_invis_items(), Pol::Mobile::Character::on_death(), Pol::Mobile::Character::on_poison_changed(), Pol::Core::play_lightning_bolt_effect(), Pol::Core::play_moving_effect(), Pol::Core::play_moving_effect_ex(), Pol::Core::play_object_centered_effect(), Pol::Core::play_object_centered_effect_ex(), Pol::Core::play_sound_effect(), Pol::Mobile::PropagateMove(), Pol::Core::remove_objects_inrange(), Pol::Mobile::Character::resurrect(), Pol::Core::send_action_to_inrange(), Pol::Core::send_corpse_equip_inrange(), Pol::Core::send_create_mobile_to_nearby_cansee(), Pol::Core::send_death_message(), Pol::Core::send_inrange_items(), Pol::Core::send_inrange_multis(), Pol::Core::send_item_to_inrange(), Pol::Core::send_move_mobile_to_nearby_cansee(), Pol::Core::send_multi_to_inrange(), Pol::Core::send_object_cache_to_inrange(), Pol::Core::send_objects_newly_inrange(), Pol::Core::send_objects_newly_inrange_on_boat(), Pol::Core::send_remove_character_to_nearby(), Pol::Core::send_remove_character_to_nearby_cansee(), Pol::Core::send_remove_character_to_nearby_cantsee(), Pol::Core::send_remove_object_to_inrange(), Pol::Mobile::Character::set_warmode(), Pol::Core::textcmd_flag1(), Pol::Core::textcmd_flag2(), Pol::Core::textcmd_resendchars(), Pol::Core::transmit_to_inrange(), Pol::Core::transmit_to_others_inrange(), and Pol::Mobile::Character::unhide().


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