BitCollectors.QfgCharacterEditor.Library.QfgCharacter.GetStatProperty C# (CSharp) Méthode

GetStatProperty() private méthode

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

            return field;
        }