#[repr(C)]pub struct ExtraAshPileRef {
pub __base: BSExtraData,
pub ashPileRef: ObjectRefHandle,
pub pad14: u32,
}
Expand description
Represents extra data for an ash pile reference.
Fields§
§__base: BSExtraData
Base class BSExtraData
.
ashPileRef: ObjectRefHandle
The object reference handle pointing to the ash pile.
- Offset:
0x10
pad14: u32
Padding to maintain memory alignment.
- Offset:
0x14
Implementations§
Source§impl ExtraAshPileRef
impl ExtraAshPileRef
Sourcepub const RTTI: VariantID = RTTI_ExtraAshPileRef
pub const RTTI: VariantID = RTTI_ExtraAshPileRef
Address & Offset of the runtime type information (RTTI) identifier.
Sourcepub const VTABLE: [VariantID; 1] = VTABLE_ExtraAshPileRef
pub const VTABLE: [VariantID; 1] = VTABLE_ExtraAshPileRef
Address & Offset of the virtual function table.
Sourcepub const EXTRA_DATA_TYPE: ExtraDataType = ExtraDataType::AshPileRef
pub const EXTRA_DATA_TYPE: ExtraDataType = ExtraDataType::AshPileRef
The ExtraDataType
value for ash pile references.
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new ExtraAshPileRef
instance with default values.
__base
: DefaultBSExtraData
ash_pile_ref
: DefaultObjectRefHandle
pad14
: Zeroed padding
Sourcepub const fn with_ref(ash_pile_ref: ObjectRefHandle) -> Self
pub const fn with_ref(ash_pile_ref: ObjectRefHandle) -> Self
Creates a new ExtraAshPileRef
instance with a specific ObjectRefHandle
.
ash_pile_ref
: The reference handle pointing to the ash pile.
§Returns
An instance of ExtraAshPileRef
with the specified reference handle.
Sourcepub const fn get_type(&self) -> ExtraDataType
pub const fn get_type(&self) -> ExtraDataType
Retrieves the extra data type, always returning ExtraDataType::kAshPileRef
.
§Returns
ExtraDataType::kAshPileRef
Trait Implementations§
Source§impl Default for ExtraAshPileRef
impl Default for ExtraAshPileRef
Source§impl DerivedBSExtraData for ExtraAshPileRef
impl DerivedBSExtraData for ExtraAshPileRef
Source§fn get_extra_data(&self) -> &BSExtraData
fn get_extra_data(&self) -> &BSExtraData
Type used for downcast-ing availability and linked list search.
Source§fn get_extra_data_type() -> ExtraDataType
fn get_extra_data_type() -> ExtraDataType
Function for testing whether
BSExtraData
is really inherited. It will not be called in practice.Auto Trait Implementations§
impl Freeze for ExtraAshPileRef
impl RefUnwindSafe for ExtraAshPileRef
impl !Send for ExtraAshPileRef
impl !Sync for ExtraAshPileRef
impl Unpin for ExtraAshPileRef
impl UnwindSafe for ExtraAshPileRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more