// Token: 0x06001A0B RID: 6667 RVA: 0x00091C08 File Offset: 0x00090008 private static GUIDTableIndex createIndex() { GUIDTableIndex result = GUIDTable.currentTableIndex; GUIDTable.currentTableIndex.index = GUIDTable.currentTableIndex.index + 1; return(result); }
// Token: 0x06001A09 RID: 6665 RVA: 0x00091BD7 File Offset: 0x0008FFD7 private static void triggerMappingAdded(GUIDTableIndex index, Guid GUID) { if (GUIDTable.mappingAdded != null) { GUIDTable.mappingAdded(index, GUID); } }
// Token: 0x06001A06 RID: 6662 RVA: 0x00091B59 File Offset: 0x0008FF59 public static void addMapping(GUIDTableIndex index, Guid GUID) { GUIDTable.indexToGUIDDictionary.Add(index, GUID); GUIDTable.GUIDToIndexDictionary.Add(GUID, index); GUIDTable.tableList.Add(new KeyValuePair <GUIDTableIndex, Guid>(index, GUID)); GUIDTable.triggerMappingAdded(index, GUID); }
// Token: 0x06001A07 RID: 6663 RVA: 0x00091B8C File Offset: 0x0008FF8C public static GUIDTableIndex add(Guid GUID) { GUIDTableIndex guidtableIndex = GUIDTable.createIndex(); GUIDTable.addMapping(guidtableIndex, GUID); return(guidtableIndex); }
// Token: 0x06001A03 RID: 6659 RVA: 0x00091B04 File Offset: 0x0008FF04 public static Guid resolveIndex(GUIDTableIndex index) { Guid result; if (GUIDTable.indexToGUIDDictionary.TryGetValue(index, out result)) { return(result); } return(Guid.Empty); }