Exemple #1
0
        // Token: 0x06001CF7 RID: 7415 RVA: 0x0007C070 File Offset: 0x0007A270
        public static void ToXml(XElement element, StatSheet statSheet)
        {
            element.RemoveAll();
            XElement xelement = new XElement("fields");

            element.Add(xelement);
            StatField[] array = statSheet.fields;
            for (int i = 0; i < array.Length; i++)
            {
                ref StatField ptr = ref array[i];
                if (!ptr.IsDefault())
                {
                    xelement.Add(new XElement(ptr.name, ptr.ToString()));
                }
            }
 // Token: 0x06001CB7 RID: 7351 RVA: 0x00085F74 File Offset: 0x00084174
 public static string DefaultDisplayValueFormatter(ref StatField statField)
 {
     return(statField.ToString());
 }