// Token: 0x06001CCF RID: 7375 RVA: 0x00086598 File Offset: 0x00084798 private static PerEquipmentStatDef Register(string prefix, StatRecordType recordType, StatDataType dataType, StatDef.DisplayValueFormatterDelegate displayValueFormatter = null) { PerEquipmentStatDef perEquipmentStatDef = new PerEquipmentStatDef(prefix, recordType, dataType, displayValueFormatter); PerEquipmentStatDef.instancesList.Add(perEquipmentStatDef); return(perEquipmentStatDef); }
private static void Init() { BodyCatalog.availability.CallWhenAvailable(delegate { StatDef.bodyNames = (from gameObject in BodyCatalog.allBodyPrefabs select gameObject.name).ToArray <string>(); PerBodyStatDef.RegisterStatDefs(StatDef.bodyNames); PerItemStatDef.RegisterStatDefs(); PerEquipmentStatDef.RegisterStatDefs(); PerStageStatDef.RegisterStatDefs(); }); }