BitCollectors.QfgCharacterEditor.Library.QfgCharacter.GetStatProperty C# (CSharp) Method

GetStatProperty() private method

private GetStatProperty ( int &field, int max ) : int
field int
max int
return int
        private int GetStatProperty(ref int field, int max)
        {
            if (field > max)
                field = max;

            return field;
        }