protected override int getDataRoomStatus(string room) { dataTemp = getJson(room); if (dataTemp == null) { return((int)LivingStatus.ERROR); } return((int)(dataTemp.room_info.live_status == 1 ? LivingStatus.ONLINE : LivingStatus.OFFLINE)); }
public override string getOwnerName(string room) { BilibiliData data = getJson(room); if (data == null) { return(""); } return(data.anchor_info.base_info.uname); }