npc_data

Types

pub type NpcData {
  NpcData(
    npc_racial_kind: String,
    npc_grade: String,
    combat_start_speech_balloon: List(Int),
    portrait_path: BitArray,
    idle_npc_action_cuids: List(String),
    faction: String,
    hide_action_cuid: Int,
    override_enter_combat_duration_msec: Int,
    show_action_cuid: Int,
    body_style_set_cuid: Int,
    npc_element_kind: String,
    show_after_complete_quest: Int,
    show_quest_mission_list: List(Int),
    contribution_differential_reward_cuid: Int,
    is_grabbable: Bool,
    in_born_buff_cuid_list: List(Int),
    occupiable_npc_cuid: Int,
    quest_list: List(Int),
    on_leave_npc_action_cuids: List(Int),
    npc_utility_cuid1: Int,
    is_capturable: Bool,
    npc_utility_kind_list: List(String),
    npc_theme_cuid: Int,
    gain_gold_ratio: Int,
    npc_ai_kind: String,
    description_cuid: Int,
    npc_utility_kind_icon_cuid1: Int,
    preemptive_attackable: Bool,
    npc_interaction_radius_cm: Int,
    unique_name: String,
    offensive_kind: String,
    show_hp: Bool,
    name_cuid: Int,
    enter_combat_skill_cuid: Int,
    on_enter_npc_amity_grade_action_cuid: Int,
    nick_name_cuid: Int,
    hide_after_complete_quest: Int,
    npc_combat_ai_cuid_list: List(Int),
    cuid: Int,
    hide_npc: Bool,
    clan_cuid: Int,
    skill_collision_radius_cm: Int,
    npc_utility_kind1: String,
    is_available_favor_target: Bool,
    buff_triggered_behavior_pattern_cuid_list: List(Int),
    skill_cuid_list: List(Int),
    character_stats_calibration_cuid: Int,
    bgm_state: String,
    gain_experience_points_ratio: Int,
    npc_utility_kind_icon_cuid2: Int,
    show_head_info: Bool,
    npc_utility_kind2: String,
    clan_talk_cuid: Int,
    title_cuid: Int,
    collision_radius_cm: Int,
    npc_utility_cuid2: Int,
    contribution_first_group_reward_cuid: Int,
    on_enter_npc_action_cuids: List(Int),
    show_quest_marker: Bool,
    npc_combat_ai: String,
    contribution_first_covenant_battalion_reward_cuid: Int,
    diff_level_unknown_hp: Int,
    on_leave_npc_amity_grade_action_cuid: Int,
  )
}

Constructors

  • NpcData(
      npc_racial_kind: String,
      npc_grade: String,
      combat_start_speech_balloon: List(Int),
      portrait_path: BitArray,
      idle_npc_action_cuids: List(String),
      faction: String,
      hide_action_cuid: Int,
      override_enter_combat_duration_msec: Int,
      show_action_cuid: Int,
      body_style_set_cuid: Int,
      npc_element_kind: String,
      show_after_complete_quest: Int,
      show_quest_mission_list: List(Int),
      contribution_differential_reward_cuid: Int,
      is_grabbable: Bool,
      in_born_buff_cuid_list: List(Int),
      occupiable_npc_cuid: Int,
      quest_list: List(Int),
      on_leave_npc_action_cuids: List(Int),
      npc_utility_cuid1: Int,
      is_capturable: Bool,
      npc_utility_kind_list: List(String),
      npc_theme_cuid: Int,
      gain_gold_ratio: Int,
      npc_ai_kind: String,
      description_cuid: Int,
      npc_utility_kind_icon_cuid1: Int,
      preemptive_attackable: Bool,
      npc_interaction_radius_cm: Int,
      unique_name: String,
      offensive_kind: String,
      show_hp: Bool,
      name_cuid: Int,
      enter_combat_skill_cuid: Int,
      on_enter_npc_amity_grade_action_cuid: Int,
      nick_name_cuid: Int,
      hide_after_complete_quest: Int,
      npc_combat_ai_cuid_list: List(Int),
      cuid: Int,
      hide_npc: Bool,
      clan_cuid: Int,
      skill_collision_radius_cm: Int,
      npc_utility_kind1: String,
      is_available_favor_target: Bool,
      buff_triggered_behavior_pattern_cuid_list: List(Int),
      skill_cuid_list: List(Int),
      character_stats_calibration_cuid: Int,
      bgm_state: String,
      gain_experience_points_ratio: Int,
      npc_utility_kind_icon_cuid2: Int,
      show_head_info: Bool,
      npc_utility_kind2: String,
      clan_talk_cuid: Int,
      title_cuid: Int,
      collision_radius_cm: Int,
      npc_utility_cuid2: Int,
      contribution_first_group_reward_cuid: Int,
      on_enter_npc_action_cuids: List(Int),
      show_quest_marker: Bool,
      npc_combat_ai: String,
      contribution_first_covenant_battalion_reward_cuid: Int,
      diff_level_unknown_hp: Int,
      on_leave_npc_amity_grade_action_cuid: Int,
    )

Functions

pub fn by_cuid(cuid: Int) -> Option(NpcData)
Search Document