static string GetDSIString(SkeletonBodyItem dsi)
        {
            var s = "_null_";

            if (dsi.Source != null)
            {
                s = dsi.Source.Name;
            }
            var d = "_null_";

            if (dsi.Dest != null)
            {
                d = dsi.Dest.Name;
            }

            string textureName;

            if (dsi.Grh.GrhData == null)
            {
                textureName = "*";
            }
            else
            {
                textureName = dsi.Grh.GrhData.Categorization.ToString();
            }

            return(textureName + ": " + s + " -> " + d);
        }
Beispiel #2
0
        static string GetDSIString(SkeletonBodyItem dsi)
        {
            var s = "_null_";

            if (dsi.Dest != null)
            {
                s = dsi.Dest.Name;
            }

            string textureName;

            if (dsi.Grh.GrhData == null)
            {
                textureName = "*";
            }
            else
            {
                textureName = ((StationaryGrhData)dsi.Grh.GrhData).TextureName.Value.Replace("Character/", string.Empty);
            }

            return(textureName + ": " + dsi.Source.Name + " -> " + s);
        }