Exemplo n.º 1
0
 private void Canvas_PCStatus_Middle_EnteringAimMode(object sender,
                                                     EnteringAimModeEventArgs e)
 {
     SearchText(UITag.SkillText).text = "Skill";
     SearchText(UITag.SkillData).text = skillManager.GetSkillName(
         e.CommandTag);
 }
Exemplo n.º 2
0
        private string AimModeText()
        {
            string mode      = "Aim";
            string skillName = skillManager.GetSkillName(skillNameTag);

            int[] relativePos = localManager.GetRelativePosition(
                aimMetaInfo.Position);
            int relativeX = relativePos[0];
            int relativeY = relativePos[1];

            int distance = localManager.GetDistance(aimMetaInfo.Position);
            int range    = skillManager.GetSkillRange(skillNameTag);

            string text
                = $"[ {mode} {skillName} ] [ {relativeX}, {relativeY} ]"
                  + $" [ {distance} / {range} ]";

            return(text);
        }
Exemplo n.º 3
0
        private void SkillNameType(CommandTag e)
        {
            SkillNameTag skillName = skillManager.GetSkillNameTag(e);
            SkillTypeTag skillType = skillManager.GetSkillTypeTag(skillName);

            string name = skillManager.GetSkillName(skillName);
            string type = skillManager.GetLongSkillTypeName(skillType);

            SearchText(UITag.SkillText).text = type;
            SearchText(UITag.SkillData).text = name;
        }
Exemplo n.º 4
0
        private void SkillName()
        {
            UITag[] ui = new UITag[]
            {
                UITag.QText, UITag.WText, UITag.EText, UITag.RText
            };

            for (int i = 0; i < ui.Length; i++)
            {
                SearchText(ui[i]).text = skillManager.GetSkillName(ui[i]);
            }
        }