add default language constant for packets
This commit is contained in:
parent
fed7cf0272
commit
dadaf27765
|
@ -1,9 +1,11 @@
|
|||
use crate::text::LanguageError;
|
||||
use crate::text::{Language, LanguageError};
|
||||
use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};
|
||||
use thiserror::Error;
|
||||
|
||||
pub mod quest;
|
||||
|
||||
pub const PACKET_DEFAULT_LANGUAGE: Language = Language::English;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum PacketError {
|
||||
#[error("Packet ID {0} is wrong for this packet type")]
|
||||
|
|
Loading…
Reference in a new issue