rename id.rs to packet_id.rs

This commit is contained in:
MeexReay 2025-05-07 12:04:55 +03:00
parent a664c43887
commit a7636c4028
6 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# Использование:
#
# ./parse_ids.py < Packets.html > src/server/protocol/id.rs
# ./parse_ids.py < Packets.html > src/server/protocol/packet_id.rs
import sys
from bs4 import BeautifulSoup

View File

@ -10,7 +10,7 @@ use crate::{
ServerError,
data::{ReadWriteNBT, text_component::TextComponent},
protocol::{
id::{clientbound, serverbound},
packet_id::{clientbound, serverbound},
*,
},
};

View File

@ -10,7 +10,7 @@ use crate::trigger_event;
use super::{
ConnectionState,
id::*,
packet_id::*,
play::{handle_configuration_state, handle_play_state},
};

View File

@ -1,5 +1,5 @@
pub mod handler;
pub mod id;
pub mod packet_id;
pub mod play;
#[derive(Debug, Clone)]

View File

@ -13,7 +13,7 @@ use crate::{
player::context::ClientContext,
};
use super::id::*;
use super::packet_id::*;
pub fn send_update_tags(client: Arc<ClientContext>) -> Result<(), ServerError> {
// TODO: rewrite this hardcode bullshit