remove commented things
This commit is contained in:
		
							parent
							
								
									e255b43c10
								
							
						
					
					
						commit
						d421b30a88
					
				| @ -1,9 +1,7 @@ | ||||
| #![allow(dead_code)] | ||||
| use log::{trace, info, warn}; | ||||
| use async_std::sync::{Arc, Mutex}; | ||||
| // use async_std::io::{Read, Write};
 | ||||
| use async_std::io::prelude::{ReadExt, WriteExt}; | ||||
| // use async_std::prelude::{StreamExt};
 | ||||
| use std::collections::HashMap; | ||||
| 
 | ||||
| use libpso::crypto::{PSOCipher, NullCipher, CipherError}; | ||||
|  | ||||
| @ -2,8 +2,6 @@ use crate::entity::account::*; | ||||
| use crate::entity::character::*; | ||||
| use crate::entity::item::*; | ||||
| 
 | ||||
| // use libpso::item;
 | ||||
| 
 | ||||
| pub trait EntityGateway { | ||||
|     fn create_user(&mut self, _user: NewUserAccountEntity) -> Option<UserAccountEntity> { | ||||
|         unimplemented!() | ||||
|  | ||||
| @ -1,14 +1,10 @@ | ||||
| use std::collections::HashMap; | ||||
| // use std::default::Default;
 | ||||
| 
 | ||||
| use crate::entity::account::*; | ||||
| use crate::entity::character::*; | ||||
| use crate::entity::gateway::EntityGateway; | ||||
| use crate::entity::item::*; | ||||
| 
 | ||||
| // use libpso::character::settings;
 | ||||
| // use libpso::item;
 | ||||
| 
 | ||||
| use std::sync::{Arc, Mutex}; | ||||
| 
 | ||||
| #[derive(Clone)] | ||||
|  | ||||
| @ -388,7 +388,6 @@ impl ToolType { | ||||
|             ToolType::TeamPoints1000 => [0x03, 0x19, 0x01], | ||||
|             ToolType::TeamPoints5000 => [0x03, 0x19, 0x02], | ||||
|             ToolType::TeamPoints10000 => [0x03, 0x19, 0x03], | ||||
|             // _ => panic!()
 | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -103,7 +103,6 @@ fn main() { | ||||
|     } | ||||
| 
 | ||||
|     async_std::task::block_on(async move { | ||||
|         // let thread_entity_gateway = entity_gateway.clone();
 | ||||
|         let patch = async_std::task::spawn(async { | ||||
|             info!("[patch] starting server"); | ||||
|             let patch_config = load_config(); | ||||
|  | ||||
| @ -1,15 +1,8 @@ | ||||
| #![allow(dead_code, unused_variables)] | ||||
| // use std::collections::HashMap;
 | ||||
| use rand::{Rng}; | ||||
| use rand::distributions::{WeightedIndex, Distribution}; | ||||
| use serde::{Serialize, Deserialize}; | ||||
| // use crate::entity::item::weapon::{Weapon, WeaponType};
 | ||||
| // use crate::entity::item::armor::{Armor, ArmorType};
 | ||||
| // use crate::entity::item::shield::{Shield, ShieldType};
 | ||||
| // use crate::entity::item::unit::{Unit, UnitType};
 | ||||
| // use crate::entity::item::tool::{Tool, ToolType};
 | ||||
| use crate::entity::character::SectionID; | ||||
| // use crate::ship::monster::MonsterType;
 | ||||
| use crate::ship::room::{Difficulty, Episode}; | ||||
| use crate::ship::map::MapArea; | ||||
| use crate::ship::drops::{ItemDropType, load_data_file}; | ||||
|  | ||||
| @ -1,7 +1,6 @@ | ||||
| use std::collections::BTreeMap; | ||||
| use serde::{Serialize, Deserialize}; | ||||
| use rand::{Rng}; | ||||
| // use rand::distributions::{WeightedIndex, Distribution};
 | ||||
| use rand::seq::IteratorRandom; | ||||
| 
 | ||||
| use crate::entity::item::unit::{UnitType, Unit, UnitModifier}; | ||||
|  | ||||
| @ -5,7 +5,6 @@ use rand::distributions::{WeightedIndex, Distribution}; | ||||
| use rand::seq::SliceRandom; | ||||
| 
 | ||||
| use crate::entity::item::weapon::{Weapon, WeaponType, Attribute, WeaponAttribute, WeaponSpecial}; | ||||
| // use crate::ship::monster::MonsterType;
 | ||||
| use crate::ship::room::{Difficulty, Episode}; | ||||
| use crate::ship::map::MapArea; | ||||
| use crate::entity::character::SectionID; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user