pytenno.models.missions

class pytenno.models.missions.DroptableMission(mission_id: str, node_id: str, rarity: ItemRarity, rate: int | float, item_subtype: Subtype, rotation: Rotation, stage: Stage, relics: list[pytenno.models.missions.DroptableRelic], npc: list[pytenno.models.missions.DroptableNPC])[source]

Represents a mission.

item_subtype: Subtype

The subtype of the item found in the mission.

mission_id: str

The ID of the mission.

node_id: str

The ID of the node the mission is on.

npc: list[pytenno.models.missions.DroptableNPC]

The NPCs where the item can be found.

rarity: ItemRarity

The rarity of the item found in the mission.

rate: int | float

The rate of the item found in the mission.

relics: list[pytenno.models.missions.DroptableRelic]

Relics that can be found in the mission.

rotation: Rotation

The rotation where the item can be found.

stage: Stage

The stage of the item found in the mission.

class pytenno.models.missions.DroptableNPC(id: str, icon: str, thumb: str, name: str)[source]

Represents a NPC in a mission

icon: str

The icon URL of the NPC.

id: str

The ID of the NPC.

name: str

The name of the NPC.

thumb: str

The thumbnail URL of the NPC.

class pytenno.models.missions.DroptableRelic(id: str, rarity: ItemRarity, rate: dict[pytenno.models.enums.RelicQuality, int | float])[source]

Represents a relic drop in a mission

id: str

The ID of the relic.

rarity: ItemRarity

The rarity of the item found in the relic.

rate: dict[pytenno.models.enums.RelicQuality, int | float]

A mapping of relic quality to the rate of the relic dropping.

class pytenno.models.missions.PartialMission(id: str, icon: str, thumb: str, name: str)[source]

Represents a partial mission.

icon: str

The icon URL of the mission.

id: str

The ID of the mission.

name: str

The name of the mission.

thumb: str

The thumbnail URL of the mission.