private string GenInput(List <string> list)
        {
            if (list.Count == 0)
            {
                return("");
            }
            string str = "";

            switch (this._inputmode)
            {
            case InputMode.Keyboard:
            case InputMode.KeyboardUI:
            case InputMode.Mouse:
                str = list[0];
                for (int index = 1; index < list.Count; ++index)
                {
                    str = str + "/" + list[index];
                }
                break;

            case InputMode.XBoxGamepad:
            case InputMode.XBoxGamepadUI:
                str = GlyphTagHandler.GenerateTag(list[0]);
                for (int index = 1; index < list.Count; ++index)
                {
                    str = str + "/" + GlyphTagHandler.GenerateTag(list[index]);
                }
                break;
            }
            return(str);
        }
        // Token: 0x060010E2 RID: 4322 RVA: 0x00407120 File Offset: 0x00405320
        private string GenInput(List <string> list)
        {
            if (list.Count == 0)
            {
                return("");
            }
            string    text      = "";
            InputMode inputmode = this._inputmode;

            if (inputmode > InputMode.Mouse)
            {
                if (inputmode - InputMode.XBoxGamepad <= 1)
                {
                    text = GlyphTagHandler.GenerateTag(list[0]);
                    for (int i = 1; i < list.Count; i++)
                    {
                        text = text + "/" + GlyphTagHandler.GenerateTag(list[i]);
                    }
                }
            }
            else
            {
                text = list[0];
                for (int j = 1; j < list.Count; j++)
                {
                    text = text + "/" + list[j];
                }
            }
            return(text);
        }
Beispiel #3
0
        private string GenInput(List <string> list)
        {
            if (list.Count == 0)
            {
                return("");
            }
            string text = "";

            switch (_inputmode)
            {
            case InputMode.XBoxGamepad:
            case InputMode.XBoxGamepadUI:
            {
                text = GlyphTagHandler.GenerateTag(list[0]);
                for (int j = 1; j < list.Count; j++)
                {
                    text = text + "/" + GlyphTagHandler.GenerateTag(list[j]);
                }
                break;
            }

            case InputMode.Keyboard:
            case InputMode.KeyboardUI:
            case InputMode.Mouse:
            {
                text = list[0];
                for (int i = 1; i < list.Count; i++)
                {
                    text = text + "/" + list[i];
                }
                break;
            }
            }
            return(text);
        }
Beispiel #4
0
        private string GenInput(List <string> list)
        {
            if (list.Count == 0)
            {
                return("");
            }
            string    str       = "";
            InputMode inputmode = this._inputmode;

            if ((uint)inputmode > 2U)
            {
                if ((uint)(inputmode - 3) <= 1U)
                {
                    str = GlyphTagHandler.GenerateTag(list[0]);
                    for (int index = 1; index < list.Count; ++index)
                    {
                        str = str + "/" + GlyphTagHandler.GenerateTag(list[index]);
                    }
                }
            }
            else
            {
                str = list[0];
                for (int index = 1; index < list.Count; ++index)
                {
                    str = str + "/" + list[index];
                }
            }
            return(str);
        }