#include <llviewergesture.h>
Inheritance diagram for LLViewerGesture:
Public Member Functions | |
LLViewerGesture () | |
LLViewerGesture (KEY key, MASK mask, const std::string &trigger, const LLUUID &sound_item_id, const std::string &animation, const std::string &output_string) | |
LLViewerGesture (U8 **buffer, S32 max_size) | |
LLViewerGesture (const LLViewerGesture &gesture) | |
virtual BOOL | trigger (KEY key, MASK mask) |
virtual BOOL | trigger (const std::string &string) |
void | doTrigger (BOOL send_chat) |
Static Protected Attributes | |
static const F32 | SOUND_VOLUME = 1.f |
Definition at line 43 of file llviewergesture.h.
LLViewerGesture::LLViewerGesture | ( | ) |
Definition at line 55 of file llviewergesture.cpp.
LLViewerGesture::LLViewerGesture | ( | KEY | key, | |
MASK | mask, | |||
const std::string & | trigger, | |||
const LLUUID & | sound_item_id, | |||
const std::string & | animation, | |||
const std::string & | output_string | |||
) |
Definition at line 59 of file llviewergesture.cpp.
Definition at line 67 of file llviewergesture.cpp.
LLViewerGesture::LLViewerGesture | ( | const LLViewerGesture & | gesture | ) |
Definition at line 72 of file llviewergesture.cpp.
Definition at line 107 of file llviewergesture.cpp.
References ANIM_REQUEST_START, CHAT_TYPE_NORMAL, FALSE, gAgent, gAnimLibrary, gChatBar, LLInventoryItem::getAssetUUID(), LLInventoryModel::getItem(), gInventory, LLGesture::mAnimation, LLGesture::mOutputString, LLGesture::mSoundItemID, LLUUID::null, send_sound_trigger(), LLAgent::sendAnimationRequest(), LLChatBar::sendChatFromViewer(), LLAgent::setAFK(), SOUND_VOLUME, and LLAnimationLibrary::stringToAnimState().
Referenced by trigger().
BOOL LLViewerGesture::trigger | ( | const std::string & | string | ) | [virtual] |
Definition at line 91 of file llviewergesture.cpp.
References doTrigger(), FALSE, LLGesture::mTriggerLower, and TRUE.
Reimplemented from LLGesture.
Definition at line 77 of file llviewergesture.cpp.
References doTrigger(), FALSE, LLGesture::mKey, LLGesture::mMask, and TRUE.
const F32 LLViewerGesture::SOUND_VOLUME = 1.f [static, protected] |