World
tibiawikisql.models.world
¶
Classes:
| Name | Description |
|---|---|
World |
Represents a Game World. |
World
pydantic-model
¶
Represents a Game World.
Show JSON schema:
{
"description": "Represents a Game World.",
"properties": {
"article_id": {
"title": "Article Id",
"type": "integer"
},
"title": {
"title": "Title",
"type": "string"
},
"timestamp": {
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"pvp_type": {
"title": "Pvp Type",
"type": "string"
},
"location": {
"title": "Location",
"type": "string"
},
"is_preview": {
"title": "Is Preview",
"type": "boolean"
},
"is_experimental": {
"title": "Is Experimental",
"type": "boolean"
},
"online_since": {
"format": "date",
"title": "Online Since",
"type": "string"
},
"offline_since": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Offline Since"
},
"merged_into": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Merged Into"
},
"battleye": {
"title": "Battleye",
"type": "boolean"
},
"battleye_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Battleye Type"
},
"protected_since": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Protected Since"
},
"world_board": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "World Board"
},
"trade_board": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Trade Board"
}
},
"required": [
"article_id",
"title",
"timestamp",
"name",
"pvp_type",
"location",
"is_preview",
"is_experimental",
"online_since",
"offline_since",
"merged_into",
"battleye",
"battleye_type",
"protected_since",
"world_board",
"trade_board"
],
"title": "World",
"type": "object"
}
Fields:
-
article_id(int) -
title(str) -
timestamp(datetime) -
name(str) -
pvp_type(str) -
location(str) -
is_preview(bool) -
is_experimental(bool) -
online_since(date) -
offline_since(date | None) -
merged_into(str | None) -
battleye(bool) -
battleye_type(str | None) -
protected_since(date | None) -
world_board(int | None) -
trade_board(int | None)
is_experimental
pydantic-field
¶
is_experimental: bool
Whether the world is a experimental world or not.
online_since
pydantic-field
¶
online_since: date
Date when the world became online for the first time.
merged_into
pydantic-field
¶
merged_into: str | None
The name of the world this world got merged into, if applicable.
battleye_type
pydantic-field
¶
battleye_type: str | None
The type of BattlEye protection the world has. Can be either green or yellow.