wotb

package
v4.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAchievements

type AccountAchievements struct {
	// Achievements earned
	Achievements map[string]string `json:"achievements,omitempty"`
	// Maximum values of achievement series
	MaxSeries map[string]string `json:"max_series,omitempty"`
}

type AccountAchievementsOptions

type AccountAchievementsOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type AccountInfo

type AccountInfo struct {
	// Player account ID
	AccountId *int `json:"account_id,omitempty"`
	// Date when player's account was created
	CreatedAt *wgnTime.UnixTime `json:"created_at,omitempty"`
	// Last battle time
	LastBattleTime *wgnTime.UnixTime `json:"last_battle_time,omitempty"`
	// Player name
	Nickname *string `json:"nickname,omitempty"`
	// Player's private data
	Private *struct {
		// Account ban details
		BanInfo *string `json:"ban_info,omitempty"`
		// End time of account ban
		BanTime *wgnTime.UnixTime `json:"ban_time,omitempty"`
		// Overall battle life time in seconds
		BattleLifeTime *int `json:"battle_life_time,omitempty"`
		// Credits
		Credits *int `json:"credits,omitempty"`
		// Free Experience
		FreeXp *int `json:"free_xp,omitempty"`
		// Gold
		Gold *int `json:"gold,omitempty"`
		// Contact groups.
		// An extra field.
		GroupedContacts *struct {
			// Blocked
			Blocked []int `json:"blocked,omitempty"`
			// Groups
			Groups map[string]string `json:"groups,omitempty"`
			// Not grouped
			Ungrouped []int `json:"ungrouped,omitempty"`
		} `json:"grouped_contacts,omitempty"`
		// Indicates if the account is Premium Account
		IsPremium *bool `json:"is_premium,omitempty"`
		// Premium Account expiration time
		PremiumExpiresAt *wgnTime.UnixTime `json:"premium_expires_at,omitempty"`
		// Account restrictions
		Restrictions *struct {
			// End time of chat ban
			ChatBanTime *wgnTime.UnixTime `json:"chat_ban_time,omitempty"`
		} `json:"restrictions,omitempty"`
	} `json:"private,omitempty"`
	// Player statistics
	Statistics *struct {
		// Overall Statistics
		All *struct {
			// Number of battles
			Battles *int `json:"battles,omitempty"`
			// Base capture points
			CapturePoints *int `json:"capture_points,omitempty"`
			// Damage caused
			DamageDealt *int `json:"damage_dealt,omitempty"`
			// Damage received
			DamageReceived *int `json:"damage_received,omitempty"`
			// Base defense points
			DroppedCapturePoints *int `json:"dropped_capture_points,omitempty"`
			// Vehicles destroyed
			Frags *int `json:"frags,omitempty"`
			// Vehicles destroyed (Tier >= 8)
			Frags8p *int `json:"frags8p,omitempty"`
			// Number of hits
			Hits *int `json:"hits,omitempty"`
			// Defeats
			Losses *int `json:"losses,omitempty"`
			// Maximum destroyed in battle
			MaxFrags *int `json:"max_frags,omitempty"`
			// Vehicle with maximum number of enemy vehicles destroyed
			MaxFragsTankId *int `json:"max_frags_tank_id,omitempty"`
			// Maximum experience per battle
			MaxXp *int `json:"max_xp,omitempty"`
			// Vehicle used to gain maximum experience per battle
			MaxXpTankId *int `json:"max_xp_tank_id,omitempty"`
			// Shots fired
			Shots *int `json:"shots,omitempty"`
			// Vehicles spotted
			Spotted *int `json:"spotted,omitempty"`
			// Battles survived
			SurvivedBattles *int `json:"survived_battles,omitempty"`
			// Victories in battles survived
			WinAndSurvived *int `json:"win_and_survived,omitempty"`
			// Victories
			Wins *int `json:"wins,omitempty"`
			// Total experience
			Xp *int `json:"xp,omitempty"`
		} `json:"all,omitempty"`
		// Clan battle statistics
		Clan *struct {
			// Number of battles
			Battles *int `json:"battles,omitempty"`
			// Base capture points
			CapturePoints *int `json:"capture_points,omitempty"`
			// Damage caused
			DamageDealt *int `json:"damage_dealt,omitempty"`
			// Damage received
			DamageReceived *int `json:"damage_received,omitempty"`
			// Base defense points
			DroppedCapturePoints *int `json:"dropped_capture_points,omitempty"`
			// Vehicles destroyed
			Frags *int `json:"frags,omitempty"`
			// Vehicles destroyed (Tier >= 8)
			Frags8p *int `json:"frags8p,omitempty"`
			// Number of hits
			Hits *int `json:"hits,omitempty"`
			// Defeats
			Losses *int `json:"losses,omitempty"`
			// Maximum destroyed in battle
			MaxFrags *int `json:"max_frags,omitempty"`
			// Vehicle with maximum number of enemy vehicles destroyed
			MaxFragsTankId *int `json:"max_frags_tank_id,omitempty"`
			// Maximum experience per battle
			MaxXp *int `json:"max_xp,omitempty"`
			// Vehicle used to gain maximum experience per battle
			MaxXpTankId *int `json:"max_xp_tank_id,omitempty"`
			// Shots fired
			Shots *int `json:"shots,omitempty"`
			// Vehicles spotted
			Spotted *int `json:"spotted,omitempty"`
			// Battles survived
			SurvivedBattles *int `json:"survived_battles,omitempty"`
			// Victories in battles survived
			WinAndSurvived *int `json:"win_and_survived,omitempty"`
			// Victories
			Wins *int `json:"wins,omitempty"`
			// Total experience
			Xp *int `json:"xp,omitempty"`
		} `json:"clan,omitempty"`
		// Number and models of vehicles destroyed by a player. Player's private data.
		Frags map[string]string `json:"frags,omitempty"`
		// Rating battles statistics.
		// An extra field.
		Rating *struct {
			// Number of battles
			Battles *int `json:"battles,omitempty"`
			// Battles before end of calibration
			CalibrationBattlesLeft *int `json:"calibration_battles_left,omitempty"`
			// Base capture points
			CapturePoints *int `json:"capture_points,omitempty"`
			// Number of current season for player
			CurrentSeason *int `json:"current_season,omitempty"`
			// Damage caused
			DamageDealt *int `json:"damage_dealt,omitempty"`
			// Damage received
			DamageReceived *int `json:"damage_received,omitempty"`
			// Base defense points
			DroppedCapturePoints *int `json:"dropped_capture_points,omitempty"`
			// Vehicles destroyed
			Frags *int `json:"frags,omitempty"`
			// Vehicles destroyed (Tier >= 8)
			Frags8p *int `json:"frags8p,omitempty"`
			// Number of hits
			Hits *int `json:"hits,omitempty"`
			// Flag of recalibration start
			IsRecalibration *bool `json:"is_recalibration,omitempty"`
			// Defeats
			Losses *int `json:"losses,omitempty"`
			// Matchmaking rating
			MmRating *float32 `json:"mm_rating,omitempty"`
			// Recalibration start time
			RecalibrationStartTime *wgnTime.UnixTime `json:"recalibration_start_time,omitempty"`
			// Shots fired
			Shots *int `json:"shots,omitempty"`
			// Vehicles spotted
			Spotted *int `json:"spotted,omitempty"`
			// Battles survived
			SurvivedBattles *int `json:"survived_battles,omitempty"`
			// Victories in battles survived
			WinAndSurvived *int `json:"win_and_survived,omitempty"`
			// Victories
			Wins *int `json:"wins,omitempty"`
			// Total experience
			Xp *int `json:"xp,omitempty"`
		} `json:"rating,omitempty"`
	} `json:"statistics,omitempty"`
	// Date when player details were updated
	UpdatedAt *wgnTime.UnixTime `json:"updated_at,omitempty"`
}

type AccountInfoOptions

type AccountInfoOptions struct {
	// Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
	AccessToken *string `json:"access_token,omitempty"`
	// Extra fields that will be added to the response. Valid values:
	//
	// "private.grouped_contacts"
	// "statistics.rating"
	Extra []string `json:"extra,omitempty"`
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type AccountList

type AccountList struct {
	// Player ID
	AccountId *int `json:"account_id,omitempty"`
	// Player name
	Nickname *string `json:"nickname,omitempty"`
}

type AccountListOptions

type AccountListOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Number of returned entries (fewer can be returned, but not more than 100). If the limit sent exceeds 100, a limit of None is applied (by default).
	Limit *int `json:"limit,omitempty"`
	// Search type. Default is "startswith". Valid values:
	//
	// "startswith" - Search by initial characters of player name. Minimum length: 3 characters. Maximum length: 24 characters. (by default)
	// "exact" - Search by exact match of player name. Case insensitive. You can enter several names, separated with commas (up to 100).
	Type *string `json:"type,omitempty"`
}

type AccountTankstats

type AccountTankstats struct {
	// Player account ID
	AccountId *int `json:"account_id,omitempty"`
	// Overall Statistics
	All *struct {
		// Number of battles
		Battles *int `json:"battles,omitempty"`
		// Base capture points
		CapturePoints *int `json:"capture_points,omitempty"`
		// Damage caused
		DamageDealt *int `json:"damage_dealt,omitempty"`
		// Damage received
		DamageReceived *int `json:"damage_received,omitempty"`
		// Base defense points
		DroppedCapturePoints *int `json:"dropped_capture_points,omitempty"`
		// Vehicles destroyed
		Frags *int `json:"frags,omitempty"`
		// Vehicles destroyed (Tier >= 8)
		Frags8p *int `json:"frags8p,omitempty"`
		// Number of hits
		Hits *int `json:"hits,omitempty"`
		// Defeats
		Losses *int `json:"losses,omitempty"`
		// Maximum destroyed in battle
		MaxFrags *int `json:"max_frags,omitempty"`
		// Maximum experience per battle
		MaxXp *int `json:"max_xp,omitempty"`
		// Shots fired
		Shots *int `json:"shots,omitempty"`
		// Vehicles spotted
		Spotted *int `json:"spotted,omitempty"`
		// Battles survived
		SurvivedBattles *int `json:"survived_battles,omitempty"`
		// Victories in battles survived
		WinAndSurvived *int `json:"win_and_survived,omitempty"`
		// Victories
		Wins *int `json:"wins,omitempty"`
		// Total experience
		Xp *int `json:"xp,omitempty"`
	} `json:"all,omitempty"`
	// Overall battle life time in seconds
	BattleLifeTime *wgnTime.UnixTime `json:"battle_life_time,omitempty"`
	// Last battle time
	LastBattleTime *wgnTime.UnixTime `json:"last_battle_time,omitempty"`
	// Mastery Badges:
	//
	// 0 - None
	// 1 - 3rd Class
	// 2 - 2nd Class
	// 3 - 1st Class
	// 4 - Ace Tanker
	MarkOfMastery *int `json:"mark_of_mastery,omitempty"`
	// Vehicle ID
	TankId *int `json:"tank_id,omitempty"`
}

type AccountTankstatsOptions

type AccountTankstatsOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type ClansAccountinfo

type ClansAccountinfo struct {
	// User ID
	AccountId *int `json:"account_id,omitempty"`
	// Player name
	AccountName *string `json:"account_name,omitempty"`
	// Short info about clan.
	// An extra field.
	Clan *struct {
		// Clan ID
		ClanId *int `json:"clan_id,omitempty"`
		// Clan creation date
		CreatedAt *wgnTime.UnixTime `json:"created_at,omitempty"`
		// Emblems set ID
		EmblemSetId *int `json:"emblem_set_id,omitempty"`
		// Number of clan members
		MembersCount *int `json:"members_count,omitempty"`
		// Clan name
		Name *string `json:"name,omitempty"`
		// Clan tag
		Tag *string `json:"tag,omitempty"`
	} `json:"clan,omitempty"`
	// Clan ID
	ClanId *int `json:"clan_id,omitempty"`
	// Date when player joined clan
	JoinedAt *wgnTime.UnixTime `json:"joined_at,omitempty"`
	// Technical position name
	Role *string `json:"role,omitempty"`
}

type ClansAccountinfoOptions

type ClansAccountinfoOptions struct {
	// Extra fields that will be added to the response. Valid values:
	//
	// "clan"
	Extra []string `json:"extra,omitempty"`
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type ClansGlossary

type ClansGlossary struct {
	// Available clan positions
	ClansRoles map[string]string `json:"clans_roles,omitempty"`
	// Clan settings
	Settings *struct {
		// Max number of clan members
		MaxMembersCount *int `json:"max_members_count,omitempty"`
	} `json:"settings,omitempty"`
}

type ClansGlossaryOptions

type ClansGlossaryOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type ClansInfo

type ClansInfo struct {
	// Clan ID
	ClanId *int `json:"clan_id,omitempty"`
	// Clan creation date
	CreatedAt *wgnTime.UnixTime `json:"created_at,omitempty"`
	// Clan creator ID
	CreatorId *int `json:"creator_id,omitempty"`
	// Clan creator's name
	CreatorName *string `json:"creator_name,omitempty"`
	// Clan description
	Description *string `json:"description,omitempty"`
	// Emblems set ID
	EmblemSetId *int `json:"emblem_set_id,omitempty"`
	// Clan has been deleted. The deleted clan data contains valid values for the following fields only: clan_id, is_clan_disbanded, updated_at.
	IsClanDisbanded *bool `json:"is_clan_disbanded,omitempty"`
	// Commander ID
	LeaderId *int `json:"leader_id,omitempty"`
	// Commander's name
	LeaderName *string `json:"leader_name,omitempty"`
	// Clan members.
	// An extra field.
	Members *struct {
		// User ID
		AccountId *int `json:"account_id,omitempty"`
		// Player name
		AccountName *string `json:"account_name,omitempty"`
		// Date when player joined clan
		JoinedAt *wgnTime.UnixTime `json:"joined_at,omitempty"`
		// Technical position name
		Role *string `json:"role,omitempty"`
	} `json:"members,omitempty"`
	// Number of clan members
	MembersCount *int `json:"members_count,omitempty"`
	// List of clan players' IDs
	MembersIds []int `json:"members_ids,omitempty"`
	// Clan motto
	Motto *string `json:"motto,omitempty"`
	// Clan name
	Name *string `json:"name,omitempty"`
	// Old clan name
	OldName *string `json:"old_name,omitempty"`
	// Old clan tag
	OldTag *string `json:"old_tag,omitempty"`
	// Threshold statistics values to join clan. Contains null if threshold values are not set.
	RecruitingOptions *struct {
		// Average number of battles per day
		AverageBattlesPerDay *int `json:"average_battles_per_day,omitempty"`
		// Average damage per battle
		AverageDamage *int `json:"average_damage,omitempty"`
		// Battles fought
		Battles *int `json:"battles,omitempty"`
		// Minimum vehicle Tier of player
		VehiclesLevel *int `json:"vehicles_level,omitempty"`
		// Victories/Battles ratio
		WinsRatio *int `json:"wins_ratio,omitempty"`
	} `json:"recruiting_options,omitempty"`
	// Clan recruiting policy.
	// Valid values:
	//
	// open - free to join, if statistics completely meet the required threshold values (by default)
	// restricted - applications to join clan can be sent
	RecruitingPolicy *string `json:"recruiting_policy,omitempty"`
	// Time (UTC) when clan name was changed
	RenamedAt *wgnTime.UnixTime `json:"renamed_at,omitempty"`
	// Clan tag
	Tag *string `json:"tag,omitempty"`
	// Time when clan details were updated
	UpdatedAt *wgnTime.UnixTime `json:"updated_at,omitempty"`
}

type ClansInfoOptions

type ClansInfoOptions struct {
	// Extra fields that will be added to the response. Valid values:
	//
	// "members"
	Extra []string `json:"extra,omitempty"`
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type ClansList

type ClansList struct {
	// Clan ID
	ClanId *int `json:"clan_id,omitempty"`
	// Clan creation date
	CreatedAt *wgnTime.UnixTime `json:"created_at,omitempty"`
	// Number of clan members
	MembersCount *int `json:"members_count,omitempty"`
	// Clan name
	Name *string `json:"name,omitempty"`
	// Clan tag
	Tag *string `json:"tag,omitempty"`
}

type ClansListOptions

type ClansListOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Number of returned entries (fewer can be returned, but not more than 100). If the limit sent exceeds 100, a limit of 100 is applied (by default).
	Limit *int `json:"limit,omitempty"`
	// Page number. Default is 1. Min value is 1.
	PageNo *int `json:"page_no,omitempty"`
	// Part of name or tag for clan search. Minimum 2 characters
	Search *string `json:"search,omitempty"`
}

type EncyclopediaAchievements

type EncyclopediaAchievements struct {
	// Achievement ID
	AchievementId *string `json:"achievement_id,omitempty"`
	// Condition
	Condition *string `json:"condition,omitempty"`
	// Achievement description
	Description *string `json:"description,omitempty"`
	// Image link
	Image *string `json:"image,omitempty"`
	// Link to large image
	ImageBig *string `json:"image_big,omitempty"`
	// Achievement name
	Name *string `json:"name,omitempty"`
	// Service Record
	Options *struct {
		// Achievement description
		Description *string `json:"description,omitempty"`
		// Image link
		Image *string `json:"image,omitempty"`
		// Link to large image
		ImageBig *string `json:"image_big,omitempty"`
		// Achievement name
		Name *string `json:"name,omitempty"`
	} `json:"options,omitempty"`
	// Order of achievements
	Order *int `json:"order,omitempty"`
	// Section
	Section *string `json:"section,omitempty"`
}

type EncyclopediaAchievementsOptions

type EncyclopediaAchievementsOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type EncyclopediaCrewskills

type EncyclopediaCrewskills struct {
	// Skill effect
	Effect *string `json:"effect,omitempty"`
	// Features
	Features *string `json:"features,omitempty"`
	// Skill images
	Images *struct {
		// URL to large image
		Large *string `json:"large,omitempty"`
	} `json:"images,omitempty"`
	// Skill name
	Name *string `json:"name,omitempty"`
	// Skill ID
	SkillId *string `json:"skill_id,omitempty"`
	// Tip
	Tip *string `json:"tip,omitempty"`
	// Vehicle type
	VehicleType *string `json:"vehicle_type,omitempty"`
}

type EncyclopediaCrewskillsOptions

type EncyclopediaCrewskillsOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Skills IDs. Maximum limit: 100.
	SkillId []string `json:"skill_id,omitempty"`
	// Vehicle types. Maximum limit: 100.
	VehicleType []string `json:"vehicle_type,omitempty"`
}

type EncyclopediaInfo

type EncyclopediaInfo struct {
	// Award sections
	AchievementSections *struct {
		// Award section name
		Name *string `json:"name,omitempty"`
		// Award section order
		Order *int `json:"order,omitempty"`
	} `json:"achievement_sections,omitempty"`
	// Game client version
	GameVersion *string `json:"game_version,omitempty"`
	// List of supported languages
	Languages map[string]string `json:"languages,omitempty"`
	// Time when details on vehicles in Encyclopedia were updated
	TanksUpdatedAt *wgnTime.UnixTime `json:"tanks_updated_at,omitempty"`
	// Nations available
	VehicleNations map[string]string `json:"vehicle_nations,omitempty"`
	// Available vehicle types
	VehicleTypes map[string]string `json:"vehicle_types,omitempty"`
}

type EncyclopediaInfoOptions

type EncyclopediaInfoOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
}

type EncyclopediaModules

type EncyclopediaModules struct {
	// Engine characteristics
	Engines []*struct {
		// Chance of engine fire
		FireChance *float32 `json:"fire_chance,omitempty"`
		// Module ID
		ModuleId *int `json:"module_id,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Nation
		Nation *string `json:"nation,omitempty"`
		// Engine Power (hp)
		Power *int `json:"power,omitempty"`
		// List of compatible vehicles
		Tanks []int `json:"tanks,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"engines,omitempty"`
	// Gun characteristics
	Guns []*struct {
		// Aiming time (s)
		AimTime *float32 `json:"aim_time,omitempty"`
		// Dispersion at 100 m (m)
		Dispersion *float32 `json:"dispersion,omitempty"`
		// Module ID
		ModuleId *int `json:"module_id,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Nation
		Nation *string `json:"nation,omitempty"`
		// Gun shells characteristics
		Shells []*struct {
			// Average damage (HP)
			Damage *int `json:"damage,omitempty"`
			// Average penetration (mm)
			Penetration *int `json:"penetration,omitempty"`
			// Type
			Type *string `json:"type,omitempty"`
		} `json:"shells,omitempty"`
		// List of compatible vehicles
		Tanks []int `json:"tanks,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"guns,omitempty"`
	// Suspension characteristics
	Suspensions []*struct {
		// Load limit (kg)
		LoadLimit *int `json:"load_limit,omitempty"`
		// Module ID
		ModuleId *int `json:"module_id,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Nation
		Nation *string `json:"nation,omitempty"`
		// List of compatible vehicles
		Tanks []int `json:"tanks,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Traverse speed (deg/s)
		TraverseSpeed *int `json:"traverse_speed,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"suspensions,omitempty"`
	// Turret characteristics
	Turrets []*struct {
		// Armor
		Armor *struct {
			// Front (mm)
			Front *int `json:"front,omitempty"`
			// Rear (mm)
			Rear *int `json:"rear,omitempty"`
			// Sides (mm)
			Sides *int `json:"sides,omitempty"`
		} `json:"armor,omitempty"`
		// Hit points
		Hp *int `json:"hp,omitempty"`
		// Module ID
		ModuleId *int `json:"module_id,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Nation
		Nation *string `json:"nation,omitempty"`
		// List of compatible vehicles
		Tanks []int `json:"tanks,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Traverse angle, left (deg)
		TraverseLeftArc *int `json:"traverse_left_arc,omitempty"`
		// Traverse angle, right (deg)
		TraverseRightArc *int `json:"traverse_right_arc,omitempty"`
		// View range (m)
		ViewRange *int `json:"view_range,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"turrets,omitempty"`
}

type EncyclopediaModulesOptions

type EncyclopediaModulesOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Module ID. Maximum limit: 100.
	ModuleId []int `json:"module_id,omitempty"`
	// Nation
	Nation *string `json:"nation,omitempty"`
	// Module type. Valid values:
	//
	// "vehicleEngine" - Engines
	// "vehicleGun" - Gun
	// "vehicleChassis" - Suspension
	// "vehicleTurret" - Turret
	Type *string `json:"type,omitempty"`
}

type EncyclopediaProvisions

type EncyclopediaProvisions struct {
	// Localized description
	DescriptionI18n *string `json:"description_i18n,omitempty"`
	// Localized name
	NameI18n *string `json:"name_i18n,omitempty"`
	// Cost in credits
	PriceCredit *int `json:"price_credit,omitempty"`
	// Purchase cost in gold
	PriceGold *int `json:"price_gold,omitempty"`
	// Equipment or consumable ID
	ProvisionId *int `json:"provision_id,omitempty"`
	// List of compatible vehicle IDs
	Tanks []int `json:"tanks,omitempty"`
	// Type
	Type *string `json:"type,omitempty"`
}

type EncyclopediaProvisionsOptions

type EncyclopediaProvisionsOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Equipment or consumable ID. Maximum limit: 100.
	ProvisionId []int `json:"provision_id,omitempty"`
	// Vehicle ID. Maximum limit: 100.
	TankId []int `json:"tank_id,omitempty"`
	// Type. Valid values:
	//
	// "equipment" - Consumables
	// "optionalDevice" - Equipment
	Type *string `json:"type,omitempty"`
}

type EncyclopediaVehicleprofile

type EncyclopediaVehicleprofile struct {
	// Armor
	Armor *struct {
		// Hull armor
		Hull *struct {
			// Front (mm)
			Front *int `json:"front,omitempty"`
			// Rear (mm)
			Rear *int `json:"rear,omitempty"`
			// Sides (mm)
			Sides *int `json:"sides,omitempty"`
		} `json:"hull,omitempty"`
		// Turret armor
		Turret *struct {
			// Front (mm)
			Front *int `json:"front,omitempty"`
			// Rear (mm)
			Rear *int `json:"rear,omitempty"`
			// Sides (mm)
			Sides *int `json:"sides,omitempty"`
		} `json:"turret,omitempty"`
	} `json:"armor,omitempty"`
	// The highest battle Tier of the vehicle
	BattleLevelRangeMax *int `json:"battle_level_range_max,omitempty"`
	// The lowest battle Tier of the vehicle
	BattleLevelRangeMin *int `json:"battle_level_range_min,omitempty"`
	// Engine characteristics
	Engine *struct {
		// Chance of engine fire
		FireChance *float32 `json:"fire_chance,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Engine Power (hp)
		Power *int `json:"power,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"engine,omitempty"`
	// Engine ID
	EngineId *int `json:"engine_id,omitempty"`
	// Firepower (%)
	Firepower *int `json:"firepower,omitempty"`
	// Gun characteristics
	Gun *struct {
		// Aiming time (s)
		AimTime *float32 `json:"aim_time,omitempty"`
		// Caliber (mm)
		Caliber *int `json:"caliber,omitempty"`
		// Number of shells in the ammo
		ClipCapacity *int `json:"clip_capacity,omitempty"`
		// Reload time
		ClipReloadTime *float32 `json:"clip_reload_time,omitempty"`
		// Dispersion at 100 m (m)
		Dispersion *float32 `json:"dispersion,omitempty"`
		// Rate of fire (rounds/min)
		FireRate *float32 `json:"fire_rate,omitempty"`
		// Depression angle (deg)
		MoveDownArc *int `json:"move_down_arc,omitempty"`
		// Elevation angle (deg)
		MoveUpArc *int `json:"move_up_arc,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Reload time (s)
		ReloadTime *float32 `json:"reload_time,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Traverse speed (deg/s)
		TraverseSpeed *float32 `json:"traverse_speed,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"gun,omitempty"`
	// Gun ID
	GunId *int `json:"gun_id,omitempty"`
	// Hit points
	Hp *int `json:"hp,omitempty"`
	// Hull HP
	HullHp *int `json:"hull_hp,omitempty"`
	// Hull weight (kg)
	HullWeight *int `json:"hull_weight,omitempty"`
	// Standard configuration
	IsDefault *bool `json:"is_default,omitempty"`
	// Maneuverability (%)
	Maneuverability *int `json:"maneuverability,omitempty"`
	// Ammunition
	MaxAmmo *int `json:"max_ammo,omitempty"`
	// Load limit (kg)
	MaxWeight *int `json:"max_weight,omitempty"`
	// Vehicle Configuration ID
	ProfileId *string `json:"profile_id,omitempty"`
	// Armor protection (%)
	Protection *int `json:"protection,omitempty"`
	// Gun shells characteristics
	Shells *struct {
		// Average damage (HP)
		Damage *int `json:"damage,omitempty"`
		// Average penetration (mm)
		Penetration *int `json:"penetration,omitempty"`
		// Type
		Type *string `json:"type,omitempty"`
	} `json:"shells,omitempty"`
	// Shot efficiency (%)
	ShotEfficiency *int `json:"shot_efficiency,omitempty"`
	// Signal range
	SignalRange *int `json:"signal_range,omitempty"`
	// Top reverse speed (km/h)
	SpeedBackward *int `json:"speed_backward,omitempty"`
	// Top speed (km/h)
	SpeedForward *int `json:"speed_forward,omitempty"`
	// Suspension characteristics
	Suspension *struct {
		// Load limit (kg)
		LoadLimit *int `json:"load_limit,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Traverse speed (deg/s)
		TraverseSpeed *int `json:"traverse_speed,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"suspension,omitempty"`
	// Suspension ID
	SuspensionId *int `json:"suspension_id,omitempty"`
	// Turret characteristics
	Turret *struct {
		// Hit points
		Hp *int `json:"hp,omitempty"`
		// Vehicle name
		Name *string `json:"name,omitempty"`
		// Tier
		Tier *int `json:"tier,omitempty"`
		// Traverse angle, left (deg)
		TraverseLeftArc *int `json:"traverse_left_arc,omitempty"`
		// Traverse angle, right (deg)
		TraverseRightArc *int `json:"traverse_right_arc,omitempty"`
		// Traverse speed (deg/s)
		TraverseSpeed *int `json:"traverse_speed,omitempty"`
		// View range (m)
		ViewRange *int `json:"view_range,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"turret,omitempty"`
	// Turret ID
	TurretId *int `json:"turret_id,omitempty"`
	// Weight (kg)
	Weight *int `json:"weight,omitempty"`
}

type EncyclopediaVehicleprofileOptions

type EncyclopediaVehicleprofileOptions struct {
	// Engine ID. If module is not specified, standard module is used by default.
	EngineId *int `json:"engine_id,omitempty"`
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Gun ID. If module is not specified, standard module is used by default.
	GunId *int `json:"gun_id,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Configuration ID. If specified, parameters of IDs of separate modules are ignored.
	ProfileId *string `json:"profile_id,omitempty"`
	// Suspension ID. If module is not specified, standard module is used by default.
	SuspensionId *int `json:"suspension_id,omitempty"`
	// Turret ID. If module is not specified, standard module is used by default.
	TurretId *int `json:"turret_id,omitempty"`
}

type EncyclopediaVehicleprofiles

type EncyclopediaVehicleprofiles struct {
	// Armor
	Armor *struct {
		// Hull armor
		Hull *struct {
			// Front (mm)
			Front *int `json:"front,omitempty"`
			// Rear (mm)
			Rear *int `json:"rear,omitempty"`
			// Sides (mm)
			Sides *int `json:"sides,omitempty"`
		} `json:"hull,omitempty"`
		// Turret armor
		Turret *struct {
			// Front (mm)
			Front *int `json:"front,omitempty"`
			// Rear (mm)
			Rear *int `json:"rear,omitempty"`
			// Sides (mm)
			Sides *int `json:"sides,omitempty"`
		} `json:"turret,omitempty"`
	} `json:"armor,omitempty"`
	// The highest battle Tier of the vehicle
	BattleLevelRangeMax *int `json:"battle_level_range_max,omitempty"`
	// The lowest battle Tier of the vehicle
	BattleLevelRangeMin *int `json:"battle_level_range_min,omitempty"`
	// Engine characteristics
	Engine *struct {
		// Engine Power (hp)
		Power *int `json:"power,omitempty"`
	} `json:"engine,omitempty"`
	// Firepower (%)
	Firepower *int `json:"firepower,omitempty"`
	// Gun characteristics
	Gun *struct {
		// Aiming time (s)
		AimTime *float32 `json:"aim_time,omitempty"`
		// Caliber (mm)
		Caliber *int `json:"caliber,omitempty"`
		// Number of shells in the ammo
		ClipCapacity *int `json:"clip_capacity,omitempty"`
		// Reload time
		ClipReloadTime *float32 `json:"clip_reload_time,omitempty"`
		// Dispersion at 100 m (m)
		Dispersion *float32 `json:"dispersion,omitempty"`
		// Rate of fire (rounds/min)
		FireRate *float32 `json:"fire_rate,omitempty"`
		// Depression angle (deg)
		MoveDownArc *int `json:"move_down_arc,omitempty"`
		// Elevation angle (deg)
		MoveUpArc *int `json:"move_up_arc,omitempty"`
		// Reload time (s)
		ReloadTime *float32 `json:"reload_time,omitempty"`
		// Traverse speed (deg/s)
		TraverseSpeed *float32 `json:"traverse_speed,omitempty"`
	} `json:"gun,omitempty"`
	// Hit points
	Hp *int `json:"hp,omitempty"`
	// Hull weight (kg)
	HullWeight *int `json:"hull_weight,omitempty"`
	// Standard configuration
	IsDefault *bool `json:"is_default,omitempty"`
	// Maneuverability (%)
	Maneuverability *int `json:"maneuverability,omitempty"`
	// Ammunition
	MaxAmmo *int `json:"max_ammo,omitempty"`
	// Load limit (kg)
	MaxWeight *int `json:"max_weight,omitempty"`
	// Configuration cost in credits
	PriceCredit *int `json:"price_credit,omitempty"`
	// Configuration cost in experience
	PriceXp *int `json:"price_xp,omitempty"`
	// Vehicle Configuration ID
	ProfileId *string `json:"profile_id,omitempty"`
	// Armor protection (%)
	Protection *int `json:"protection,omitempty"`
	// Gun shells characteristics
	Shells *struct {
		// Average damage (HP)
		Damage *int `json:"damage,omitempty"`
		// Average penetration (mm)
		Penetration *int `json:"penetration,omitempty"`
	} `json:"shells,omitempty"`
	// Shot efficiency (%)
	ShotEfficiency *int `json:"shot_efficiency,omitempty"`
	// Signal range
	SignalRange *int `json:"signal_range,omitempty"`
	// Top reverse speed (km/h)
	SpeedBackward *int `json:"speed_backward,omitempty"`
	// Top speed (km/h)
	SpeedForward *int `json:"speed_forward,omitempty"`
	// Suspension characteristics
	Suspension *struct {
		// Load limit (kg)
		LoadLimit *int `json:"load_limit,omitempty"`
		// Traverse speed (deg/s)
		TraverseSpeed *int `json:"traverse_speed,omitempty"`
	} `json:"suspension,omitempty"`
	// Vehicle ID
	TankId *int `json:"tank_id,omitempty"`
	// Turret characteristics
	Turret *struct {
		// Traverse angle, left (deg)
		TraverseLeftArc *int `json:"traverse_left_arc,omitempty"`
		// Traverse angle, right (deg)
		TraverseRightArc *int `json:"traverse_right_arc,omitempty"`
		// Traverse speed (deg/s)
		TraverseSpeed *int `json:"traverse_speed,omitempty"`
		// View range (m)
		ViewRange *int `json:"view_range,omitempty"`
	} `json:"turret,omitempty"`
	// Weight (kg)
	Weight *int `json:"weight,omitempty"`
}

type EncyclopediaVehicleprofilesOptions

type EncyclopediaVehicleprofilesOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Sorting. Valid values:
	//
	// "price_credit" - by cost in credits
	// "-price_credit" - by cost in credits, in reverse order
	OrderBy *string `json:"order_by,omitempty"`
}

type EncyclopediaVehicles

type EncyclopediaVehicles struct {
	// Cost
	Cost *struct {
		// Cost in credits
		PriceCredit *int `json:"price_credit,omitempty"`
		// Purchase cost in gold
		PriceGold *int `json:"price_gold,omitempty"`
	} `json:"cost,omitempty"`
	// Standard configuration characteristics
	DefaultProfile *struct {
		// Armor
		Armor *struct {
			// Hull armor
			Hull *struct {
				// Front (mm)
				Front *int `json:"front,omitempty"`
				// Rear (mm)
				Rear *int `json:"rear,omitempty"`
				// Sides (mm)
				Sides *int `json:"sides,omitempty"`
			} `json:"hull,omitempty"`
			// Turret armor
			Turret *struct {
				// Front (mm)
				Front *int `json:"front,omitempty"`
				// Rear (mm)
				Rear *int `json:"rear,omitempty"`
				// Sides (mm)
				Sides *int `json:"sides,omitempty"`
			} `json:"turret,omitempty"`
		} `json:"armor,omitempty"`
		// The highest battle Tier of the vehicle
		BattleLevelRangeMax *int `json:"battle_level_range_max,omitempty"`
		// The lowest battle Tier of the vehicle
		BattleLevelRangeMin *int `json:"battle_level_range_min,omitempty"`
		// Engine characteristics
		Engine *struct {
			// Chance of engine fire
			FireChance *float32 `json:"fire_chance,omitempty"`
			// Vehicle name
			Name *string `json:"name,omitempty"`
			// Engine Power (hp)
			Power *int `json:"power,omitempty"`
			// Tier
			Tier *int `json:"tier,omitempty"`
			// Weight (kg)
			Weight *int `json:"weight,omitempty"`
		} `json:"engine,omitempty"`
		// Engine ID
		EngineId *int `json:"engine_id,omitempty"`
		// Firepower (%)
		Firepower *int `json:"firepower,omitempty"`
		// Gun characteristics
		Gun *struct {
			// Aiming time (s)
			AimTime *float32 `json:"aim_time,omitempty"`
			// Caliber (mm)
			Caliber *int `json:"caliber,omitempty"`
			// Number of shells in the ammo
			ClipCapacity *int `json:"clip_capacity,omitempty"`
			// Reload time
			ClipReloadTime *float32 `json:"clip_reload_time,omitempty"`
			// Dispersion at 100 m (m)
			Dispersion *float32 `json:"dispersion,omitempty"`
			// Rate of fire (rounds/min)
			FireRate *float32 `json:"fire_rate,omitempty"`
			// Depression angle (deg)
			MoveDownArc *int `json:"move_down_arc,omitempty"`
			// Elevation angle (deg)
			MoveUpArc *int `json:"move_up_arc,omitempty"`
			// Vehicle name
			Name *string `json:"name,omitempty"`
			// Reload time (s)
			ReloadTime *float32 `json:"reload_time,omitempty"`
			// Tier
			Tier *int `json:"tier,omitempty"`
			// Traverse speed (deg/s)
			TraverseSpeed *float32 `json:"traverse_speed,omitempty"`
			// Weight (kg)
			Weight *int `json:"weight,omitempty"`
		} `json:"gun,omitempty"`
		// Gun ID
		GunId *int `json:"gun_id,omitempty"`
		// Hit points
		Hp *int `json:"hp,omitempty"`
		// Hull HP
		HullHp *int `json:"hull_hp,omitempty"`
		// Hull weight (kg)
		HullWeight *int `json:"hull_weight,omitempty"`
		// Standard configuration
		IsDefault *bool `json:"is_default,omitempty"`
		// Maneuverability (%)
		Maneuverability *int `json:"maneuverability,omitempty"`
		// Ammunition
		MaxAmmo *int `json:"max_ammo,omitempty"`
		// Load limit (kg)
		MaxWeight *int `json:"max_weight,omitempty"`
		// Vehicle Configuration ID
		ProfileId *string `json:"profile_id,omitempty"`
		// Armor protection (%)
		Protection *int `json:"protection,omitempty"`
		// Gun shells characteristics
		Shells *struct {
			// Average damage (HP)
			Damage *int `json:"damage,omitempty"`
			// Average penetration (mm)
			Penetration *int `json:"penetration,omitempty"`
			// Type
			Type *string `json:"type,omitempty"`
		} `json:"shells,omitempty"`
		// Shot efficiency (%)
		ShotEfficiency *int `json:"shot_efficiency,omitempty"`
		// Signal range
		SignalRange *int `json:"signal_range,omitempty"`
		// Top reverse speed (km/h)
		SpeedBackward *int `json:"speed_backward,omitempty"`
		// Top speed (km/h)
		SpeedForward *int `json:"speed_forward,omitempty"`
		// Suspension characteristics
		Suspension *struct {
			// Load limit (kg)
			LoadLimit *int `json:"load_limit,omitempty"`
			// Vehicle name
			Name *string `json:"name,omitempty"`
			// Tier
			Tier *int `json:"tier,omitempty"`
			// Traverse speed (deg/s)
			TraverseSpeed *int `json:"traverse_speed,omitempty"`
			// Weight (kg)
			Weight *int `json:"weight,omitempty"`
		} `json:"suspension,omitempty"`
		// Suspension ID
		SuspensionId *int `json:"suspension_id,omitempty"`
		// Turret characteristics
		Turret *struct {
			// Hit points
			Hp *int `json:"hp,omitempty"`
			// Vehicle name
			Name *string `json:"name,omitempty"`
			// Tier
			Tier *int `json:"tier,omitempty"`
			// Traverse angle, left (deg)
			TraverseLeftArc *int `json:"traverse_left_arc,omitempty"`
			// Traverse angle, right (deg)
			TraverseRightArc *int `json:"traverse_right_arc,omitempty"`
			// Traverse speed (deg/s)
			TraverseSpeed *int `json:"traverse_speed,omitempty"`
			// View range (m)
			ViewRange *int `json:"view_range,omitempty"`
			// Weight (kg)
			Weight *int `json:"weight,omitempty"`
		} `json:"turret,omitempty"`
		// Turret ID
		TurretId *int `json:"turret_id,omitempty"`
		// Weight (kg)
		Weight *int `json:"weight,omitempty"`
	} `json:"default_profile,omitempty"`
	// Vehicle description
	Description *string `json:"description,omitempty"`
	// List of compatible engine IDs
	Engines []int `json:"engines,omitempty"`
	// List of compatible gun IDs
	Guns []int `json:"guns,omitempty"`
	// Image links
	Images *struct {
		// Normal image
		Normal *string `json:"normal,omitempty"`
		// Small size image
		Preview *string `json:"preview,omitempty"`
	} `json:"images,omitempty"`
	// Indicates if the vehicle is Premium vehicle
	IsPremium *bool `json:"is_premium,omitempty"`
	// Module research information
	ModulesTree *struct {
		// Indicates if the module is basic
		IsDefault *bool `json:"is_default,omitempty"`
		// Module ID
		ModuleId *int `json:"module_id,omitempty"`
		// Module name
		Name *string `json:"name,omitempty"`
		// List of module IDs available after research of the module
		NextModules []int `json:"next_modules,omitempty"`
		// List of vehicle IDs available after research of the module
		NextTanks []int `json:"next_tanks,omitempty"`
		// Cost in credits
		PriceCredit *int `json:"price_credit,omitempty"`
		// Research cost
		PriceXp *int `json:"price_xp,omitempty"`
		// Module type
		Type *string `json:"type,omitempty"`
	} `json:"modules_tree,omitempty"`
	// Vehicle name
	Name *string `json:"name,omitempty"`
	// Nation
	Nation *string `json:"nation,omitempty"`
	// List of vehicles available for research in form of pairs:
	//
	// researched vehicle ID
	// cost of research in XP
	NextTanks map[string]string `json:"next_tanks,omitempty"`
	// List of research costs in form of pairs:
	//
	// parent vehicle ID
	// cost of research in XP
	PricesXp map[string]string `json:"prices_xp,omitempty"`
	// List of compatible suspension IDs
	Suspensions []int `json:"suspensions,omitempty"`
	// Vehicle ID
	TankId *int `json:"tank_id,omitempty"`
	// Tier
	Tier *int `json:"tier,omitempty"`
	// List of compatible turret IDs
	Turrets []int `json:"turrets,omitempty"`
	// Vehicle type
	Type *string `json:"type,omitempty"`
}

type EncyclopediaVehiclesOptions

type EncyclopediaVehiclesOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Nation. Maximum limit: 100.
	Nation []string `json:"nation,omitempty"`
	// Vehicle ID. Maximum limit: 100.
	TankId []int `json:"tank_id,omitempty"`
}

type TanksAchievements

type TanksAchievements struct {
	// Player account ID
	AccountId *int `json:"account_id,omitempty"`
	// Achievements earned
	Achievements map[string]string `json:"achievements,omitempty"`
	// Maximum values of achievement series
	MaxSeries map[string]string `json:"max_series,omitempty"`
	// Vehicle ID
	TankId *int `json:"tank_id,omitempty"`
}

type TanksAchievementsOptions

type TanksAchievementsOptions struct {
	// Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
	AccessToken *string `json:"access_token,omitempty"`
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Filter by vehicle availability in the Garage. If the parameter is not specified, all vehicles are returned. Parameter processing requires a valid access_token for the specified account_id. Valid values:
	//
	// "1" - Return vehicles available in the Garage.
	// "0" - Return vehicles that are no longer in the Garage.
	InGarage *string `json:"in_garage,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Player's vehicle ID. Maximum limit: 100.
	TankId []int `json:"tank_id,omitempty"`
}

type TanksStats

type TanksStats struct {
	// Player account ID
	AccountId *int `json:"account_id,omitempty"`
	// Overall Statistics
	All *struct {
		// Number of battles
		Battles *int `json:"battles,omitempty"`
		// Base capture points
		CapturePoints *int `json:"capture_points,omitempty"`
		// Damage caused
		DamageDealt *int `json:"damage_dealt,omitempty"`
		// Damage received
		DamageReceived *int `json:"damage_received,omitempty"`
		// Base defense points
		DroppedCapturePoints *int `json:"dropped_capture_points,omitempty"`
		// Vehicles destroyed
		Frags *int `json:"frags,omitempty"`
		// Vehicles destroyed (Tier >= 8)
		Frags8p *int `json:"frags8p,omitempty"`
		// Number of hits
		Hits *int `json:"hits,omitempty"`
		// Defeats
		Losses *int `json:"losses,omitempty"`
		// Maximum destroyed in battle
		MaxFrags *int `json:"max_frags,omitempty"`
		// Maximum experience per battle
		MaxXp *int `json:"max_xp,omitempty"`
		// Shots fired
		Shots *int `json:"shots,omitempty"`
		// Vehicles spotted
		Spotted *int `json:"spotted,omitempty"`
		// Battles survived
		SurvivedBattles *int `json:"survived_battles,omitempty"`
		// Victories in battles survived
		WinAndSurvived *int `json:"win_and_survived,omitempty"`
		// Victories
		Wins *int `json:"wins,omitempty"`
		// Total experience
		Xp *int `json:"xp,omitempty"`
	} `json:"all,omitempty"`
	// Overall battle life time in seconds
	BattleLifeTime *wgnTime.UnixTime `json:"battle_life_time,omitempty"`
	// Details on vehicles destroyed. This data requires a valid access_token for the specified account.
	Frags map[string]string `json:"frags,omitempty"`
	// Availability of vehicle in the Garage. This data requires a valid access_token for the specified account.
	InGarage *bool `json:"in_garage,omitempty"`
	// Time of last update of vehicle availability in the Garage. This data requires a valid access_token for the specified account.
	InGarageUpdated *wgnTime.UnixTime `json:"in_garage_updated,omitempty"`
	// Last battle time
	LastBattleTime *wgnTime.UnixTime `json:"last_battle_time,omitempty"`
	// Mastery Badges:
	//
	// 0 - None
	// 1 - 3rd Class
	// 2 - 2nd Class
	// 3 - 1st Class
	// 4 - Ace Tanker
	MarkOfMastery *int `json:"mark_of_mastery,omitempty"`
	// Maximum destroyed in battle
	MaxFrags *int `json:"max_frags,omitempty"`
	// Maximum experience per battle
	MaxXp *int `json:"max_xp,omitempty"`
	// Vehicle ID
	TankId *int `json:"tank_id,omitempty"`
}

type TanksStatsOptions

type TanksStatsOptions struct {
	// Access token for the private data of a user's account; can be received via the authorization method; valid within a stated time period
	AccessToken *string `json:"access_token,omitempty"`
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Filter by vehicle availability in the Garage. If the parameter is not specified, all vehicles are returned. Parameter processing requires a valid access_token for the specified account_id. Valid values:
	//
	// "1" - Return vehicles available in the Garage.
	// "0" - Return vehicles that are no longer in the Garage.
	InGarage *string `json:"in_garage,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "ru" - Русский
	// "pl" - Polski
	// "de" - Deutsch
	// "fr" - Français
	// "es" - Español
	// "zh-cn" - 简体中文
	// "zh-tw" - 繁體中文
	// "tr" - Türkçe
	// "cs" - Čeština
	// "th" - ไทย
	// "vi" - Tiếng Việt
	// "ko" - 한국어
	Language *string `json:"language,omitempty"`
	// Player's vehicle ID. Maximum limit: 100.
	TankId []int `json:"tank_id,omitempty"`
}

type TournamentsInfo

type TournamentsInfo struct {
	// Award for participating in tournament
	Award *struct {
		// Award amount
		Amount *int `json:"amount,omitempty"`
		// Award currency: Free XP, gold or credits
		Currency *string `json:"currency,omitempty"`
	} `json:"award,omitempty"`
	// Tournament description
	Description *string `json:"description,omitempty"`
	// Tournament end date and time
	EndAt *wgnTime.UnixTime `json:"end_at,omitempty"`
	// Fee for participating in tournament
	Fee *struct {
		// Fee amount
		Amount *int `json:"amount,omitempty"`
		// Fee currency: Free XP, gold or credits
		Currency *string `json:"currency,omitempty"`
	} `json:"fee,omitempty"`
	Logo *struct {
		// Link to logo
		Original *string `json:"original,omitempty"`
		// Link to preview
		Preview *string `json:"preview,omitempty"`
	} `json:"logo,omitempty"`
	// Matches start date and time
	MatchesStartAt *wgnTime.UnixTime `json:"matches_start_at,omitempty"`
	// Maximum number of players per team in tournament
	MaxPlayersCount *int `json:"max_players_count,omitempty"`
	// Section contains information about links to tournament media resources
	MediaLinks *struct {
		// ID of media resource link
		Id *string `json:"id,omitempty"`
		// Image of media resource link; available only for links of "Custom" type
		Image *string `json:"image,omitempty"`
		// Type of media resource link
		Kind *string `json:"kind,omitempty"`
		// Link to media resource
		Url *string `json:"url,omitempty"`
	} `json:"media_links,omitempty"`
	// Minimum number of players per team in tournament
	MinPlayersCount *int `json:"min_players_count,omitempty"`
	// Tournament other regulations
	OtherRules *string `json:"other_rules,omitempty"`
	// Tournament award description
	PrizeDescription *string `json:"prize_description,omitempty"`
	// Registration end date and time
	RegistrationEndAt *wgnTime.UnixTime `json:"registration_end_at,omitempty"`
	// Registration start date and time
	RegistrationStartAt *wgnTime.UnixTime `json:"registration_start_at,omitempty"`
	// Tournament rules and regulations
	Rules *string `json:"rules,omitempty"`
	// Tournament start date and time
	StartAt *wgnTime.UnixTime `json:"start_at,omitempty"`
	// Tournament status
	Status *string `json:"status,omitempty"`
	// Total number of teams in tournament, both already registered and in process of forming
	Teams *struct {
		// Number of confirmed teams in tournament
		Confirmed *int `json:"confirmed,omitempty"`
		// Maximum number of teams available in tournament
		Max *int `json:"max,omitempty"`
		// Minimum number of teams in tournament
		Min *int `json:"min,omitempty"`
		// Total number of teams in tournament, both already registered and in process of forming
		Total *int `json:"total,omitempty"`
	} `json:"teams,omitempty"`
	// Tournament name
	Title *string `json:"title,omitempty"`
	// Tournament id
	TournamentId *int `json:"tournament_id,omitempty"`
	// Award for winning tournament
	WinnerAward *struct {
		// Winner Award amount
		Amount *int `json:"amount,omitempty"`
		// Winner Award currency: Free XP, gold or credits
		Currency *string `json:"currency,omitempty"`
	} `json:"winner_award,omitempty"`
}

type TournamentsInfoOptions

type TournamentsInfoOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "cs" - Čeština
	// "de" - Deutsch
	// "es" - Español
	// "fr" - Français
	// "pl" - Polski
	// "tr" - Türkçe
	Language *string `json:"language,omitempty"`
}

type TournamentsList

type TournamentsList struct {
	// Award for participating in tournament
	Award *struct {
		// Award amount
		Amount *int `json:"amount,omitempty"`
		// Award currency: Free XP, gold or credits
		Currency *string `json:"currency,omitempty"`
	} `json:"award,omitempty"`
	// Tournament description
	Description *string `json:"description,omitempty"`
	// Tournament end date and time
	EndAt *wgnTime.UnixTime `json:"end_at,omitempty"`
	// Fee for participating in tournament
	Fee *struct {
		// Fee amount
		Amount *int `json:"amount,omitempty"`
		// Fee currency: Free XP, gold or credits
		Currency *string `json:"currency,omitempty"`
	} `json:"fee,omitempty"`
	Logo *struct {
		// Link to logo
		Original *string `json:"original,omitempty"`
		// Link to preview
		Preview *string `json:"preview,omitempty"`
	} `json:"logo,omitempty"`
	// Matches start date and time
	MatchesStartAt *wgnTime.UnixTime `json:"matches_start_at,omitempty"`
	// Registration end date and time
	RegistrationEndAt *wgnTime.UnixTime `json:"registration_end_at,omitempty"`
	// Registration start date and time
	RegistrationStartAt *wgnTime.UnixTime `json:"registration_start_at,omitempty"`
	// Tournament start date and time
	StartAt *wgnTime.UnixTime `json:"start_at,omitempty"`
	// Tournament status
	Status *string `json:"status,omitempty"`
	// Tournament name
	Title *string `json:"title,omitempty"`
	// Tournament id
	TournamentId *int `json:"tournament_id,omitempty"`
	// Award for winning tournament
	WinnerAward *struct {
		// Winner Award amount
		Amount *int `json:"amount,omitempty"`
		// Winner Award currency: Free XP, gold or credits
		Currency *string `json:"currency,omitempty"`
	} `json:"winner_award,omitempty"`
}

type TournamentsListOptions

type TournamentsListOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "cs" - Čeština
	// "de" - Deutsch
	// "es" - Español
	// "fr" - Français
	// "pl" - Polski
	// "tr" - Türkçe
	Language *string `json:"language,omitempty"`
	// Page limit. Number of tournaments in one page. Default is 10. Min value is 1. Maximum value: 25.
	Limit *int `json:"limit,omitempty"`
	// Result page number. Default is 1. Min value is 1.
	PageNo *int `json:"page_no,omitempty"`
	// First letters in tournament name for search. Minimum length: 2 characters. Maximum length: 50 characters.
	Search *string `json:"search,omitempty"`
	// Tournament status. Maximum limit: 100. Valid values:
	//
	// "upcoming" - Tournament is planned
	// "registration_started" - Players can apply to join the tournament
	// "registration_finished" - Registration has finished
	// "running" - The first match has started
	// "finished" - The last match among all stages has been played
	// "complete" - Tournament has been completed
	Status []string `json:"status,omitempty"`
}

type TournamentsMatches

type TournamentsMatches struct {
	// Group ID
	GroupId *int `json:"group_id,omitempty"`
	// Match ID
	Id *string `json:"id,omitempty"`
	// ID of the following match for the loser
	NextMatchForLooser *string `json:"next_match_for_looser,omitempty"`
	// ID of the following match for the winner
	NextMatchForWinner *string `json:"next_match_for_winner,omitempty"`
	// Tour number of the current match
	Round *int `json:"round,omitempty"`
	// Stage ID
	StageId *int `json:"stage_id,omitempty"`
	// Match start time
	StartTime *wgnTime.UnixTime `json:"start_time,omitempty"`
	// Match state. Valid values:
	//
	// "waiting_results" - Match is still in progress and there are no final results
	// "got_results" - Match was finished and there are final results
	// "canceled" - Match was cancelled
	// "upcoming" - Already scheduled match state
	State *string `json:"state,omitempty"`
	// Team 1 ID
	Team1Id *int `json:"team_1_id,omitempty"`
	// Team 1 score
	Team1Score *int `json:"team_1_score,omitempty"`
	// Team 2 ID
	Team2Id *int `json:"team_2_id,omitempty"`
	// Team 2 score
	Team2Score *int `json:"team_2_score,omitempty"`
	// Tournament ID
	TournamentId *int `json:"tournament_id,omitempty"`
	// Winner Team ID
	WinnerTeamId *int `json:"winner_team_id,omitempty"`
}

type TournamentsMatchesOptions

type TournamentsMatchesOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Group ID that can be retrieved from the Tournaments Stages method. Maximum limit: 10.
	GroupId []int `json:"group_id,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "cs" - Čeština
	// "de" - Deutsch
	// "es" - Español
	// "fr" - Français
	// "pl" - Polski
	// "tr" - Türkçe
	Language *string `json:"language,omitempty"`
	// Number of returned entries. Default is 10. Min value is 1. Maximum value: 25.
	Limit *int `json:"limit,omitempty"`
	// Result page number. Default is 1. Min value is 1.
	PageNo *int `json:"page_no,omitempty"`
	// Tour number. Maximum limit: 10.
	RoundNumber []int `json:"round_number,omitempty"`
	// Team ID. Maximum limit: 10.
	TeamId []int `json:"team_id,omitempty"`
}

type TournamentsStages

type TournamentsStages struct {
	// Number of battles in match
	BattleLimit *int `json:"battle_limit,omitempty"`
	// Stage description
	Description *string `json:"description,omitempty"`
	// Stage end day and time
	EndAt *wgnTime.UnixTime `json:"end_at,omitempty"`
	// Groups info for current stage
	Groups []*struct {
		// Group ID
		GroupId *int `json:"group_id,omitempty"`
		// Group order number
		GroupOrder *int `json:"group_order,omitempty"`
	} `json:"groups,omitempty"`
	// Number of groups in the stage
	GroupsCount *int `json:"groups_count,omitempty"`
	// The allowed maximum vehicle tier for each player in the team
	MaxTier *int `json:"max_tier,omitempty"`
	// The allowed minimum vehicle tier for each player in the team
	MinTier *int `json:"min_tier,omitempty"`
	// List of stage tours (numbers of tours)
	Rounds []int `json:"rounds,omitempty"`
	// Number of tours in the stage
	RoundsCount *int `json:"rounds_count,omitempty"`
	// Stage ID
	StageId *int `json:"stage_id,omitempty"`
	// Stage start day and time
	StartAt *wgnTime.UnixTime `json:"start_at,omitempty"`
	// Stage state. Valid values:
	//
	//
	// draft - stage created as draft
	//
	//
	// groups_ready -  stage has completed groups
	//
	//
	// schedule_ready - stage has a finalized schedule
	//
	//
	// complete - stage completed
	//
	State *string `json:"state,omitempty"`
	// Stage name
	Title *string `json:"title,omitempty"`
	// Tournament ID
	TournamentId *int `json:"tournament_id,omitempty"`
	// Bracket type of the stage. Valid values:
	//
	//
	// RR - round robin
	//
	//
	// SE - single elimination
	//
	//
	// DE - double elimination
	//
	Type *string `json:"type,omitempty"`
	// Number of victories to win the match
	VictoryLimit *int `json:"victory_limit,omitempty"`
}

type TournamentsStagesOptions

type TournamentsStagesOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "cs" - Čeština
	// "de" - Deutsch
	// "es" - Español
	// "fr" - Français
	// "pl" - Polski
	// "tr" - Türkçe
	Language *string `json:"language,omitempty"`
	// Number of returned entries. Default is 10. Min value is 1. Maximum value: 25.
	Limit *int `json:"limit,omitempty"`
	// Result page number. Default is 1. Min value is 1.
	PageNo *int `json:"page_no,omitempty"`
}

type TournamentsStandings

type TournamentsStandings struct {
	// Number of battles played by a team
	BattlePlayed *int `json:"battle_played,omitempty"`
	// Number of battles drawn by a team
	Draws *int `json:"draws,omitempty"`
	// ID of a team's group
	GroupId *int `json:"group_id,omitempty"`
	// Number of battles lost by a team
	Losses *int `json:"losses,omitempty"`
	// Number of points earned by a team
	Points *int `json:"points,omitempty"`
	// Team's place
	Position *int `json:"position,omitempty"`
	// Stage ID
	StageId *int `json:"stage_id,omitempty"`
	// Team ID
	TeamId *int `json:"team_id,omitempty"`
	// Number of battles won by a team
	Wins *int `json:"wins,omitempty"`
}

type TournamentsStandingsOptions

type TournamentsStandingsOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Allows to get all team standings starting from a specific place, including this place
	FromPosition *int `json:"from_position,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "cs" - Čeština
	// "de" - Deutsch
	// "es" - Español
	// "fr" - Français
	// "pl" - Polski
	// "tr" - Türkçe
	Language *string `json:"language,omitempty"`
	// Number of returned entries. Default is 10. Min value is 1. Maximum value: 25.
	Limit *int `json:"limit,omitempty"`
	// Result page number. Default is 1. Min value is 1.
	PageNo *int `json:"page_no,omitempty"`
	// Team ID. Maximum limit: 10.
	TeamId []int `json:"team_id,omitempty"`
	// Allows to get all team standings up to a specific place, including this place
	ToPosition *int `json:"to_position,omitempty"`
}

type TournamentsTables

type TournamentsTables struct {
	// ID of a default clan emblem
	ClanEmblemPresetId *int `json:"clan_emblem_preset_id,omitempty"`
	// Team clan ID
	ClanId *int `json:"clan_id,omitempty"`
	// Name of a team's clan
	ClanLabel *string `json:"clan_label,omitempty"`
	// ID of a team's group
	GroupId *int `json:"group_id,omitempty"`
	// Sequence number of a group in a stage
	GroupOrder *int `json:"group_order,omitempty"`
	// Number of matches played by a team
	MatchesPlayed *int `json:"matches_played,omitempty"`
	// Team's place
	Position *int `json:"position,omitempty"`
	// Number of the tour in which a team exited the tournament; relevant only for Single Elimination (SE) and Double Elimination (DE) tournament brackets
	Round *int `json:"round,omitempty"`
	// Stage ID
	StageId *int `json:"stage_id,omitempty"`
	// Team ID
	TeamId *int `json:"team_id,omitempty"`
	// Points earned by a team; relevant only for "Round Robin" tournament brackets
	TeamPoints *int `json:"team_points,omitempty"`
	// Team name
	Title *string `json:"title,omitempty"`
	// Tournament ID
	TournamentId *int `json:"tournament_id,omitempty"`
}

type TournamentsTablesOptions

type TournamentsTablesOptions struct {
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Group ID. Maximum limit: 10.
	GroupId []int `json:"group_id,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "cs" - Čeština
	// "de" - Deutsch
	// "es" - Español
	// "fr" - Français
	// "pl" - Polski
	// "tr" - Türkçe
	Language *string `json:"language,omitempty"`
	// Number of returned entries. Default is 10. Min value is 1. Maximum value: 25.
	Limit *int `json:"limit,omitempty"`
	// Result page number. Default is 1. Min value is 1.
	PageNo *int `json:"page_no,omitempty"`
}

type TournamentsTeams

type TournamentsTeams struct {
	// Team clan ID
	ClanId *int `json:"clan_id,omitempty"`
	// Information on team players
	Players []*struct {
		// Player account ID
		AccountId *int `json:"account_id,omitempty"`
		// Link to player image
		Image *string `json:"image,omitempty"`
		// Player name
		Name *string `json:"name,omitempty"`
		// Technical position name
		Role *string `json:"role,omitempty"`
	} `json:"players,omitempty"`
	// Team status
	Status *string `json:"status,omitempty"`
	// Team ID
	TeamId *int `json:"team_id,omitempty"`
	// Team name
	Title *string `json:"title,omitempty"`
	// Tournament ID
	TournamentId *int `json:"tournament_id,omitempty"`
}

type TournamentsTeamsOptions

type TournamentsTeamsOptions struct {
	// ID of the account that belongs to the team. Maximum limit: 100.
	AccountId []int `json:"account_id,omitempty"`
	// ID of the clan that owns the team. Maximum limit: 100.
	ClanId []int `json:"clan_id,omitempty"`
	// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
	Fields []string `json:"fields,omitempty"`
	// Localization language. Default is "en". Valid values:
	//
	// "en" - English (by default)
	// "cs" - Čeština
	// "de" - Deutsch
	// "es" - Español
	// "fr" - Français
	// "pl" - Polski
	// "tr" - Türkçe
	Language *string `json:"language,omitempty"`
	// Number of returned entries. Default is 10. Min value is 1. Maximum value: 100.
	Limit *int `json:"limit,omitempty"`
	// Result page number. Default is 1. Min value is 1.
	PageNo *int `json:"page_no,omitempty"`
	// First letters in team name for search. Minimum length: 2 characters. Maximum length: 50 characters.
	Search *string `json:"search,omitempty"`
	// Team status. Maximum limit: 100. Valid values:
	//
	// "forming" - team roster is not yet confirmed
	// "confirmed" - team roster is confirmed
	// "disqualified" - team is disqualified
	Status []string `json:"status,omitempty"`
	// Team ID. Maximum limit: 25.
	TeamId []int `json:"team_id,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL