mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-24 08:07:45 +00:00
Use WORLD_NAME constant in Lobby server
This commit is contained in:
parent
dc8d8638f6
commit
a021abc3c7
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
||||||
use kawari::CONTENT_ID;
|
|
||||||
use kawari::lobby::chara_make::CharaMake;
|
use kawari::lobby::chara_make::CharaMake;
|
||||||
use kawari::lobby::connection::LobbyConnection;
|
use kawari::lobby::connection::LobbyConnection;
|
||||||
use kawari::lobby::ipc::{
|
use kawari::lobby::ipc::{
|
||||||
|
@ -7,6 +6,7 @@ use kawari::lobby::ipc::{
|
||||||
};
|
};
|
||||||
use kawari::oodle::FFXIVOodle;
|
use kawari::oodle::FFXIVOodle;
|
||||||
use kawari::packet::{PacketSegment, PacketState, SegmentType, send_keep_alive};
|
use kawari::packet::{PacketSegment, PacketState, SegmentType, send_keep_alive};
|
||||||
|
use kawari::{CONTENT_ID, WORLD_NAME};
|
||||||
use tokio::io::AsyncReadExt;
|
use tokio::io::AsyncReadExt;
|
||||||
use tokio::net::TcpListener;
|
use tokio::net::TcpListener;
|
||||||
|
|
||||||
|
@ -123,9 +123,9 @@ async fn main() {
|
||||||
character_name: character_action
|
character_name: character_action
|
||||||
.name
|
.name
|
||||||
.clone(),
|
.clone(),
|
||||||
origin_server_name: "KAWARI"
|
origin_server_name: WORLD_NAME
|
||||||
.to_string(),
|
.to_string(),
|
||||||
current_server_name: "KAWARI"
|
current_server_name: WORLD_NAME
|
||||||
.to_string(),
|
.to_string(),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
|
@ -167,9 +167,9 @@ async fn main() {
|
||||||
character_name: character_action
|
character_name: character_action
|
||||||
.name
|
.name
|
||||||
.clone(),
|
.clone(),
|
||||||
origin_server_name: "KAWARI"
|
origin_server_name: WORLD_NAME
|
||||||
.to_string(),
|
.to_string(),
|
||||||
current_server_name: "KAWARI"
|
current_server_name: WORLD_NAME
|
||||||
.to_string(),
|
.to_string(),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue