mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-19 22:19:35 +00:00
29 lines
568 B
Java
29 lines
568 B
Java
package com.coloryr.allmusic.server.core.objs.message;
|
|
|
|
public class CustomObj {
|
|
public String info;
|
|
public String idle;
|
|
|
|
public static CustomObj make() {
|
|
CustomObj obj = new CustomObj();
|
|
obj.init();
|
|
|
|
return obj;
|
|
}
|
|
|
|
public boolean check() {
|
|
boolean res = idle == null;
|
|
if (info == null) {
|
|
res = true;
|
|
}
|
|
return res;
|
|
}
|
|
|
|
public void init() {
|
|
if (info == null)
|
|
info = "自定义音乐";
|
|
if (idle == null)
|
|
idle = "空闲列表";
|
|
}
|
|
}
|