|
@ -1,6 +1,6 @@ |
|
|
use networking::serverstate::{ClientId, ServerState};
|
|
|
use networking::serverstate::{ClientId, ServerState};
|
|
|
use entity::gateway::{EntityGateway, InMemoryGateway};
|
|
|
use entity::gateway::{EntityGateway, InMemoryGateway};
|
|
|
use elseware::ship::ship::{ShipServerState, RecvShipPacket, SendShipPacket};
|
|
|
|
|
|
|
|
|
use elseware::ship::ship::{RecvShipPacket, SendShipPacket};
|
|
|
|
|
|
|
|
|
use libpso::packet::ship::*;
|
|
|
use libpso::packet::ship::*;
|
|
|
//use libpso::packet::messages::*;
|
|
|
//use libpso::packet::messages::*;
|
|
@ -16,7 +16,6 @@ async fn test_set_valid_quest_group() { |
|
|
let (_user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a", 1).await;
|
|
|
let (_user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a", 1).await;
|
|
|
let mut ship = standard_ship_buildable(entity_gateway.clone())
|
|
|
let mut ship = standard_ship_buildable(entity_gateway.clone())
|
|
|
.standard_quest_builder(Box::new(quests::load_standard_quests))
|
|
|
.standard_quest_builder(Box::new(quests::load_standard_quests))
|
|
|
.government_quest_builder(Box::new(quests::load_government_quests))
|
|
|
|
|
|
.build();
|
|
|
.build();
|
|
|
log_in_char(&mut ship, ClientId(1), "a1", "a").await;
|
|
|
log_in_char(&mut ship, ClientId(1), "a1", "a").await;
|
|
|
join_lobby(&mut ship, ClientId(1)).await;
|
|
|
join_lobby(&mut ship, ClientId(1)).await;
|
|
|