Exemplo n.º 1
0
        protected void AddLocalizedGameString(Mount mount)
        {
            GameStringWriter.AddMountName(mount.Id, mount.Name);
            GameStringWriter.AddMountSortName(mount.Id, mount.SortName);

            if (mount.InfoText != null)
            {
                GameStringWriter.AddMountInfoText(mount.Id, GetTooltip(mount.InfoText, FileOutputOptions.DescriptionType));
            }

            GameStringWriter.AddMountSearchText(mount.Id, mount.SearchText);
        }