| using System.Collections.Generic;  | 
|   | 
| public partial class ItemCompoundConfig : ConfigBase<int, ItemCompoundConfig>  | 
| {  | 
|     public static Dictionary<int, ItemCompoundConfig> itemCompoundDict = new Dictionary<int, ItemCompoundConfig>();  | 
|   | 
|     protected override void OnConfigParseCompleted()  | 
|     {  | 
|         itemCompoundDict.Add(makeID, this);  | 
|     }  | 
|   | 
|     public static ItemCompoundConfig GetItemCompoundConfig(int makeID)  | 
|     {  | 
|         ItemCompoundConfig itemCompoundConfig = null;  | 
|         itemCompoundDict.TryGetValue(makeID, out itemCompoundConfig);  | 
|         return itemCompoundConfig;  | 
|     }  | 
|   | 
|     public static bool IsCompoundItem(int itemID)  | 
|     {  | 
|         return itemCompoundDict.ContainsKey(itemID);  | 
|     }  | 
|           | 
| }  | 
|   | 
|   | 
|   | 
|   | 
|   |