예제 #1
0
        private String GenerateHiddenEntryTT(CharacterStatEntry p_affectedEntry)
        {
            String text = "???";

            if (m_tooltipMapper.TryGetValue(p_affectedEntry, out text))
            {
                String text2 = LocaManager.GetText(text);
                if (text2.Contains("{"))
                {
                    String[] array = text2.Split("{".ToCharArray());
                    for (Int32 i = 1; i < array.Length; i++)
                    {
                        String str = array[i].Substring(2);
                        array[i] = "???" + str;
                    }
                    StringBuilder stringBuilder = new StringBuilder();
                    foreach (String value in array)
                    {
                        stringBuilder.Append(value);
                    }
                    text = stringBuilder.ToString();
                }
                else
                {
                    text = text2;
                }
            }
            return(text);
        }