fromsoftware-shared 0.13.0

Helpers for dealing with pointers and other common stuff across games
Documentation
1
2
3
4
5
6
7
8
9
10
/// An opaque, still-unreversed native structure. This is equivalent to a `u8`
/// array, but its use indicates that we know a structure exists and we know its
/// size but we don't know its purpose or anything else about it.
///
/// Don't use this for values that you don't believe to be distinct structs at
/// the C++ level; just use `[u8; N]` directly instead. You can tell when
/// reversing because structs will often be passed into functions using base
/// addresses within their parent structs.
#[repr(C)]
pub struct UnknownStruct<const N: usize>([u8; N]);