mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-13 20:44:12 +00:00
31 lines
659 B
Java
31 lines
659 B
Java
package coloryr.allmusic.core.objs.message;
|
|
|
|
public class PageObj {
|
|
public String choice;
|
|
public String next;
|
|
public String last;
|
|
|
|
public boolean check() {
|
|
boolean res = choice == null;
|
|
if (next == null)
|
|
res = true;
|
|
if (last == null)
|
|
res = true;
|
|
|
|
return res;
|
|
}
|
|
|
|
public void init() {
|
|
choice = "§e%Index%->%MusicName% | %MusicAuthor% | %MusicAl%";
|
|
next = "§e[§n点我下一页§r§e]";
|
|
last = "§e[§n点我上一页§r§e]";
|
|
}
|
|
|
|
public static PageObj make() {
|
|
PageObj obj = new PageObj();
|
|
obj.init();
|
|
|
|
return obj;
|
|
}
|
|
}
|