|
|
@ -13,7 +13,6 @@ pub fn quest_category_list(quests: &QuestList) -> QuestCategoryList { |
|
|
|
option_id: i as u32,
|
|
|
|
name: utf8_to_utf16_array!(category.name, 32),
|
|
|
|
description: utf8_to_utf16_array!(category.description, 122),
|
|
|
|
// description: utf8_to_utf16_array!(category.description, 244),
|
|
|
|
}
|
|
|
|
})
|
|
|
|
.collect();
|
|
|
@ -32,7 +31,6 @@ pub fn quest_list(category_id: u32, quests: &Vec<Quest>) -> QuestOptionList { |
|
|
|
quest_id: quest.id,
|
|
|
|
name: utf8_to_utf16_array!(quest.name, 32),
|
|
|
|
description: utf8_to_utf16_array!(quest.description, 122),
|
|
|
|
// description: utf8_to_utf16_array!(quest.description, 244),
|
|
|
|
}
|
|
|
|
})
|
|
|
|
.collect();
|
|
|
|