13 #include "../clib/clib_endian.h" 14 #include "../clib/passert.h" 40 for (
unsigned short wx = wxL; wx <=
wxH; ++wx )
42 for (
unsigned short wy = wyL; wy <=
wyH; ++wy )
47 if ( _item !=
nullptr )
53 if ( _item !=
nullptr )
66 item = chr->
trading_with->trade_container()->find( serial );
81 tags +=
"[paralyzed] ";
83 tags +=
"[squelched] ";
85 tags +=
"[deafened] ";
87 tags +=
"[invulnerable]";
104 if ( chr !=
nullptr &&
inrange( client->
chr, chr ) &&
108 send_nametext( client, chr,
"[" + chr->title_guild() +
"]" );
129 if ( client && client->
chr )
void singleclick(Network::Client *client, u32 serial)
void send_nametext(Client *client, const Character *chr, const std::string &str)
Items::Item * find(u32 serial) const
bool inrange(const UObject *c1, unsigned short x, unsigned short y)
Item * find_legal_item(const Character *chr, u32 serial, bool *additlegal, bool *isRemoteContainer)
unsigned short core_handled_tags
ZoneCharacters characters
void zone_convert_clip(int x, int y, const Realms::Realm *realm, unsigned short *wx, unsigned short *wy)
Items::Item * find_legal_singleclick_item(Mobile::Character *chr, u32 serial)
Core::UContainer * trade_container()
Core::CharacterRef trading_with
std::string create_nametags(Mobile::Character *chr)
Mobile::Character * find_character(u32 serial)
SettingsManager settingsManager
bool is_concealed_from_me(const Character *chr) const
void handle_singleclick(Network::Client *client, PKTIN_09 *msg)
bool IsCharacter(u32 serial)
#define passert_always(exp)
virtual std::string name() const
void send_objdesc(Client *client, Item *item)