#include <llinstantmessage.h>
Inheritance diagram for LLIMInfo:
Public Member Functions | |
LLIMInfo (LLMessageSystem *msg, EIMSource source=IM_FROM_SIM, S32 ttl=IM_TTL) | |
LLIMInfo (const LLUUID &from_id, BOOL from_group, const LLUUID &to_id, EInstantMessage im_type, const std::string &name, const std::string &message, const LLUUID &id, U32 parent_estate_id, const LLUUID ®ion_id, const LLVector3 &position, LLSD data, U8 offline, U32 timestamp, EIMSource source, S32 ttl=IM_TTL) | |
void | packInstantMessage (LLMessageSystem *msg) const |
void | packMessageBlock (LLMessageSystem *msg) const |
void | unpackMessageBlock (LLMessageSystem *msg) |
LLPointer< LLIMInfo > | clone () |
Public Attributes | |
LLUUID | mFromID |
BOOL | mFromGroup |
LLUUID | mToID |
U32 | mParentEstateID |
LLUUID | mRegionID |
LLVector3 | mPosition |
U8 | mOffline |
bool | mViewerThinksToIsOnline |
EInstantMessage | mIMType |
LLUUID | mID |
U32 | mTimeStamp |
std::string | mName |
std::string | mMessage |
LLSD | mData |
EIMSource | mSource |
S32 | mTTL |
Protected Member Functions | |
LLIMInfo () | |
~LLIMInfo () |
Definition at line 231 of file llinstantmessage.h.
LLIMInfo::LLIMInfo | ( | ) | [protected] |
LLIMInfo::~LLIMInfo | ( | ) | [protected] |
Definition at line 122 of file llinstantmessage.cpp.
LLIMInfo::LLIMInfo | ( | LLMessageSystem * | msg, | |
EIMSource | source = IM_FROM_SIM , |
|||
S32 | ttl = IM_TTL | |||
) |
LLIMInfo::LLIMInfo | ( | const LLUUID & | from_id, | |
BOOL | from_group, | |||
const LLUUID & | to_id, | |||
EInstantMessage | im_type, | |||
const std::string & | name, | |||
const std::string & | message, | |||
const LLUUID & | id, | |||
U32 | parent_estate_id, | |||
const LLUUID & | region_id, | |||
const LLVector3 & | position, | |||
LLSD | data, | |||
U8 | offline, | |||
U32 | timestamp, | |||
EIMSource | source, | |||
S32 | ttl = IM_TTL | |||
) |
Definition at line 79 of file llinstantmessage.cpp.
Definition at line 374 of file llinstantmessage.cpp.
References LLIMInfo(), mData, mFromGroup, mFromID, mID, mIMType, mMessage, mName, mOffline, mParentEstateID, mPosition, mRegionID, mSource, mTimeStamp, mToID, and mTTL.
void LLIMInfo::packInstantMessage | ( | LLMessageSystem * | msg | ) | const |
Definition at line 126 of file llinstantmessage.cpp.
References _PREHASH_ImprovedInstantMessage, lldebugs, llendl, LLMessageSystem::newMessageFast(), and packMessageBlock().
void LLIMInfo::packMessageBlock | ( | LLMessageSystem * | msg | ) | const |
Definition at line 133 of file llinstantmessage.cpp.
References LLSD::has(), mData, mFromGroup, mFromID, mID, mIMType, mMessage, mName, mOffline, mParentEstateID, mPosition, mRegionID, mTimeStamp, mToID, LLUUID::null, and pack_instant_message_block().
Referenced by packInstantMessage().
void LLIMInfo::unpackMessageBlock | ( | LLMessageSystem * | msg | ) |
Definition at line 270 of file llinstantmessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_BinaryBucket, _PREHASH_Dialog, _PREHASH_FromAgentName, _PREHASH_FromGroup, _PREHASH_ID, _PREHASH_Message, _PREHASH_MessageBlock, _PREHASH_Offline, _PREHASH_ParentEstateID, _PREHASH_Position, _PREHASH_RegionID, _PREHASH_Timestamp, _PREHASH_ToAgentID, LLSD::clear(), DB_FULL_NAME_BUF_SIZE, DB_IM_MSG_BUF_SIZE, LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getBOOLFast(), LLMessageSystem::getSizeFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), llmin(), mData, mFromGroup, mFromID, mID, mIMType, mMessage, mName, mOffline, mParentEstateID, mPosition, mRegionID, mTimeStamp, mToID, MTUBYTES, and S32.
Referenced by LLIMInfo().
Definition at line 277 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 265 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 264 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), LLIMMgr::processIMTypingCore(), LLFloaterIMPanel::removeTypingIndicator(), and unpackMessageBlock().
Definition at line 273 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 272 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), LLIMMgr::processIMTypingCore(), and unpackMessageBlock().
std::string LLIMInfo::mMessage |
Definition at line 276 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
std::string LLIMInfo::mName |
Definition at line 275 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), LLFloaterIMPanel::processIMTyping(), and unpackMessageBlock().
Definition at line 270 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 267 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 269 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 268 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 274 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 266 of file llinstantmessage.h.
Referenced by clone(), packMessageBlock(), and unpackMessageBlock().
Definition at line 271 of file llinstantmessage.h.