Browse Source

fix use statements

pbs
jake 5 years ago
parent
commit
d2238bbff0
  1. 2
      src/login/character.rs
  2. 1
      src/main.rs

2
src/login/character.rs

@ -10,7 +10,7 @@ use libpso::crypto::bb::PSOBBCipher;
use crate::common::cipherkeys::{ELSEWHERE_PRIVATE_KEY, ELSEWHERE_PARRAY}; use crate::common::cipherkeys::{ELSEWHERE_PRIVATE_KEY, ELSEWHERE_PARRAY};
use crate::common::serverstate::{SendServerPacket, RecvServerPacket, ServerState, OnConnect, ClientId}; use crate::common::serverstate::{SendServerPacket, RecvServerPacket, ServerState, OnConnect, ClientId};
use crate::{utf8_to_array, utf8_to_utf16_array};
use libpso::{utf8_to_array, utf8_to_utf16_array};
use crate::entity::gateway::EntityGateway; use crate::entity::gateway::EntityGateway;
use crate::entity::account::{UserAccount, USERFLAG_NEWCHAR, USERFLAG_DRESSINGROOM}; use crate::entity::account::{UserAccount, USERFLAG_NEWCHAR, USERFLAG_DRESSINGROOM};

1
src/main.rs

@ -16,6 +16,7 @@ use login::character::CharacterServerState;
use ship::ship::ShipServerState; use ship::ship::ShipServerState;
use entity::account::{UserAccount, UserSettings}; use entity::account::{UserAccount, UserSettings};
use entity::gateway::{EntityGateway, InMemoryGateway}; use entity::gateway::{EntityGateway, InMemoryGateway};
use libpso::{utf8_to_array, utf8_to_utf16_array};
//use crate::utf8_to_utf16_array; //use crate::utf8_to_utf16_array;
fn main() { fn main() {

Loading…
Cancel
Save