Compare commits

..

No commits in common. "dcdaef82c5f95910cdfdd44151c33f44b9cbf512" and "8c883030092c3de2677f40d7f322ee8d79de6de4" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View File

@ -109,7 +109,7 @@ impl PSOPacketData for String {
} }
} }
#[derive(Clone, PartialEq)] #[derive(Debug, Clone, PartialEq)]
pub struct ConsumingBlob { pub struct ConsumingBlob {
pub blob: Vec<u8>, pub blob: Vec<u8>,
} }
@ -127,14 +127,6 @@ impl PSOPacketData for ConsumingBlob {
} }
} }
impl std::fmt::Debug for ConsumingBlob {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("ConsumingBlob")
.field("blob", &"[...]")
.finish()
}
}
pub trait PSOPacket: std::fmt::Debug { pub trait PSOPacket: std::fmt::Debug {
// const CMD: u16; // const CMD: u16;
fn from_bytes(data: &[u8]) -> Result<Self, PacketParseError> where Self: Sized; fn from_bytes(data: &[u8]) -> Result<Self, PacketParseError> where Self: Sized;

View File

@ -570,7 +570,6 @@ pub struct QuestFileRequest {
pub struct QuestChunk { pub struct QuestChunk {
pub chunk_num: u32, pub chunk_num: u32,
pub filename: [u8; 16], pub filename: [u8; 16],
#[nodebug]
pub blob: [u8; 0x400], pub blob: [u8; 0x400],
pub blob_length: u32, pub blob_length: u32,
pub unknown: u32, pub unknown: u32,