Module genshin.models.starrail.chronicle.rogue
Starrail Rogue models.
Classes
class RogueBasicInfo (**data: Any)
-
generalized rogue basic info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueBasicInfo(APIModel): """generalized rogue basic info.""" unlocked_buff_num: int unlocked_miracle_num: int unlocked_skill_points: int
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var unlocked_buff_num : int
var unlocked_miracle_num : int
var unlocked_skill_points : int
class RogueBuff (**data: Any)
-
Rogue buff info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueBuff(APIModel): """Rogue buff info.""" base_type: RogueBuffType items: list[RogueBuffItem]
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var base_type : RogueBuffType
var items : list[RogueBuffItem]
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
class RogueBuffItem (**data: Any)
-
Rogue buff item.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueBuffItem(APIModel): """Rogue buff item.""" id: int name: str is_evoluted: bool rank: int
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var id : int
var is_evoluted : bool
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var name : str
var rank : int
class RogueBuffType (**data: Any)
-
Rogue buff type.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueBuffType(APIModel): """Rogue buff type.""" id: int name: str cnt: int
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var cnt : int
var id : int
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var name : str
class RogueMiracle (**data: Any)
-
Rogue miracle info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueMiracle(APIModel): """Rogue miracle info.""" id: int name: str icon: str
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var icon : str
var id : int
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var name : str
class RogueRecord (**data: Any)
-
generic record data.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueRecord(APIModel): """generic record data.""" basic: RogueRecordBasic records: list[RogueRecordDetail] has_data: bool
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var basic : RogueRecordBasic
var has_data : bool
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var records : list[RogueRecordDetail]
class RogueRecordBasic (**data: Any)
-
Basic record info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueRecordBasic(APIModel): """Basic record info.""" id: int finish_cnt: int schedule_begin: PartialTime schedule_end: PartialTime
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var finish_cnt : int
var id : int
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var schedule_begin : PartialTime
var schedule_end : PartialTime
class RogueRecordDetail (**data: Any)
-
Detailed record info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueRecordDetail(APIModel): """Detailed record info.""" name: str finish_time: PartialTime score: int final_lineup: list[RogueCharacter] base_type_list: list[RogueBuffType] cached_avatars: list[RogueCharacter] buffs: list[RogueBuff] miracles: list[RogueMiracle] difficulty: int progress: int
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var base_type_list : list[RogueBuffType]
var buffs : list[RogueBuff]
var cached_avatars : list[RogueCharacter]
var difficulty : int
var final_lineup : list[RogueCharacter]
var finish_time : PartialTime
var miracles : list[RogueMiracle]
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var name : str
var progress : int
var score : int
class RogueUserRole (**data: Any)
-
Rogue User info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class RogueUserRole(APIModel): """Rogue User info.""" nickname: str server: str level: int
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var level : int
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var nickname : str
var server : str
class StarRailRogue (**data: Any)
-
generic rogue data.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class StarRailRogue(APIModel): """generic rogue data.""" role: RogueUserRole basic_info: RogueBasicInfo current_record: RogueRecord last_record: RogueRecord
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var basic_info : RogueBasicInfo
var current_record : RogueRecord
var last_record : RogueRecord
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var role : RogueUserRole