Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_InventoryInspectionUI Class Reference
Inheritance diagram for SCR_InventoryInspectionUI:
ScriptedWidgetComponent

Protected Member Functions

override bool OnMouseButtonDown (Widget w, int x, int y, int button)
override bool OnMouseButtonUp (Widget w, int x, int y, int button)
void Init ()
void DeletePreview ()
 Deletes the preview world.
void CreatePreview ()
 Creates the preview world.
void Destroy ()
 Removes just the UI slot.
Widget GetWidget ()
void CenterPreviewObject (vector center)
 Centers the preview object to the input position.
void ResetPreviewCamera ()
 Resets the camera to the default rotation and distance based on the preview object's size.
void UpdateView (float timeSlice)
 Update the preview.
void SCR_InventoryInspectionUI (InventoryItemComponent pComponent=null, SCR_InventoryStorageBaseUI pStorageUI=null, BaseWorld playerWorld=null)
void ~SCR_InventoryInspectionUI ()

Protected Attributes

WorkspaceWidget m_workspaceWidget = null
Widget m_widget = null
RenderTargetWidget m_wItemRender = null
InputManager m_pInputmanager = null
InventoryItemComponent m_pItem = null
SCR_InventoryStorageBaseUI m_inventoryStorage = null
BaseWorld m_PreviewWorld = null
ref SharedItemRef m_PreviewSharedItemRef = null
int m_PreviewCamera = -1
GenericEntity m_PreviewEntity = null
vector m_PreviewRotation = vector.Zero
float m_PreviewDistance = 0
vector m_PreviewTargetRotation = vector.Zero
float m_PreviewTargetDistance = 0
bool m_InputMouseRotate = false
SCR_InventoryNavigationButtonBack m_wButtonTraverseBack
const string ITEM_LAYOUT = "{9A9CCE3707075EF4}UI/layouts/Menus/Inventory/InventoryInspectionPanel.layout"

Detailed Description

UI Script Inventory Item Inspection UI Layout

Definition at line 6 of file SCR_InventoryInspectionUI.c.

Constructor & Destructor Documentation

◆ SCR_InventoryInspectionUI()

void SCR_InventoryInspectionUI::SCR_InventoryInspectionUI ( InventoryItemComponent pComponent = null,
SCR_InventoryStorageBaseUI pStorageUI = null,
BaseWorld playerWorld = null )
inlineprotected

Definition at line 177 of file SCR_InventoryInspectionUI.c.

◆ ~SCR_InventoryInspectionUI()

void SCR_InventoryInspectionUI::~SCR_InventoryInspectionUI ( )
inlineprotected

Definition at line 193 of file SCR_InventoryInspectionUI.c.

Member Function Documentation

◆ CenterPreviewObject()

void SCR_InventoryInspectionUI::CenterPreviewObject ( vector center)
inlineprotected

Centers the preview object to the input position.

Definition at line 119 of file SCR_InventoryInspectionUI.c.

◆ CreatePreview()

void SCR_InventoryInspectionUI::CreatePreview ( )
inlineprotected

Creates the preview world.

Definition at line 76 of file SCR_InventoryInspectionUI.c.

◆ DeletePreview()

void SCR_InventoryInspectionUI::DeletePreview ( )
inlineprotected

Deletes the preview world.

Definition at line 63 of file SCR_InventoryInspectionUI.c.

◆ Destroy()

void SCR_InventoryInspectionUI::Destroy ( )
inlineprotected

Removes just the UI slot.

Definition at line 107 of file SCR_InventoryInspectionUI.c.

◆ GetWidget()

Widget SCR_InventoryInspectionUI::GetWidget ( )
inlineprotected

Definition at line 115 of file SCR_InventoryInspectionUI.c.

◆ Init()

void SCR_InventoryInspectionUI::Init ( )
inlineprotected

Definition at line 45 of file SCR_InventoryInspectionUI.c.

◆ OnMouseButtonDown()

override bool SCR_InventoryInspectionUI::OnMouseButtonDown ( Widget w,
int x,
int y,
int button )
inlineprotected

Definition at line 29 of file SCR_InventoryInspectionUI.c.

◆ OnMouseButtonUp()

override bool SCR_InventoryInspectionUI::OnMouseButtonUp ( Widget w,
int x,
int y,
int button )
inlineprotected

Definition at line 37 of file SCR_InventoryInspectionUI.c.

◆ ResetPreviewCamera()

void SCR_InventoryInspectionUI::ResetPreviewCamera ( )
inlineprotected

Resets the camera to the default rotation and distance based on the preview object's size.

Definition at line 129 of file SCR_InventoryInspectionUI.c.

◆ UpdateView()

void SCR_InventoryInspectionUI::UpdateView ( float timeSlice)
inlineprotected

Update the preview.

Definition at line 147 of file SCR_InventoryInspectionUI.c.

Member Data Documentation

◆ ITEM_LAYOUT

const string SCR_InventoryInspectionUI::ITEM_LAYOUT = "{9A9CCE3707075EF4}UI/layouts/Menus/Inventory/InventoryInspectionPanel.layout"
protected

Definition at line 26 of file SCR_InventoryInspectionUI.c.

◆ m_InputMouseRotate

bool SCR_InventoryInspectionUI::m_InputMouseRotate = false
protected

Definition at line 22 of file SCR_InventoryInspectionUI.c.

◆ m_inventoryStorage

SCR_InventoryStorageBaseUI SCR_InventoryInspectionUI::m_inventoryStorage = null
protected

Definition at line 13 of file SCR_InventoryInspectionUI.c.

◆ m_pInputmanager

InputManager SCR_InventoryInspectionUI::m_pInputmanager = null
protected

Definition at line 11 of file SCR_InventoryInspectionUI.c.

◆ m_pItem

InventoryItemComponent SCR_InventoryInspectionUI::m_pItem = null
protected

Definition at line 12 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewCamera

int SCR_InventoryInspectionUI::m_PreviewCamera = -1
protected

Definition at line 16 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewDistance

float SCR_InventoryInspectionUI::m_PreviewDistance = 0
protected

Definition at line 19 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewEntity

GenericEntity SCR_InventoryInspectionUI::m_PreviewEntity = null
protected

Definition at line 17 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewRotation

vector SCR_InventoryInspectionUI::m_PreviewRotation = vector.Zero
protected

Definition at line 18 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewSharedItemRef

ref SharedItemRef SCR_InventoryInspectionUI::m_PreviewSharedItemRef = null
protected

Definition at line 15 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewTargetDistance

float SCR_InventoryInspectionUI::m_PreviewTargetDistance = 0
protected

Definition at line 21 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewTargetRotation

vector SCR_InventoryInspectionUI::m_PreviewTargetRotation = vector.Zero
protected

Definition at line 20 of file SCR_InventoryInspectionUI.c.

◆ m_PreviewWorld

BaseWorld SCR_InventoryInspectionUI::m_PreviewWorld = null
protected

Definition at line 14 of file SCR_InventoryInspectionUI.c.

◆ m_wButtonTraverseBack

SCR_InventoryNavigationButtonBack SCR_InventoryInspectionUI::m_wButtonTraverseBack
protected

Definition at line 23 of file SCR_InventoryInspectionUI.c.

◆ m_widget

Widget SCR_InventoryInspectionUI::m_widget = null
protected

Definition at line 9 of file SCR_InventoryInspectionUI.c.

◆ m_wItemRender

RenderTargetWidget SCR_InventoryInspectionUI::m_wItemRender = null
protected

Definition at line 10 of file SCR_InventoryInspectionUI.c.

◆ m_workspaceWidget

WorkspaceWidget SCR_InventoryInspectionUI::m_workspaceWidget = null
protected

Definition at line 8 of file SCR_InventoryInspectionUI.c.


The documentation for this class was generated from the following file: