mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2026-02-12 16:00:30 +00:00
[update] VipPoint
This commit is contained in:
40
plugin/VipPoint/Traits/DressView.php
Normal file
40
plugin/VipPoint/Traits/DressView.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Website: https://mudew.com/
|
||||
* Author: Lkeme
|
||||
* License: The MIT License
|
||||
* Email: Useri@live.cn
|
||||
* Updated: 2023 ~ 2024
|
||||
*
|
||||
* _____ _ _ _ _ _ _____ _ _____ _____ _____
|
||||
* | _ \ | | | | | | | | | | | ____| | | | _ \ | ____| | _ \ & /l、
|
||||
* | |_| | | | | | | | | |_| | | |__ | | | |_| | | |__ | |_| | (゚、 。 7
|
||||
* | _ { | | | | | | | _ | | __| | | | ___/ | __| | _ / \、゙ ~ヽ *
|
||||
* | |_| | | | | |___ | | | | | | | |___ | |___ | | | |___ | | \ \ じしf_, )ノ
|
||||
* |_____/ |_| |_____| |_| |_| |_| |_____| |_____| |_| |_____| |_| \_\
|
||||
*/
|
||||
trait DressView
|
||||
{
|
||||
use CommonTaskInfo;
|
||||
|
||||
/**
|
||||
* @param array $data
|
||||
* @param string $name
|
||||
* @return bool
|
||||
*/
|
||||
public function dressView(array $data, string $name): bool
|
||||
{
|
||||
$title = '日常任务';
|
||||
$code = 'dress-view';
|
||||
//
|
||||
if ($this->isComplete($data, $name, $title, $code)) {
|
||||
return true;
|
||||
}
|
||||
//
|
||||
$this->worker($data, $name, $title, $code, 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user