Package de.maxhenkel.voicechat.api
Interface VolumeCategory.Builder
- Enclosing interface:
- VolumeCategory
public static interface VolumeCategory.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setDescription
(String description) setIcon
(int[][] icon) The array has to be 16x16.This ID has to be between 1 and 16 characters and can only contain lowercasea-z
and_
.
-
Method Details
-
setId
This ID has to be between 1 and 16 characters and can only contain lowercasea-z
and_
.- Parameters:
id
- the unique ID of the category- Returns:
- the builder
-
setName
- Parameters:
name
- the full name of the category, that is displayed for the end user- Returns:
- the builder
-
setDescription
- Parameters:
description
- the hover tooltip that is shown for this category- Returns:
- the builder
-
setIcon
The array has to be 16x16. Each integer represents a pixel in the RGBA format.- Parameters:
icon
- the icon that is shown for this category- Returns:
- the builder
-
build
VolumeCategory build()- Returns:
- the built category
-