From 40046ae991185f88f9b2b8947b2951c699fcf9bb Mon Sep 17 00:00:00 2001 From: jake Date: Thu, 20 Oct 2022 17:41:03 -0600 Subject: [PATCH] move around uses --- src/login/character.rs | 2 +- src/login/login.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/login/character.rs b/src/login/character.rs index c933438..b6e28ab 100644 --- a/src/login/character.rs +++ b/src/login/character.rs @@ -21,7 +21,7 @@ use crate::common::interserver::{ServerId, InterserverActor, LoginMessage, ShipM use crate::common::leveltable::LEVEL_TABLE; use libpso::{utf8_to_array, utf8_to_utf16_array}; -use crate::entity::gateway::{EntityGateway, EntityGatewayTransaction, GatewayError}; +use crate::entity::gateway::{EntityGateway, GatewayError}; use crate::entity::account::{UserAccountId, UserAccountEntity, NewUserSettingsEntity, USERFLAG_NEWCHAR, USERFLAG_DRESSINGROOM}; use crate::entity::item::{NewItemEntity, ItemDetail, ItemNote, InventoryItemEntity, InventoryEntity, BankEntity, BankName, EquippedEntity, Meseta}; use crate::entity::item::weapon::Weapon; diff --git a/src/login/login.rs b/src/login/login.rs index 01ef4f1..e37b0ff 100644 --- a/src/login/login.rs +++ b/src/login/login.rs @@ -14,7 +14,7 @@ use libpso::util::array_to_utf8; use crate::common::cipherkeys::{ELSEWHERE_PRIVATE_KEY, ELSEWHERE_PARRAY}; use crate::common::serverstate::{SendServerPacket, RecvServerPacket, ServerState, OnConnect, ClientId}; -use crate::entity::gateway::{EntityGateway, EntityGatewayTransaction}; +use crate::entity::gateway::EntityGateway; use crate::entity::account::{UserAccountEntity}; pub const LOGIN_PORT: u16 = 12000; @@ -179,7 +179,7 @@ impl ServerState for LoginServerState { mod test { use super::*; use crate::entity::account::{UserAccountId}; - use crate::entity::gateway::GatewayError; + use crate::entity::gateway::{EntityGatewayTransaction, GatewayError}; const LOGIN_PACKET: RecvLoginPacket = RecvLoginPacket::Login(Login { tag: 65536,