void LLUrlEntryGroup::onGroupNameReceived(const LLUUID& id, const std::string& name, bool is_group) { // received the group name from the server - tell our observers callObservers(id.asString(), name, mIcon); }
void LLUrlEntryAgentName::onAvatarNameCache(const LLUUID& id, const LLAvatarName& av_name) { std::string label = getName(av_name); // received the agent name from the server - tell our observers callObservers(id.asString(), label, mIcon); }
void LLUrlEntryExperienceProfile::onExperienceDetails( const LLSD& experience_details ) { std::string name = experience_details[LLExperienceCache::NAME].asString(); if(name.empty()) { name = LLTrans::getString("ExperienceNameUntitled"); } callObservers(experience_details[LLExperienceCache::EXPERIENCE_ID].asString(), name, LLStringUtil::null); }
void LLUrlEntryAgent::onAvatarNameCache(const LLUUID& id, const LLAvatarName& av_name) { mAvatarNameCacheConnection.disconnect(); std::string label = av_name.getCompleteName(); // received the agent name from the server - tell our observers callObservers(id.asString(), label, mIcon); }
void LLUrlEntryAgentName::onAvatarNameCache(const LLUUID& id, const LLAvatarName& av_name) { // <FS:Ansariel> FIRE-11330: Names in chat get stuck as "Loading..." //mAvatarNameCacheConnection.disconnect(); std::pair<avatar_name_cache_connection_map_t::iterator, avatar_name_cache_connection_map_t::iterator> range; range = mAvatarNameCacheConnections.equal_range(id); for (avatar_name_cache_connection_map_t::iterator it = range.first; it != range.second; ++it) { if (it->second.connected()) { it->second.disconnect(); } } mAvatarNameCacheConnections.erase(range.first, range.second); // </FS:Ansariel> std::string label = getName(av_name); // received the agent name from the server - tell our observers callObservers(id.asString(), label, mIcon); }
void LLUrlEntryParcel::onParcelInfoReceived(const std::string &id, const std::string &label) { callObservers(id, label.empty() ? LLTrans::getString("RegionInfoError") : label, mIcon); }