public void Emote(Emote whichEmote)
        {
            if (this == OldWorld.Instance.MainPlayer.ActiveCharacter &&
                whichEmote != EOLib.Net.API.Emote.LevelUp &&
                whichEmote != EOLib.Net.API.Emote.Trade)
            {
                if (m_packetAPI.ReportEmote(whichEmote))
                {
                    RenderData.SetEmote(whichEmote);
                }
                else
                {
                    EOGame.Instance.DoShowLostConnectionDialogAndReturnToMainMenu();
                }
            }

            RenderData.SetEmoteFrame(0);
            RenderData.SetEmote(whichEmote);
        }
Exemple #2
0
        public void Emote(Emote whichEmote)
        {
            if (this == World.Instance.MainPlayer.ActiveCharacter &&
                whichEmote != EOLib.Net.Emote.LevelUp &&
                whichEmote != EOLib.Net.Emote.Trade)
            {
                if (m_packetAPI.ReportEmote(whichEmote))
                {
                    RenderData.SetEmote(whichEmote);
                }
                else
                {
                    EOGame.Instance.LostConnectionDialog();
                }
            }

            State = CharacterActionState.Emote;
            RenderData.SetEmoteFrame(0);
            RenderData.SetEmote(whichEmote);
        }
Exemple #3
0
 public void DoneEmote()
 {
     State = CharacterActionState.Standing;
     RenderData.SetEmoteFrame(0);
 }
 public void DoneEmote()
 {
     RenderData.SetEmoteFrame(-1);
 }