Class VoiceRegionImpl
java.lang.Object
com.mewna.catnip.entity.impl.voice.VoiceRegionImpl
- All Implemented Interfaces:
Entity
,HasName
,RequiresCatnip
,VoiceRegion
- Since:
- 9/14/18
- Author:
- natanbc
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionVoiceRegionImpl
(Catnip catnip, String id, String name, boolean vip, boolean optimal, boolean deprecated, boolean custom) -
Method Summary
-
Constructor Details
-
VoiceRegionImpl
public VoiceRegionImpl() -
VoiceRegionImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
id
- Specified by:
id
in interfaceVoiceRegion
- Returns:
- The id of the voice region.
-
name
-
vip
public boolean vip()- Specified by:
vip
in interfaceVoiceRegion
- Returns:
- Whether the voice region is VIP-only.
-
optimal
public boolean optimal()- Specified by:
optimal
in interfaceVoiceRegion
- Returns:
- Whether the voice region is optimal.
-
deprecated
public boolean deprecated()- Specified by:
deprecated
in interfaceVoiceRegion
- Returns:
- Whether the voice region is deprecated.
-
custom
public boolean custom()- Specified by:
custom
in interfaceVoiceRegion
- Returns:
- Whether the voice region is custom.
-
id
- Returns:
this
.
-
name
- Returns:
this
.
-
vip
- Returns:
this
.
-
optimal
- Returns:
this
.
-
deprecated
- Returns:
this
.
-
custom
- Returns:
this
.
-