// 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); }
// 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); }
// Token: 0x06001CCE RID: 7374 RVA: 0x00086548 File Offset: 0x00084748 private PerEquipmentStatDef(string prefix, StatRecordType recordType, StatDataType dataType, StatDef.DisplayValueFormatterDelegate displayValueFormatter) { this.prefix = prefix; this.recordType = recordType; this.dataType = dataType; this.displayValueFormatter = (displayValueFormatter ?? new StatDef.DisplayValueFormatterDelegate(StatDef.DefaultDisplayValueFormatter)); }
// Token: 0x06001CC4 RID: 7364 RVA: 0x00086278 File Offset: 0x00084478 private PerBodyStatDef(string prefix, StatRecordType recordType, StatDataType dataType, StatDef.DisplayValueFormatterDelegate displayValueFormatter = null) { this.prefix = prefix; this.recordType = recordType; this.dataType = dataType; this.displayValueFormatter = displayValueFormatter; }
// Token: 0x06001C93 RID: 7315 RVA: 0x0007A00C File Offset: 0x0007820C private StatDef(string name, StatRecordType recordType, StatDataType dataType, double pointValue, StatDef.DisplayValueFormatterDelegate displayValueFormatter) { this.name = name; this.recordType = recordType; this.dataType = dataType; this.pointValue = pointValue; this.displayValueFormatter = displayValueFormatter; this.displayToken = "STATNAME_" + name.ToUpper(CultureInfo.InvariantCulture); }
// Token: 0x06001C96 RID: 7318 RVA: 0x0007A570 File Offset: 0x00078770 public static StatDef Register(string name, StatRecordType recordType, StatDataType dataType, double pointValue, StatDef.DisplayValueFormatterDelegate displayValueFormatter = null) { if (displayValueFormatter == null) { displayValueFormatter = new StatDef.DisplayValueFormatterDelegate(StatDef.DefaultDisplayValueFormatter); } StatDef statDef = new StatDef(name, recordType, dataType, pointValue, displayValueFormatter) { index = StatDef.allStatDefs.Count }; StatDef.allStatDefs.Add(statDef); StatDef.nameToStatDef.Add(statDef.name, statDef); return(statDef); }
// Token: 0x06001CC9 RID: 7369 RVA: 0x000863E4 File Offset: 0x000845E4 private PerItemStatDef(string prefix, StatRecordType recordType, StatDataType dataType) { this.prefix = prefix; this.recordType = recordType; this.dataType = dataType; }
public void AddStatRecordValue(StatRecordType statRecordType, float value) { statRecordTypes[statRecordType] += value; }