for_name


Description:

public static Role for_name (string name)

Get the Role type corresponding to a rolew name.

Parameters:

name

a string which is the (non-localized) name of an ATK role.

Returns:

the Role enumerated type corresponding to the specified name, or INVALID if no matching role is found.




2022 vala-language.org