|
|
@ -2,7 +2,7 @@ use std::convert::{From, Into, TryFrom, TryInto}; |
|
|
|
use std::collections::HashMap;
|
|
|
|
|
|
|
|
use libpso::packet::ship::{UpdateConfig, WriteInfoboard};
|
|
|
|
use libpso::character::character::{Character, FullCharacter};
|
|
|
|
use libpso::character::character::{DEFAULT_PALETTE_CONFIG, DEFAULT_TECH_MENU};
|
|
|
|
use crate::entity::item::tech::Technique;
|
|
|
|
use crate::entity::account::UserAccountId;
|
|
|
|
|
|
|
@ -190,7 +190,7 @@ pub struct CharacterConfig { |
|
|
|
impl CharacterConfig {
|
|
|
|
fn new() -> CharacterConfig {
|
|
|
|
CharacterConfig {
|
|
|
|
raw_data: Character::default().config,
|
|
|
|
raw_data: DEFAULT_PALETTE_CONFIG,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
@ -237,7 +237,7 @@ pub struct CharacterTechMenu { |
|
|
|
impl CharacterTechMenu {
|
|
|
|
fn new() -> CharacterTechMenu {
|
|
|
|
CharacterTechMenu {
|
|
|
|
tech_menu: FullCharacter::default().tech_menu,
|
|
|
|
tech_menu: DEFAULT_TECH_MENU,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|