1 2 3 4 5 6 7 8 9 10 11 12
#[repr(C)] #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct ForgeVersion { pub major: u16, pub minor: u16, pub patch: u16, } #[repr(C)] pub struct PluginInitParams { pub required_version: ForgeVersion, }