Current section
Files
Jump to
Current section
Files
src/follower_experience_points_item_data.gleam
import gleam/option.{type Option, None, Some}
// import gleam/map.{Map}
pub type FollowerExperiencePointsItemData {
FollowerExperiencePointsItemData(
cuid: Int,
experience_points_amount: Int,
is_destroyable: Bool,
is_lockable: Bool,
is_registrable_at_covenant_shop: Bool,
is_registrable_at_general_shop: Bool,
is_tradeable: Bool,
item_description_cuid: Int,
item_grade: String,
item_icon_cuid: Int,
item_name_cuid: Int,
max_hold_count: Int,
min_price_registrable_at_covenant_shop: Int,
min_price_registrable_at_general_shop: Int,
sell_currency_cuid: Int,
sell_price: Int,
storable_inventory_owner_kind_list: List(String),
storable_user_inventory_kind: String,
unique_name: String,
weight: Int,
)
}
pub fn by_cuid(cuid) -> Option(FollowerExperiencePointsItemData) {
case cuid {
2_413_258_247 ->
Some(FollowerExperiencePointsItemData(
2_413_258_247,
100,
False,
True,
True,
True,
False,
3_076_593_204,
"Rare",
3_013_752_065,
2_681_966_838,
9999,
0,
0,
2_697_088_054,
500,
["RealmAccountOrPlayer"],
"Common",
"FollowerExperiencePointsItem_Rare",
10,
))
852_608_649 ->
Some(FollowerExperiencePointsItemData(
852_608_649,
20,
False,
True,
True,
True,
False,
757_374_326,
"Uncommon",
3_013_752_064,
3_602_799_544,
9999,
0,
0,
2_697_088_054,
100,
["RealmAccountOrPlayer"],
"Common",
"FollowerExperiencePointsItem_Uncommon",
10,
))
36_445_942 ->
Some(FollowerExperiencePointsItemData(
36_445_942,
10,
False,
True,
True,
True,
False,
3_279_644_803,
"Common",
3_013_752_063,
352_174_341,
9999,
0,
0,
2_697_088_054,
50,
["RealmAccountOrPlayer"],
"Common",
"FollowerExperiencePointsItem_Common",
10,
))
_ -> None
}
}