DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ PlayEmote()

bool PlayEmote ( int id)
protected

См. определение в файле EmoteManager.c строка 673

674 {
679 SetPending(false);
680
681 //if (CanPlayEmote(id))
682 {
683 EmoteBase emote;
684 m_NameEmoteMap.Find(id,emote);
685
686 if (m_AdminLog)
687 m_AdminLog.OnEmote(m_Player, emote);
688
691 if (id > 0)
692 {
693 if (emote)
694 {
695 int callback_ID;
696 int stancemask;
697 bool is_fullbody;
698 if (DetermineEmoteData(emote,callback_ID,stancemask,is_fullbody))
699 {
700 if (!emote.EmoteStartOverride(EmoteCB,callback_ID,stancemask,is_fullbody))
701 {
702 emote.OnBeforeStandardCallbackCreated(callback_ID,stancemask,is_fullbody);
703 CreateEmoteCallback(EmoteCB,callback_ID,stancemask,is_fullbody);
704 }
705
706 if (emote.GetHideItemInHands())
707 {
709 }
710 }
711 else
712 {
713 ErrorEx("EmoteManager | DetermineEmoteData failed!");
714 }
715 }
716 }
717 }
718
720 return m_bEmoteIsPlaying;
721 }
map m_Player
bool ClearDeferredExecution()
Определения EmoteManager.c:862
void HideItemInHands()
Определения EmoteManager.c:752
const int CALLBACK_CMD_INVALID
Определения EmoteManager.c:155
int m_CurrentGestureID
Определения EmoteManager.c:151
int m_DeferredGuaranteedEmoteId
Определения EmoteManager.c:147
PluginAdminLog m_AdminLog
Определения EmoteManager.c:159
void SetPending(bool state)
Определения EmoteManager.c:293
void SetEmoteLockState(bool state)
Определения EmoteManager.c:1204
bool ClearEmoteLauncher(bool forced=false)
Определения EmoteManager.c:853
void CreateEmoteCallback(typename callbacktype, int id, int mask, bool fullbody)
Определения EmoteManager.c:724
bool IsEmotePlaying()
Определения EmoteManager.c:1370
bool DetermineEmoteData(EmoteBase emote, out int callback_ID, out int stancemask, out bool is_fullbody)
Also includes a stance check for FB callbacks.
Определения EmoteManager.c:269
ref map< int, ref EmoteBase > m_NameEmoteMap
Определения EmoteManager.c:162
bool m_bEmoteIsPlaying
Определения EmoteManager.c:132
int m_PreviousGestureID
Определения EmoteManager.c:150
bool EmoteStartOverride(typename callbacktype, int id, int mask, bool fullbody)
Определения EmoteBase.c:47
void OnBeforeStandardCallbackCreated(int callback_ID, int stancemask, bool is_fullbody)
bool GetHideItemInHands()
Определения EmoteBase.c:95
Определения EmoteBase.c:2
Определения EmoteManager.c:2
enum ShapeType ErrorEx

Перекрестные ссылки CALLBACK_CMD_INVALID, ClearDeferredExecution(), ClearEmoteLauncher(), CreateEmoteCallback(), DetermineEmoteData(), EmoteBase::EmoteStartOverride(), ErrorEx, EmoteBase::GetHideItemInHands(), HideItemInHands(), IsEmotePlaying(), m_AdminLog, m_bEmoteIsPlaying, m_CurrentGestureID, m_DeferredGuaranteedEmoteId, m_NameEmoteMap, m_PreviousGestureID, EmoteBase::OnBeforeStandardCallbackCreated(), SetEmoteLockState() и SetPending().

Используется в SendEmoteRequestSync(), SendEmoteRequestSyncEx() и Update().