Esempio n. 1
0
        public void ResetLocalizedString(int index)
        {
            LocalizedStringData d = FindLocalizedString(index);

            d.Key   = d.KeyOriginal;
            d.Value = d.ValueOriginal;
        }
Esempio n. 2
0
        private LocalizedStringData FindLocalizedString(int index)
        {
            LocalizedStringData result = assetData.LocalizedString.Find(r => r.Index == index);

            if (result == null)
            {
                throw new FileNotFoundException("Localizedstring with index " + index + " not found");
            }
            return(result);
        }