Files
AllMusic/core/objs/message/ListMusicObj.java
T
Color_yr 25fa8506b0 3.4.0
添加空闲歌单不订阅
转移列表到数据库
语言文件不覆盖
语言为空不发送
#Fixed #42
2025-03-24 18:20:45 +08:00

35 lines
926 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 = "§d[AllMusic3]§e队列中有歌曲数:" + PAL.count;
if (item == null)
item = "§e" + PAL.index + "->" + PAL.musicName + " | " + PAL.musicAuthor
+ " | " + PAL.musicAl + " | " + PAL.musicAlia + " | by: " + PAL.player;
if (get == null)
get = "§d[AllMusic3]§e歌曲列表" + PAL.name + "获取成功";
}
}