mirror of
https://github.com/TotalFreedomMC/TF-Marriage.git
synced 2024-05-30 08:31:24 +00:00
35 lines
662 B
Java
35 lines
662 B
Java
package com.lenis0012.bukkit.marriage2;
|
|
|
|
import com.lenis0012.bukkit.marriage2.config.Settings;
|
|
|
|
public enum Gender {
|
|
/**
|
|
* Opposite of female
|
|
*/
|
|
MALE,
|
|
/**
|
|
* Opposite of male
|
|
*/
|
|
FEMALE,
|
|
/**
|
|
* Not set
|
|
*/
|
|
NONE;
|
|
|
|
/**
|
|
* Get chat prefix for gender.
|
|
*
|
|
* @return Chat prefix
|
|
*/
|
|
public String getChatPrefix() {
|
|
switch(this) {
|
|
case MALE:
|
|
return Settings.PREFIX_MALE.value();
|
|
case FEMALE:
|
|
return Settings.PREFIX_FEMALE.value();
|
|
default:
|
|
return Settings.PREFIX_GENDERLESS.value();
|
|
}
|
|
}
|
|
}
|