contracts
Chapter
Bases: pydantic.BaseModel
Represents a chapter.
Attributes:
Name | Type | Description |
---|---|---|
is_epilogue |
bool
|
if it is an epilogue |
levels |
list[Level]
|
the levels |
free_rewards |
list[FreeReward]
|
the free rewards |
Content
Bases: pydantic.BaseModel
Represents content.
Attributes:
Name | Type | Description |
---|---|---|
relation_type |
str
|
the relation type |
relation_uuid |
str
|
the relation uuid |
chapters |
list[Chapter]
|
the chapters |
premium_reward_schedule_uuid |
str
|
the premium reward schedule uuid |
premium_vp_cost |
int
|
the premium vp cost |
Contract
Bases: traits.Identifiable
Represents a contract.
Attributes:
Name | Type | Description |
---|---|---|
uuid |
str
|
the uuid |
display_name |
str
|
the display name |
display_icon |
str
|
the display icon |
ship_it |
bool
|
the ship it |
free_reward_schedule_uuid |
str
|
the free reward schedule uuid |
content |
Content
|
the content |
asset_path |
str
|
the asset path |
FreeReward
Bases: pydantic.BaseModel
Represents a free reward.
Attributes:
Name | Type | Description |
---|---|---|
type |
str
|
the type |
uuid |
str
|
the uuid |
amount |
int
|
the amount |
is_highlighted |
bool
|
if it is highlighted |
Level
Bases: pydantic.BaseModel
Represents a level.
Attributes:
Name | Type | Description |
---|---|---|
reward |
Reward
|
the reward |
xp |
int
|
the xp |
vp_cost |
int
|
the vp cost |
is_purchasable_with_vp |
typing.Optional[bool]
|
if it can be purchased with vp |
Reward
Bases: pydantic.BaseModel
Represents a reward.
Attributes:
Name | Type | Description |
---|---|---|
type |
str
|
the type |
uuid |
str
|
the uuid |
amount |
int
|
the amount |
is_highlighted |
bool
|
if it is highlighted |