add damage type registries

This commit is contained in:
Snowiiii committed 2024-08-03 12:56:21 +02:00
1 parent 661e196987
commit f111c7881c
4 files changed
+44 -4

No files matched your search

+4
View File
@@ -274,6 +274,10 @@ impl ByteBuffer {
self.buffer.put_f32(n)
}
pub fn put_f64(&mut self, n: f64) {
self.buffer.put_f64(n)
}
pub fn copy_to_bytes(&mut self, len: usize) -> bytes::Bytes {
self.buffer.copy_to_bytes(len)
}