// Token: 0x06001CCA RID: 7370 RVA: 0x00086410 File Offset: 0x00084610 private static PerItemStatDef Register(string prefix, StatRecordType recordType, StatDataType dataType) { PerItemStatDef perItemStatDef = new PerItemStatDef(prefix, recordType, dataType); PerItemStatDef.instancesList.Add(perItemStatDef); return(perItemStatDef); }
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(); }); }