Struct IMenu

Source
#[repr(C)]
pub struct IMenu { pub vtable: *const IMenuVtbl, pub refCount: AtomicU32, pub uiMovie: GPtr<GFxMovieView>, pub depthPriority: i8, pub menuFlags: UI_MENU_FLAGS, pub inputContext: INPUT_CONTEXT_ID, pub fxDelegate: GPtr<FxDelegate>, /* private fields */ }

Fields§

§vtable: *const IMenuVtbl§refCount: AtomicU32§uiMovie: GPtr<GFxMovieView>§depthPriority: i8§menuFlags: UI_MENU_FLAGS§inputContext: INPUT_CONTEXT_ID§fxDelegate: GPtr<FxDelegate>

Implementations§

Source§

impl IMenu

Source

pub const RTTI: VariantID = RTTI_IMenu

Address & Offset of the runtime type information (RTTI) identifier.

Source

pub const VTABLE: [VariantID; 1] = VTABLE_IMenu

Address & Offset of the virtual function table.

Source

pub const fn advances_under_pause_menu(&self) -> bool

Returns true if the menu advances while the pause menu is active.

Source

pub const fn allow_saving(&self) -> bool

Returns true if the menu allows saving the game.

Source

pub const fn always_open(&self) -> bool

Returns true if the menu is always open.

Source

pub const fn application_menu(&self) -> bool

Returns true if this is an application-level menu.

Source

pub const fn assign_cursor_to_renderer(&self) -> bool

Returns true if the cursor is assigned to the renderer.

Source

pub const fn custom_rendering(&self) -> bool

Returns true if the menu uses custom rendering.

Source

pub const fn companion_app_allowed(&self) -> bool

Returns true if the companion app is allowed to access this menu.

Source

pub const fn disable_pause_menu(&self) -> bool

Returns true if the pause menu should be disabled.

Source

pub const fn dont_hide_cursor_when_topmost(&self) -> bool

Returns true if the cursor should remain visible when this menu is topmost.

Source

pub const fn freeze_frame_background(&self) -> bool

Returns true if the background is frozen while the menu is active.

Source

pub const fn freeze_frame_pause(&self) -> bool

Returns true if the menu causes a freeze frame pause.

Source

pub const fn has_button_bar(&self) -> bool

Returns true if the menu includes a button bar.

Source

pub const fn inventory_item_menu(&self) -> bool

Returns true if this is an inventory item menu.

Source

pub const fn is_top_button_bar(&self) -> bool

Returns true if this menu is the top button bar.

Source

pub const fn large_scaleform_render_cache_mode(&self) -> bool

Returns true if large-scaleform render cache mode is enabled.

Source

pub const fn modal(&self) -> bool

Returns true if the menu is modal and blocks interaction with other menus.

Source

pub const fn on_stack(&self) -> bool

Returns true if the menu is currently on the menu stack.

Source

pub const fn pauses_game(&self) -> bool

Returns true if the menu causes the game to pause.

Source

pub const fn renders_offscreen_targets(&self) -> bool

Returns true if the menu renders offscreen targets.

Source

pub const fn renders_under_pause_menu(&self) -> bool

Returns true if the menu renders underneath the pause menu.

Source

pub const fn requires_update(&self) -> bool

Returns true if the menu requires updates while active.

Source

pub const fn skip_render_during_freeze_frame_screenshot(&self) -> bool

Returns true if rendering is skipped during freeze frame screenshots.

Source

pub const fn topmost_rendered_menu(&self) -> bool

Returns true if this is the topmost rendered menu.

Source

pub const fn update_uses_cursor(&self) -> bool

Returns true if the menu uses the cursor during update.

Source

pub const fn uses_blurred_background(&self) -> bool

Returns true if the menu uses a blurred background.

Source

pub const fn uses_cursor(&self) -> bool

Returns true if the menu uses a cursor for interaction.

Source

pub const fn uses_menu_context(&self) -> bool

Returns true if the menu uses a custom menu context.

Source

pub const fn uses_movement_to_direction(&self) -> bool

Returns true if movement input is translated into direction within the menu.

Trait Implementations§

Source§

impl Debug for IMenu

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl RefCounted for IMenu

Source§

fn add_ref(&mut self)

Source§

fn release(&mut self)

Auto Trait Implementations§

§

impl !Freeze for IMenu

§

impl RefUnwindSafe for IMenu

§

impl !Send for IMenu

§

impl !Sync for IMenu

§

impl Unpin for IMenu

§

impl UnwindSafe for IMenu

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