Exemple #1
0
        internal static void FixIcon(Type T, uint id)
        {
            string icon = DBC.GetString(T, id);

            if (!String.IsNullOrEmpty(icon))
            {
                DBC.SetString(T, id, Path.GetFileNameWithoutExtension(icon).Urlize());
            }
        }
Exemple #2
0
        public int   PhasingMap;                // 19

        public bool FixRow(Locale lang)
        {
            string name = DBC.GetString(GetType(), this.InternalName);

            if (!String.IsNullOrEmpty(name))
            {
                DBC.SetString(GetType(), this.InternalName, name.Enumize());
            }

            return(true);
        }
Exemple #3
0
        public bool FixRow(Locale lang)
        {
            string systemname = DBC.GetString(GetType(), this.nameSystem);

            if (!String.IsNullOrEmpty(systemname))
            {
                DBC.SetString(GetType(), this.nameSystem, systemname.ToLower());
            }

            return(true);
        }