Struct TESObjectREFRVtbl

Source
#[repr(C)]
pub struct TESObjectREFRVtbl {
Show 75 fields pub __base: TESFormVtbl, pub __base1: BSTEventSinkVtbl<BSAnimationGraphEvent>, pub __base2: BSTEventSinkVtbl<BSAnimationGraphEvent>, pub __base3: IAnimationGraphManagerHolderVtbl, pub Predestroy: unsafe extern "C" fn(this: *mut c_void), pub GetEditorLocation1: unsafe extern "C" fn(this: *const c_void) -> *const BGSLocation, pub GetEditorLocation2: unsafe extern "C" fn(this: *mut c_void, outPos: *mut NiPoint3, outRot: *mut NiPoint3, outWorldOrCell: *mut *mut TESForm, fallback: *mut TESObjectCELL) -> bool, pub ForceEditorLocation: unsafe extern "C" fn(this: *mut c_void, location: *mut BGSLocation), pub Update3DPosition: unsafe extern "C" fn(this: *mut c_void, warp: bool), pub UpdateSoundCallBack: unsafe extern "C" fn(this: *mut c_void, endSceneAction: bool), pub SetDialogueWithPlayer: unsafe extern "C" fn(this: *mut c_void, flag: bool, forceGreet: bool, topic: *mut TESTopicInfo) -> bool, pub DamageObject: unsafe extern "C" fn(this: *mut c_void, objectHealth: f32, arg3: bool), pub GetFullLODRef: unsafe extern "C" fn(this: *const c_void) -> bool, pub SetFullLODRef: unsafe extern "C" fn(this: *mut c_void, set: bool), pub GetSequencer: unsafe extern "C" fn(this: *const c_void) -> *const BGSAnimationSequencer, pub QCanUpdateSync: unsafe extern "C" fn(this: *const c_void) -> bool, pub GetAllowPromoteToPersistent: unsafe extern "C" fn(this: *const c_void) -> bool, pub HasKeywordHelper: unsafe extern "C" fn(this: *const c_void, keyword: *const BGSKeyword) -> bool, pub CheckForCurrentAliasPackage: unsafe extern "C" fn(this: *mut c_void) -> *const TESPackage, pub GetCurrentScene: unsafe extern "C" fn(this: *const c_void) -> *const BGSScene, pub SetCurrentScene: unsafe extern "C" fn(this: *mut c_void, scene: *mut BGSScene), pub UpdateInDialogue: unsafe extern "C" fn(this: *mut c_void, response: *mut DialogueResponse, unused: bool) -> bool, pub GetExclusiveBranch: unsafe extern "C" fn(this: *const c_void) -> *const BGSDialogueBranch, pub SetExclusiveBranch: unsafe extern "C" fn(this: *mut c_void, branch: *mut BGSDialogueBranch), pub PauseCurrentDialogue: unsafe extern "C" fn(this: *mut c_void), pub SetActorCause: unsafe extern "C" fn(this: *mut c_void, cause: *mut ActorCause), pub GetActorCause: unsafe extern "C" fn(this: *const c_void) -> *const ActorCause, pub GetStartingAngle: unsafe extern "C" fn(this: *const c_void) -> NiPoint3, pub GetStartingLocation: unsafe extern "C" fn(this: *const c_void) -> NiPoint3, pub SetStartingPosition: unsafe extern "C" fn(this: *mut c_void, pos: *const NiPoint3), pub UpdateRefLight: unsafe extern "C" fn(this: *mut c_void), pub RemoveItem: unsafe extern "C" fn(this: *mut c_void, item: *mut TESBoundObject, count: i32, reason: ITEM_REMOVE_REASON, extraList: *mut ExtraDataList, moveToRef: *mut TESObjectREFR, dropLoc: *const NiPoint3, rotate: *const NiPoint3) -> ObjectRefHandle, pub AddWornItem: unsafe extern "C" fn(this: *mut c_void, item: *mut TESBoundObject, count: i32, forceEquip: bool, arg4: u32, arg5: u32) -> bool, pub DoTrap1: unsafe extern "C" fn(this: *mut c_void, data: *mut TrapData), pub DoTrap2: unsafe extern "C" fn(this: *mut c_void, trap: *mut TrapEntry, target: *mut TargetEntry), pub AddObjectToContainer: unsafe extern "C" fn(this: *mut c_void, object: *mut TESBoundObject, extrlist: *mut ExtraDataList, count: i32, from_refr: *mut TESObjectREFR), pub GetLookingAtLocation: unsafe extern "C" fn(this: *const c_void) -> NiPoint3, pub GetMagicCaster: unsafe extern "C" fn(this: *mut c_void, source: i32) -> *mut MagicCaster, pub GetMagicTarget: unsafe extern "C" fn(this: *mut c_void) -> *mut MagicTarget, pub IsChild: unsafe extern "C" fn(this: *const c_void) -> bool, pub GetTemplateActorBase: unsafe extern "C" fn(this: *mut c_void) -> *mut TESActorBase, pub SetTemplateActorBase: unsafe extern "C" fn(this: *mut c_void, template: *mut TESActorBase), pub GetFaceNodeSkinned: unsafe extern "C" fn(this: *mut c_void) -> *mut BSFaceGenNiNode, pub GetFaceNode: unsafe extern "C" fn(this: *mut c_void) -> *mut BSFaceGenNiNode, pub GetFaceGenAnimationData: unsafe extern "C" fn(this: *mut c_void) -> *mut BSFaceGenAnimationData, pub ClampToGround: unsafe extern "C" fn(this: *mut c_void) -> bool, pub DetachHavok: unsafe extern "C" fn(this: *mut c_void, obj3D: *mut NiAVObject) -> bool, pub InitHavok: unsafe extern "C" fn(this: *mut c_void), pub Unk_67: unsafe extern "C" fn(this: *mut c_void), pub Unk_68: unsafe extern "C" fn(this: *mut c_void), pub Unk_69: unsafe extern "C" fn(this: *mut c_void), pub Load3D: unsafe extern "C" fn(this: *mut c_void, background_loading: bool) -> *mut NiAVObject, pub Release3DRelatedData: unsafe extern "C" fn(this: *mut c_void), pub Set3D: unsafe extern "C" fn(this: *mut c_void, object: *mut NiAVObject, queue3D_tasks: bool), pub ShouldBackgroundClone: unsafe extern "C" fn(this: *const c_void) -> bool, pub Unk_6E: unsafe extern "C" fn(this: *mut c_void), pub Get3D1: unsafe extern "C" fn(this: *const c_void, first_person: bool) -> *mut NiAVObject, pub Get3D2: unsafe extern "C" fn(this: *const c_void) -> *mut NiAVObject, pub Is3rdPersonVisible: unsafe extern "C" fn(this: *const c_void) -> bool, pub PopulateGraphProjectsToLoad: unsafe extern "C" fn(this: *const c_void) -> bool, pub GetBoundMin: unsafe extern "C" fn(this: *const c_void) -> NiPoint3, pub GetBoundMax: unsafe extern "C" fn(this: *const c_void) -> NiPoint3, pub Unk_75: unsafe extern "C" fn(this: *mut c_void), pub InitNonNPCAnimation: unsafe extern "C" fn(this: *mut c_void, node_for_anim: *mut NiNode) -> bool, pub CheckAndFixSkinAndBoneOrder: unsafe extern "C" fn(this: *mut c_void, node_to_test: *mut NiNode) -> bool, pub Unk_78: unsafe extern "C" fn(this: *mut c_void), pub ModifyAnimationUpdateData: unsafe extern "C" fn(this: *mut c_void, data: *mut BSAnimationUpdateData), pub ShouldSaveAnimationOnUnloading: unsafe extern "C" fn(this: *const c_void) -> bool, pub ShouldSaveAnimationOnSaving: unsafe extern "C" fn(this: *const c_void) -> bool, pub ShouldPerformRevert: unsafe extern "C" fn(this: *const c_void) -> bool, pub UpdateAnimation: unsafe extern "C" fn(this: *mut c_void, delta: f32), pub GetBiped1: unsafe extern "C" fn(this: *const c_void, first_person: bool) -> BSTSmartPointer<BipedAnim>, pub GetBiped2: unsafe extern "C" fn(this: *const c_void) -> BSTSmartPointer<BipedAnim>, pub GetCurrentBiped: unsafe extern "C" fn(this: *const c_void) -> BSTSmartPointer<BipedAnim>, pub SetBiped: unsafe extern "C" fn(this: *mut c_void, biped: BSTSmartPointer<BipedAnim>),
}

Fields§

§__base: TESFormVtbl§__base1: BSTEventSinkVtbl<BSAnimationGraphEvent>§__base2: BSTEventSinkVtbl<BSAnimationGraphEvent>§__base3: IAnimationGraphManagerHolderVtbl§Predestroy: unsafe extern "C" fn(this: *mut c_void)§GetEditorLocation1: unsafe extern "C" fn(this: *const c_void) -> *const BGSLocation§GetEditorLocation2: unsafe extern "C" fn(this: *mut c_void, outPos: *mut NiPoint3, outRot: *mut NiPoint3, outWorldOrCell: *mut *mut TESForm, fallback: *mut TESObjectCELL) -> bool§ForceEditorLocation: unsafe extern "C" fn(this: *mut c_void, location: *mut BGSLocation)§Update3DPosition: unsafe extern "C" fn(this: *mut c_void, warp: bool)§UpdateSoundCallBack: unsafe extern "C" fn(this: *mut c_void, endSceneAction: bool)§SetDialogueWithPlayer: unsafe extern "C" fn(this: *mut c_void, flag: bool, forceGreet: bool, topic: *mut TESTopicInfo) -> bool§DamageObject: unsafe extern "C" fn(this: *mut c_void, objectHealth: f32, arg3: bool)§GetFullLODRef: unsafe extern "C" fn(this: *const c_void) -> bool§SetFullLODRef: unsafe extern "C" fn(this: *mut c_void, set: bool)§GetSequencer: unsafe extern "C" fn(this: *const c_void) -> *const BGSAnimationSequencer§QCanUpdateSync: unsafe extern "C" fn(this: *const c_void) -> bool§GetAllowPromoteToPersistent: unsafe extern "C" fn(this: *const c_void) -> bool§HasKeywordHelper: unsafe extern "C" fn(this: *const c_void, keyword: *const BGSKeyword) -> bool§CheckForCurrentAliasPackage: unsafe extern "C" fn(this: *mut c_void) -> *const TESPackage§GetCurrentScene: unsafe extern "C" fn(this: *const c_void) -> *const BGSScene§SetCurrentScene: unsafe extern "C" fn(this: *mut c_void, scene: *mut BGSScene)§UpdateInDialogue: unsafe extern "C" fn(this: *mut c_void, response: *mut DialogueResponse, unused: bool) -> bool§GetExclusiveBranch: unsafe extern "C" fn(this: *const c_void) -> *const BGSDialogueBranch§SetExclusiveBranch: unsafe extern "C" fn(this: *mut c_void, branch: *mut BGSDialogueBranch)§PauseCurrentDialogue: unsafe extern "C" fn(this: *mut c_void)§SetActorCause: unsafe extern "C" fn(this: *mut c_void, cause: *mut ActorCause)§GetActorCause: unsafe extern "C" fn(this: *const c_void) -> *const ActorCause§GetStartingAngle: unsafe extern "C" fn(this: *const c_void) -> NiPoint3§GetStartingLocation: unsafe extern "C" fn(this: *const c_void) -> NiPoint3§SetStartingPosition: unsafe extern "C" fn(this: *mut c_void, pos: *const NiPoint3)§UpdateRefLight: unsafe extern "C" fn(this: *mut c_void)§RemoveItem: unsafe extern "C" fn(this: *mut c_void, item: *mut TESBoundObject, count: i32, reason: ITEM_REMOVE_REASON, extraList: *mut ExtraDataList, moveToRef: *mut TESObjectREFR, dropLoc: *const NiPoint3, rotate: *const NiPoint3) -> ObjectRefHandle§AddWornItem: unsafe extern "C" fn(this: *mut c_void, item: *mut TESBoundObject, count: i32, forceEquip: bool, arg4: u32, arg5: u32) -> bool§DoTrap1: unsafe extern "C" fn(this: *mut c_void, data: *mut TrapData)§DoTrap2: unsafe extern "C" fn(this: *mut c_void, trap: *mut TrapEntry, target: *mut TargetEntry)§AddObjectToContainer: unsafe extern "C" fn(this: *mut c_void, object: *mut TESBoundObject, extrlist: *mut ExtraDataList, count: i32, from_refr: *mut TESObjectREFR)§GetLookingAtLocation: unsafe extern "C" fn(this: *const c_void) -> NiPoint3§GetMagicCaster: unsafe extern "C" fn(this: *mut c_void, source: i32) -> *mut MagicCaster§GetMagicTarget: unsafe extern "C" fn(this: *mut c_void) -> *mut MagicTarget§IsChild: unsafe extern "C" fn(this: *const c_void) -> bool§GetTemplateActorBase: unsafe extern "C" fn(this: *mut c_void) -> *mut TESActorBase§SetTemplateActorBase: unsafe extern "C" fn(this: *mut c_void, template: *mut TESActorBase)§GetFaceNodeSkinned: unsafe extern "C" fn(this: *mut c_void) -> *mut BSFaceGenNiNode§GetFaceNode: unsafe extern "C" fn(this: *mut c_void) -> *mut BSFaceGenNiNode§GetFaceGenAnimationData: unsafe extern "C" fn(this: *mut c_void) -> *mut BSFaceGenAnimationData§ClampToGround: unsafe extern "C" fn(this: *mut c_void) -> bool§DetachHavok: unsafe extern "C" fn(this: *mut c_void, obj3D: *mut NiAVObject) -> bool§InitHavok: unsafe extern "C" fn(this: *mut c_void)§Unk_67: unsafe extern "C" fn(this: *mut c_void)§Unk_68: unsafe extern "C" fn(this: *mut c_void)§Unk_69: unsafe extern "C" fn(this: *mut c_void)§Load3D: unsafe extern "C" fn(this: *mut c_void, background_loading: bool) -> *mut NiAVObject§Release3DRelatedData: unsafe extern "C" fn(this: *mut c_void)§Set3D: unsafe extern "C" fn(this: *mut c_void, object: *mut NiAVObject, queue3D_tasks: bool)§ShouldBackgroundClone: unsafe extern "C" fn(this: *const c_void) -> bool§Unk_6E: unsafe extern "C" fn(this: *mut c_void)§Get3D1: unsafe extern "C" fn(this: *const c_void, first_person: bool) -> *mut NiAVObject§Get3D2: unsafe extern "C" fn(this: *const c_void) -> *mut NiAVObject§Is3rdPersonVisible: unsafe extern "C" fn(this: *const c_void) -> bool§PopulateGraphProjectsToLoad: unsafe extern "C" fn(this: *const c_void) -> bool§GetBoundMin: unsafe extern "C" fn(this: *const c_void) -> NiPoint3§GetBoundMax: unsafe extern "C" fn(this: *const c_void) -> NiPoint3§Unk_75: unsafe extern "C" fn(this: *mut c_void)§InitNonNPCAnimation: unsafe extern "C" fn(this: *mut c_void, node_for_anim: *mut NiNode) -> bool§CheckAndFixSkinAndBoneOrder: unsafe extern "C" fn(this: *mut c_void, node_to_test: *mut NiNode) -> bool§Unk_78: unsafe extern "C" fn(this: *mut c_void)§ModifyAnimationUpdateData: unsafe extern "C" fn(this: *mut c_void, data: *mut BSAnimationUpdateData)§ShouldSaveAnimationOnUnloading: unsafe extern "C" fn(this: *const c_void) -> bool§ShouldSaveAnimationOnSaving: unsafe extern "C" fn(this: *const c_void) -> bool§ShouldPerformRevert: unsafe extern "C" fn(this: *const c_void) -> bool§UpdateAnimation: unsafe extern "C" fn(this: *mut c_void, delta: f32)§GetBiped1: unsafe extern "C" fn(this: *const c_void, first_person: bool) -> BSTSmartPointer<BipedAnim>§GetBiped2: unsafe extern "C" fn(this: *const c_void) -> BSTSmartPointer<BipedAnim>§GetCurrentBiped: unsafe extern "C" fn(this: *const c_void) -> BSTSmartPointer<BipedAnim>§SetBiped: unsafe extern "C" fn(this: *mut c_void, biped: BSTSmartPointer<BipedAnim>)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more