DIFF

class EmoteManagerSource

Constructors 2

void ~EmoteManager()

Constants 4

protected const int CALLBACK_CMD_INVALID = -1
protected const int CALLBACK_CMD_END = -2
protected const int CALLBACK_CMD_GESTURE_INTERRUPT = -3
protected const int CALLBACK_CMD_INSTACANCEL = -4

Members 39

ItemBase m_item
ref array<string> m_InterruptInputs
ref array<UAIDWrapper> m_InterruptInputDirect
ref InventoryLocation m_HandInventoryLocation
bool m_bEmoteIsRequestPending
bool m_bEmoteIsPlaying
Referenced by CreateEmoteCallback(), IsEmotePlaying(), OnEmoteEnd()
Show 2 more, PlayEmote(), and Update()
bool m_ItemToBeCreated
bool m_CancelEmote
Referenced by OnSyncJuncture(), and Update()
bool m_InstantCancelEmote
Referenced by OnSyncJuncture(), and Update()
bool m_GestureInterruptInput
Referenced by OnEmoteEnd(), and Update()
protected bool m_DisconnectEmoteQueued

reaction to client logging out

protected bool m_DeferredEmoteLauncherCleanup

safe cleanup from the outside

protected bool m_ItemToHands

deprecated

protected bool m_ItemIsOn
Referenced by EmoteManager()
protected bool m_MouseButtonPressed
protected bool m_PlayerDies
Referenced by OnEmoteEnd()
protected bool m_controllsLocked
protected bool m_InventoryAccessLocked
protected bool m_EmoteLockState
protected int m_DeferredGuaranteedEmoteId

secondary emote ID to ensure playback

Referenced by EmoteManager(), OnSyncJuncture(), PlayEmote()
Show 1 more, Update()
protected int m_DeferredEmoteExecution
protected int m_GestureID
Referenced by GetGesture(), and SetGesture()
protected int m_PreviousGestureID
protected int m_LastMask
Referenced by CreateEmoteCallback(), and Update()
protected int m_RPSOutcome
protected int m_InterruptInputsCount
PluginAdminLog m_AdminLog
Referenced by CommitSuicide(), EmoteManager(), LogSuicide()
Show 1 more, PlayEmote()
protected ref Timer m_ReservationTimer
Referenced by ~EmoteManager(), and EmoteManager()
protected ref array<ref EmoteBase> m_EmoteClassArray

registered 'EmoteBase' object refs

Referenced by ConstructData()
protected ref array<int> m_EmoteIDs

IDs of registered emotes (found in 'EmoteConstants'). For quick access.

protected ref array<int> m_EmoteInputIDs

input IDs for the registered 'EmoteBase' objects

protected SHumanCommandSwimSettings m_HumanSwimSettings

Methods 46

void SetGesture(int id)
References m_GestureID
int GetGesture()
References m_GestureID
int DetermineGestureIndex()
Referenced by Update()
bool DetermineEmoteData(EmoteBase emote, out int callback_ID, out int stancemask, out bool is_fullbody)

Also includes a stance check for FB callbacks

Referenced by CanPlayEmote(), and PlayEmote()
void SetPending(bool state)
void Update(float deltaT)
References HumanCommandActionCallback.Cancel(), Class.Cast(), ClearDeferredExecution()
Show 84 more, ClearEmoteLauncher(), ClearSurrenderState(), PlayerBase.CloseInventoryMenu(), CommitSuicide(), DayZPlayerUtils.ConvertStanceMaskToStanceIdx(), CreateEmoteCBFromMenu(), HumanInventory.CreateInHands(), EntityAI.DeleteSafe(), DetermineGestureIndex(), EndCallbackCommand(), UIManager.FindMenu(), map.Get(), EmoteLauncher.GetForced(), Man.GetHumanInventory(), EmoteLauncher.GetID(), PlayerBase.GetItemInHands(), EmoteBase.GetStanceMaskFullbody(), HumanCommandActionCallback.GetState(), Object.GetType(), CGame.GetUIManager(), HumanCommandActionCallback.InternalCommand(), InterruptCallbackCommand(), InterruptGestureCheck(), InterruptWaterCheck(), Object.IsAlive(), CGame.IsClient(), HumanInputController.IsContinuousUseStart(), CGame.IsDedicatedServer(), IsEmotePlaying(), UIManager.IsMenuOpen(), DayZPlayer.IsPlayerInStance(), PlayerBase.IsRestrained(), CGame.IsServer(), HumanInputController.IsSingleUse(), EmoteLauncher.IsStartGuaranteed(), PlayerBase.IsUnconscious(), HumanInputController.IsWeaponRaised(), OnEmoteEnd(), PlayEmote(), DayZPlayerUtils.PlayerCanChangeStance(), PlaySurrenderInOut(), SendEmoteRequestSync(), SendEmoteRequestSyncEx(), SetEmoteLockState(), EmoteLauncher.SetForced(), SetPending(), EmoteLauncher.SetStartGuaranteed(), EmoteLauncher.WasSynced(), CALLBACK_CMD_END, CALLBACK_CMD_GESTURE_INTERRUPT, CALLBACK_CMD_INSTACANCEL, CALLBACK_CMD_INVALID, EmoteLauncher.FORCE_DIFFERENT, EmoteLauncher.FORCE_NONE, EmoteConstants.ID_EMOTE_RPS, EmoteConstants.ID_EMOTE_RPS_P, EmoteConstants.ID_EMOTE_RPS_R, EmoteConstants.ID_EMOTE_RPS_S, EmoteConstants.ID_EMOTE_SITA, EmoteConstants.ID_EMOTE_SUICIDE, EmoteConstants.ID_EMOTE_THUMB, EmoteConstants.ID_EMOTE_THUMBDOWN, m_bEmoteIsPlaying, m_bEmoteIsRequestPending, m_Callback, m_CancelEmote, m_CurrentGestureID, m_DeferredEmoteExecution, m_DeferredEmoteLauncherCleanup, m_DeferredGuaranteedEmoteId, m_DisconnectEmoteQueued, m_EmoteLockState, m_GestureInterruptInput, m_HIC, m_InstantCancelEmote, EmoteCB.m_IsFullbody, m_IsSurrendered, m_ItemToBeCreated, m_LastMask, m_MenuEmote, m_NameEmoteMap, m_Player, m_RPSOutcome, and HumanCommandActionCallback.STATE_LOOP_LOOP
void OnCallbackEnd()
Referenced by EmoteCB.~EmoteCB()
void AfterStoreLoad()
protected void HideItemInHands()
Referenced by PlayEmote()
protected void ShowItemInHands()
Referenced by OnEmoteEnd()
void RequestCommitSuicide()
void KillPlayer()
void LogSuicide()
void CreateEmoteCBFromMenu(int id, bool interrupts_same = false)
protected bool ClearEmoteLauncher(bool forced = false)
protected bool ClearDeferredExecution()
EmoteLauncher GetEmoteLauncher()
References m_MenuEmote
Referenced by InviteMenu.Init()
void InterruptCallbackCommand()
Referenced by Update()
bool IsControllsLocked()
void EndSurrenderRequest(SurrenderData data = null)

directly force-ends surrender state AND requests hard cancel

void SetClientLoggingOut(bool state)
protected void ClearSurrenderState()

Queues item deletion only, surrender state cleared from item event directly

Referenced by Update()
map<int,ref EmoteBase> GetNameEmoteMap()
References m_NameEmoteMap
protected void PickEmote(int gestureslot)

Deprecated