public WardrobeManager(uint id, Habbo habbo, UserDataFactory factory) { this.WardrobeItems = new Dictionary <int, WardrobeSlot>(); this.HabboID = id; this.Habbo = habbo; foreach (DataRow dataRow in factory.GetWardrobe()?.Rows) { int slotId = (int)dataRow["slot_id"]; this.WardrobeItems.Add(slotId, new WardrobeSlot(slotId, (string)dataRow["gender"], (string)dataRow["look"])); } }