CM3D2.MaidFiddler.Plugin.Gui.MaidFiddlerGUI.PlayerInfo.UpdateAll C# (CSharp) Method

UpdateAll() public method

public UpdateAll ( ) : void
return void
            public void UpdateAll()
            {
                try
                {
                    foreach (KeyValuePair<PlayerChangeType, Action<PlayerChangeType>> updateMethod in updateMethods)
                    {
                        gui.valueUpdatePlayer[updateMethod.Key] = true;
                        updateMethod.Value(updateMethod.Key);
                        gui.valueUpdatePlayer[updateMethod.Key] = false;
                    }
                }
                catch (Exception e)
                {
                    FiddlerUtils.ThrowErrorMessage(e, "Failed to update player values", gui.Plugin);
                }
            }