move leveltable to stats crate
This commit is contained in:
parent
a76bb8945c
commit
210d51e957
@ -1,7 +1,6 @@
|
||||
pub mod cipherkeys;
|
||||
pub mod serverstate;
|
||||
pub mod mainloop;
|
||||
pub mod leveltable;
|
||||
pub mod interserver;
|
||||
|
||||
// https://www.reddit.com/r/rust/comments/33xhhu/how_to_create_an_array_of_structs_that_havent/
|
||||
|
@ -18,7 +18,7 @@ use entity::item;
|
||||
use crate::common::cipherkeys::{ELSEWHERE_PRIVATE_KEY, ELSEWHERE_PARRAY};
|
||||
use crate::common::serverstate::{SendServerPacket, RecvServerPacket, ServerState, OnConnect, ClientId};
|
||||
use crate::common::interserver::{ServerId, InterserverActor, LoginMessage, ShipMessage, Ship};
|
||||
use crate::common::leveltable::LEVEL_TABLE;
|
||||
use stats::leveltable::LEVEL_TABLE;
|
||||
use libpso::{utf8_to_array, utf8_to_utf16_array};
|
||||
|
||||
use entity::gateway::{EntityGateway, GatewayError};
|
||||
|
@ -1,5 +1,5 @@
|
||||
use libpso::character::character;
|
||||
use crate::common::leveltable::CharacterStats;
|
||||
use stats::leveltable::CharacterStats;
|
||||
use entity::character::CharacterEntity;
|
||||
//use crate::ship::items::{CharacterInventory, CharacterBank};
|
||||
use crate::ship::items::bank::BankState;
|
||||
|
@ -1,7 +1,7 @@
|
||||
use libpso::packet::messages::*;
|
||||
use libpso::packet::ship::*;
|
||||
use entity::item;
|
||||
use crate::common::leveltable::CharacterStats;
|
||||
use stats::leveltable::CharacterStats;
|
||||
use crate::ship::ship::{ShipError};
|
||||
use crate::ship::items::ClientItemId;
|
||||
use crate::ship::items::inventory::InventoryItem;
|
||||
|
@ -6,7 +6,7 @@ pub mod ship;
|
||||
|
||||
use libpso::character::character::Inventory;
|
||||
use libpso::packet::ship::{PlayerHeader, PlayerInfo};
|
||||
use crate::common::leveltable::LEVEL_TABLE;
|
||||
use stats::leveltable::LEVEL_TABLE;
|
||||
use crate::ship::character::CharacterBytesBuilder;
|
||||
use crate::ship::ship::ClientState;
|
||||
use crate::ship::location::AreaClient;
|
||||
|
@ -3,7 +3,7 @@ use rand::Rng;
|
||||
use rand::seq::SliceRandom;
|
||||
use libpso::packet::ship::*;
|
||||
use libpso::packet::messages::*;
|
||||
use crate::common::leveltable::LEVEL_TABLE;
|
||||
use stats::leveltable::LEVEL_TABLE;
|
||||
use crate::common::serverstate::ClientId;
|
||||
use crate::ship::ship::{SendShipPacket, ShipError, Clients, ItemShops};
|
||||
use crate::ship::location::ClientLocation;
|
||||
|
@ -1,6 +1,6 @@
|
||||
use libpso::packet::ship::*;
|
||||
use crate::common::serverstate::ClientId;
|
||||
use crate::common::leveltable::LEVEL_TABLE;
|
||||
use stats::leveltable::LEVEL_TABLE;
|
||||
use crate::ship::ship::{SendShipPacket, ShipError, Clients, ShipEvent};
|
||||
use crate::ship::room::Rooms;
|
||||
use crate::ship::character::{FullCharacterBytesBuilder};
|
||||
|
@ -3,7 +3,7 @@ use libpso::packet::messages::*;
|
||||
use entity::gateway::EntityGateway;
|
||||
use entity::item::Meseta;
|
||||
use crate::common::serverstate::ClientId;
|
||||
use crate::common::leveltable::LEVEL_TABLE;
|
||||
use stats::leveltable::LEVEL_TABLE;
|
||||
use crate::ship::ship::{SendShipPacket, ShipError, Clients, ItemDropLocation};
|
||||
use crate::ship::room::Rooms;
|
||||
use crate::ship::location::{ClientLocation, ClientLocationError};
|
||||
|
@ -6,7 +6,7 @@ use async_std::sync::Arc;
|
||||
use libpso::packet::ship::*;
|
||||
use libpso::packet::messages::*;
|
||||
use crate::common::serverstate::ClientId;
|
||||
use crate::common::leveltable::LEVEL_TABLE;
|
||||
use stats::leveltable::LEVEL_TABLE;
|
||||
use entity::gateway::EntityGateway;
|
||||
use entity::character::SectionID;
|
||||
use entity::room::{NewRoomEntity, RoomEntityMode, RoomNote};
|
||||
|
@ -7,4 +7,5 @@ edition = "2021"
|
||||
entity = { workspace = true }
|
||||
toml = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
lazy_static = { workspace = true }
|
||||
|
@ -1 +1,4 @@
|
||||
#![feature(lazy_cell)]
|
||||
|
||||
pub mod items;
|
||||
pub mod leveltable;
|
||||
|
Loading…
x
Reference in New Issue
Block a user