blob: 32c41d7d447baaf1dafdcd273437727ea76d9726 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package io.dico.dicore.command.chat.help;
import io.dico.dicore.command.ExecutionContext;
import io.dico.dicore.command.ICommandAddress;
import org.bukkit.permissions.Permissible;
public interface IPageLayout {
/**
* Get the page borders for a help page
*
* @param target the address that help is displayed for
* @param viewer the viewer of the help page, or null if irrelevant
* @param context the context of the execution
* @param pageNum the page number as displayed in the help page (so it's 1-bound and not 0-bound)
* @return the page borders.
*/
PageBorders getPageBorders(ICommandAddress target, Permissible viewer, ExecutionContext context, int pageNum);
}
|