DayZ 1.24
Loading...
Searching...
No Matches
RadialQuickbarMenu.c File Reference

Go to the source code of this file.

Classes

class  UIScriptedMenu
 

Enumerations

enum  RadialQuickbarCategory { DEFAULT , SPECIALIZED_LIGHTS }
 

Functions

void RadialQuickbarItem (int id, EntityAI item, string item_name, int category=RadialQuickbarCategory.DEFAULT, int category_switch=-1)
 
EntityAI GetItem ()
 
void SetItem (EntityAI item)
 
bool IsLightSourceExtra ()
 
bool IsNVGExtra ()
 
int GetId ()
 
int GetItemCategory ()
 
int GetCategorySwitchID ()
 
Widget GetRadialItemCard ()
 
void SetRadialItemCard (Widget widget)
 
string GetItemName ()
 

Variables

enum RadialQuickbarCategory m_IsLightSourceExtra
 
bool m_IsNVG
 
int m_Id
 
int m_Category
 
int m_CategorySwitchID
 
EntityAI m_Item
 
string m_ItemName
 
Widget m_RadialMenuSelector
 
Widget m_RadialMenuItemCard
 

Enumeration Type Documentation

◆ RadialQuickbarCategory

Enumerator
DEFAULT 
SPECIALIZED_LIGHTS 

Definition at line 1 of file RadialQuickbarMenu.c.

2{
5}
@ DEFAULT
@ SPECIALIZED_LIGHTS

Function Documentation

◆ GetCategorySwitchID()

int GetCategorySwitchID ( )
protected

Definition at line 67 of file RadialQuickbarMenu.c.

68 {
69 return m_CategorySwitchID;
70 }
int m_CategorySwitchID

References m_CategorySwitchID.

◆ GetId()

int GetId ( )
protected

Definition at line 57 of file RadialQuickbarMenu.c.

58 {
59 return m_Id;
60 }
int m_Id

References m_Id.

◆ GetItem()

EntityAI GetItem ( )
protected

◆ GetItemCategory()

int GetItemCategory ( )
protected

Definition at line 62 of file RadialQuickbarMenu.c.

63 {
64 return m_Category;
65 }
int m_Category

References m_Category.

◆ GetItemName()

string GetItemName ( )
protected

Definition at line 82 of file RadialQuickbarMenu.c.

83 {
84 return m_ItemName;
85 }
string m_ItemName

References m_ItemName.

◆ GetRadialItemCard()

Widget GetRadialItemCard ( )
protected

Definition at line 72 of file RadialQuickbarMenu.c.

73 {
75 }
Widget m_RadialMenuItemCard

References m_RadialMenuItemCard.

◆ IsLightSourceExtra()

bool IsLightSourceExtra ( )
protected

Definition at line 47 of file RadialQuickbarMenu.c.

48 {
50 }
enum RadialQuickbarCategory m_IsLightSourceExtra

References m_IsLightSourceExtra.

◆ IsNVGExtra()

bool IsNVGExtra ( )
protected

Definition at line 52 of file RadialQuickbarMenu.c.

53 {
54 return m_IsNVG;
55 }
bool m_IsNVG

References m_IsNVG.

◆ RadialQuickbarItem()

◆ SetItem()

void SetItem ( EntityAI item)
protected

Definition at line 42 of file RadialQuickbarMenu.c.

43 {
44 m_Item = item;
45 }

References m_Item.

Referenced by BleedingSourcesManagerBase::RemoveMostSignificantBleedingSourceEx().

◆ SetRadialItemCard()

void SetRadialItemCard ( Widget widget)
protected

Definition at line 77 of file RadialQuickbarMenu.c.

78 {
80 }

References m_RadialMenuItemCard.

Variable Documentation

◆ m_Category

int m_Category
protected

Definition at line 12 of file RadialQuickbarMenu.c.

◆ m_CategorySwitchID

int m_CategorySwitchID
protected

Definition at line 13 of file RadialQuickbarMenu.c.

Referenced by GetCategorySwitchID(), and RadialQuickbarItem().

◆ m_Id

int m_Id
protected

Definition at line 11 of file RadialQuickbarMenu.c.

◆ m_IsLightSourceExtra

enum RadialQuickbarCategory m_IsLightSourceExtra

◆ m_IsNVG

bool m_IsNVG
protected

Definition at line 10 of file RadialQuickbarMenu.c.

Referenced by IsNVGExtra(), and RadialQuickbarItem().

◆ m_Item

EntityAI m_Item
protected

Definition at line 14 of file RadialQuickbarMenu.c.

◆ m_ItemName

string m_ItemName
protected

Definition at line 15 of file RadialQuickbarMenu.c.

◆ m_RadialMenuItemCard

Widget m_RadialMenuItemCard
protected

Definition at line 19 of file RadialQuickbarMenu.c.

◆ m_RadialMenuSelector

Widget m_RadialMenuSelector
protected

Definition at line 18 of file RadialQuickbarMenu.c.