[][src]Struct tarkov::constant::Location

pub struct Location {
    pub enabled: bool,
    pub locked: bool,
    pub insurance: bool,
    pub safe_location: bool,
    pub name: String,
    pub description: String,
    pub scene: Scene,
    pub area: f64,
    pub required_player_level: u64,
    pub surv_gather_minutes: u64,
    pub min_players: u64,
    pub max_players: u64,
    pub scav_gather_minutes: u64,
    pub exit_count: u64,
    pub exit_access_time: u64,
    pub exit_time: u64,
    pub preview: Preview,
    pub icon_x: u64,
    pub icon_y: u64,
    pub filter_ex: Vec<Value>,
    pub waves: Vec<Wave>,
    pub limits: Vec<Value>,
    pub average_play_time: u64,
    pub average_player_level: u64,
    pub escape_time_limit: u64,
    pub rules: String,
    pub is_secret: bool,
    pub doors: Vec<Value>,
    pub tmp_location_field_remove_me: u64,
    pub min_distance_to_exit_point: u64,
    pub min_distance_to_free_point: u64,
    pub max_distance_to_free_point: u64,
    pub max_bot_per_zone: u64,
    pub open_zones: String,
    pub occlusion_culling_enabled: bool,
    pub global_loot_chance_modifier: f64,
    pub old_spawn: bool,
    pub new_spawn: bool,
    pub bot_max: u64,
    pub bot_start: u64,
    pub bot_stop: u64,
    pub bot_max_time_player: u64,
    pub bot_spawn_time_on_min: u64,
    pub bot_spawn_time_on_max: u64,
    pub bot_spawn_time_off_min: u64,
    pub bot_spawn_time_off_max: u64,
    pub bot_max_player: u64,
    pub bot_easy: u64,
    pub bot_normal: u64,
    pub bot_hard: u64,
    pub bot_impossible: u64,
    pub bot_assault: u64,
    pub bot_marksman: u64,
    pub disabled_scav_exits: String,
    pub access_keys: Vec<String>,
    pub min_max_bots: Vec<MinMaxBot>,
    pub bot_location_modifier: BotLocationModifier,
    pub exits: Vec<Exit>,
    pub disabled_for_scav: bool,
    pub boss_location_spawn: Vec<BossSpawn>,
    pub name_id: String,
    pub id: String,
    pub loot: Vec<Value>,
    pub spawn_areas: Vec<Value>,
    pub banners: Vec<Banner>,
}

In-game location

Fields

enabled: bool

Location is enabled

locked: bool

Location is locked

insurance: bool

Insurance is available

safe_location: bool

?

name: String

Location name

description: String

Location description

scene: Scene

Location scene prefab

area: f64

Location area

required_player_level: u64

Required level for location access

surv_gather_minutes: u64

?

min_players: u64

Minimum players on location

max_players: u64

Maximum players on location

scav_gather_minutes: u64

?

exit_count: u64

Number of extraction points

exit_access_time: u64

?

exit_time: u64

?

preview: Preview

Location preview

icon_x: u64

Location icon X

icon_y: u64

Location icon Y

filter_ex: Vec<Value>

Unknown type

waves: Vec<Wave>

NPC waves on location

limits: Vec<Value>

Unknown type

average_play_time: u64

Average play time on location

average_player_level: u64

Average player level on location

escape_time_limit: u64

Extraction time limit

rules: String

Location rules

is_secret: bool

Location is secret

doors: Vec<Value>

Unknown type

tmp_location_field_remove_me: u64

?

min_distance_to_exit_point: u64

Minimum distance to extraction from spawn

min_distance_to_free_point: u64

Minimum distance to "free point" from spawn

max_distance_to_free_point: u64

Maximum distance to "free point" from spawn

max_bot_per_zone: u64

Maximum number of bots per zone

open_zones: String

Location open zones

occlusion_culling_enabled: bool

?

global_loot_chance_modifier: f64

Location loot chance modifier

old_spawn: bool

?

new_spawn: bool

?

bot_max: u64

Maximum number of bots

bot_start: u64

?

bot_stop: u64

?

bot_max_time_player: u64

?

bot_spawn_time_on_min: u64

?

bot_spawn_time_on_max: u64

?

bot_spawn_time_off_min: u64

?

bot_spawn_time_off_max: u64

?

bot_max_player: u64

?

bot_easy: u64

Bot difficulty is "easy"

bot_normal: u64

Bot difficulty is "normal"

bot_hard: u64

Bot difficulty is "hard"

bot_impossible: u64

Bot difficulty is "impossible"

bot_assault: u64

?

bot_marksman: u64

?

disabled_scav_exits: String

?

access_keys: Vec<String>

?

min_max_bots: Vec<MinMaxBot>

?

bot_location_modifier: BotLocationModifier

Bot stats modifier

exits: Vec<Exit>

Extraction points

disabled_for_scav: bool

Location disabled for SCAVs

boss_location_spawn: Vec<BossSpawn>

Boss spawns

name_id: String

Location ID?

id: String

Location ID?

loot: Vec<Value>

Unknown type

spawn_areas: Vec<Value>

Unknown type

banners: Vec<Banner>

Location banners

Trait Implementations

impl Clone for Location[src]

impl Debug for Location[src]

impl<'de> Deserialize<'de> for Location[src]

impl PartialEq<Location> for Location[src]

impl StructuralPartialEq for Location[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,