collection_data

Types

pub type CollectionData {
  CollectionData(
    aligned_chronology_progress_hours: Int,
    aligned_chronology_start_hour_of_day: Int,
    aligned_chronology_start_offset_days: Int,
    always_show_date_time: Bool,
    chronology_end_offset_days: Int,
    chronology_start_offset_days: Int,
    collection_category_cuid: Int,
    collection_name_text_cuid: Int,
    collection_reward_cuid: Int,
    collection_slot_cuid_list: List(Int),
    cuid: Int,
    end_date_time: Int,
    phase1_collection_slot_count: Int,
    phase1_reward_stat_cuid: Int,
    phase2_collection_slot_count: Int,
    phase2_reward_stat_cuid: Int,
    phase3_collection_slot_count: Int,
    phase3_reward_stat_cuid: Int,
    phase4_collection_slot_count: Int,
    phase4_reward_stat_cuid: Int,
    phase5_collection_slot_count: Int,
    phase5_reward_stat_cuid: Int,
    schedule_kind_type: String,
    start_date_time: Int,
    unique_name: String,
  )
}

Constructors

  • CollectionData(
      aligned_chronology_progress_hours: Int,
      aligned_chronology_start_hour_of_day: Int,
      aligned_chronology_start_offset_days: Int,
      always_show_date_time: Bool,
      chronology_end_offset_days: Int,
      chronology_start_offset_days: Int,
      collection_category_cuid: Int,
      collection_name_text_cuid: Int,
      collection_reward_cuid: Int,
      collection_slot_cuid_list: List(Int),
      cuid: Int,
      end_date_time: Int,
      phase1_collection_slot_count: Int,
      phase1_reward_stat_cuid: Int,
      phase2_collection_slot_count: Int,
      phase2_reward_stat_cuid: Int,
      phase3_collection_slot_count: Int,
      phase3_reward_stat_cuid: Int,
      phase4_collection_slot_count: Int,
      phase4_reward_stat_cuid: Int,
      phase5_collection_slot_count: Int,
      phase5_reward_stat_cuid: Int,
      schedule_kind_type: String,
      start_date_time: Int,
      unique_name: String,
    )

Functions

pub fn by_unique_name(
  unique_name: String,
) -> Option(CollectionData)
Search Document