public static void LinkItem(ACD i) { if (gbItems.ContainsKey(i.gbid)) { GameBalanceItem g = gbItems[i.gbid]; i.gbItem = g; } }
public static void LinkItems(List <ACD> items) { foreach (ACD i in items) { if (gbItems.ContainsKey(i.gbid)) { GameBalanceItem g = gbItems[i.gbid]; i.gbItem = g; } } }