mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 02:11:06 +00:00
18 lines
404 B
Python
18 lines
404 B
Python
from dataclasses import dataclass
|
|
from typing import ClassVar
|
|
|
|
from module.base.decorator import cached_property
|
|
from module.ocr.keyword import Keyword
|
|
|
|
|
|
@dataclass(repr=False)
|
|
class CharacterList(Keyword):
|
|
instances: ClassVar = {}
|
|
|
|
@cached_property
|
|
def is_trailblazer(self) -> bool:
|
|
return 'Trailblazer' in self.name
|
|
|
|
def __hash__(self) -> int:
|
|
return super().__hash__()
|