public PlayerInfo(MaidFiddlerGUI gui) { this.gui = gui; valueLocks = new Dictionary<PlayerChangeType, bool>(); ((PlayerChangeType[]) Enum.GetValues(typeof (PlayerChangeType))).ForEach(t => valueLocks.Add(t, false)); InitFunctions(); }