Files
AllMusic/core/objs/message/ListMusicObj.java
T
2026-03-04 13:57:59 +08:00

35 lines
963 B
Java

package com.coloryr.allmusic.server.core.objs.message;
public class ListMusicObj {
public String head;
public String item;
public String get;
public static ListMusicObj make() {
ListMusicObj obj = new ListMusicObj();
obj.init();
return obj;
}
public boolean check() {
boolean res = head == null;
if (item == null)
res = true;
if (get == null)
res = true;
return res;
}
public void init() {
if (head == null)
head = "<light_purple>[AllMusic3]<yellow>队列中有歌曲数:" + ARG.count;
if (item == null)
item = "<yellow>" + ARG.index + "->" + ARG.musicName + " | " + ARG.musicAuthor
+ " | " + ARG.musicAl + " | " + ARG.musicAlia + " | by: " + ARG.player;
if (get == null)
get = "<light_purple>[AllMusic3]<yellow>歌曲列表" + ARG.name + "获取成功";
}
}