resource_item_data

Types

pub type ResourceItemData {
  ResourceItemData(
    acquisition_source_cuid_list: List(String),
    cuid: Int,
    donation_cuid: Int,
    is_destroyable: Bool,
    is_lockable: Bool,
    is_show_acquisition_source: Bool,
    is_tradeable: Bool,
    item_appearance_cuid: Int,
    item_description_cuid: Int,
    item_grade: String,
    item_icon_cuid: Int,
    item_name_cuid: Int,
    max_hold_count: Int,
    resource_kind: String,
    sell_currency_cuid: Int,
    sell_price: Int,
    sort_order: Int,
    storable_inventory_owner_kind_list: List(String),
    storable_user_inventory_kind: String,
    touch_sound_cuid: Int,
    unique_name: String,
    use_sound_cuid: Int,
    weight: Int,
  )
}

Constructors

  • ResourceItemData(
      acquisition_source_cuid_list: List(String),
      cuid: Int,
      donation_cuid: Int,
      is_destroyable: Bool,
      is_lockable: Bool,
      is_show_acquisition_source: Bool,
      is_tradeable: Bool,
      item_appearance_cuid: Int,
      item_description_cuid: Int,
      item_grade: String,
      item_icon_cuid: Int,
      item_name_cuid: Int,
      max_hold_count: Int,
      resource_kind: String,
      sell_currency_cuid: Int,
      sell_price: Int,
      sort_order: Int,
      storable_inventory_owner_kind_list: List(String),
      storable_user_inventory_kind: String,
      touch_sound_cuid: Int,
      unique_name: String,
      use_sound_cuid: Int,
      weight: Int,
    )

Functions

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