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

Protected Member Functions

void ShowDistance (bool show)
void EnableFading (bool enable)
bool FadingEnabled ()
bool IsEnabled ()
void SetEnabled (bool enable)
void SetOffsetVector (vector offset)
Widget GetWidget ()
 Get Waypoint Widget.
bool IsVisible ()
void SetVisible (bool visible)
void SetColor (notnull Color color)
void SetIconImage (string imageName, bool visible, int index=0)
IEntity GetAttachedEntity ()
void AttachToEntity (IEntity entity)
 Attach waypoint to entity, copying its position.
void SetPositionStatic (vector pos)
 Set only static position, not attached to entity.
vector GetPosition ()
 Get waypoint position. Attached entity is prioritized over static position.
void SCR_Waypoint (ResourceName resourceName, Widget rootW)
void ~SCR_Waypoint ()

Protected Attributes

string m_sImageSetResourceName = "{6EAF838A9284890D}UI/Imagesets/Tutorial-Waypoints/Tutorial-Waypoints.imageset"
IEntity m_AttachedTo
Widget m_wWaypointWidget
vector m_vWaypointPos
int m_iMinimumDrawDistance
int m_iMaximumDrawDistance = -1
vector m_vOffset = vector.Zero
RichTextWidget m_wTitle
RichTextWidget m_wDistance
ImageWidget m_wIcon
bool m_bEnabled = true
bool m_bFadingEnabled

Static Protected Attributes

static string WIDGET_NAME_DISTANCE = "Distance"
static string WIDGET_NAME_TITLE = "Title"
static string WIDGET_NAME_ICON = "Icon_Extra"

Detailed Description

Definition at line 2 of file SCR_Waypoint.c.

Constructor & Destructor Documentation

◆ SCR_Waypoint()

void SCR_Waypoint::SCR_Waypoint ( ResourceName resourceName,
Widget rootW )
inlineprotected

Definition at line 138 of file SCR_Waypoint.c.

◆ ~SCR_Waypoint()

void SCR_Waypoint::~SCR_Waypoint ( )
inlineprotected

Definition at line 150 of file SCR_Waypoint.c.

Member Function Documentation

◆ AttachToEntity()

void SCR_Waypoint::AttachToEntity ( IEntity entity)
inlineprotected

Attach waypoint to entity, copying its position.

Definition at line 115 of file SCR_Waypoint.c.

◆ EnableFading()

void SCR_Waypoint::EnableFading ( bool enable)
inlineprotected

Definition at line 32 of file SCR_Waypoint.c.

◆ FadingEnabled()

bool SCR_Waypoint::FadingEnabled ( )
inlineprotected

Definition at line 38 of file SCR_Waypoint.c.

◆ GetAttachedEntity()

IEntity SCR_Waypoint::GetAttachedEntity ( )
inlineprotected

Definition at line 107 of file SCR_Waypoint.c.

◆ GetPosition()

vector SCR_Waypoint::GetPosition ( )
inlineprotected

Get waypoint position. Attached entity is prioritized over static position.

Definition at line 129 of file SCR_Waypoint.c.

◆ GetWidget()

Widget SCR_Waypoint::GetWidget ( )
inlineprotected

Get Waypoint Widget.

Definition at line 63 of file SCR_Waypoint.c.

◆ IsEnabled()

bool SCR_Waypoint::IsEnabled ( )
inlineprotected

Definition at line 44 of file SCR_Waypoint.c.

◆ IsVisible()

bool SCR_Waypoint::IsVisible ( )
inlineprotected

Definition at line 69 of file SCR_Waypoint.c.

◆ SetColor()

void SCR_Waypoint::SetColor ( notnull Color color)
inlineprotected

Definition at line 84 of file SCR_Waypoint.c.

◆ SetEnabled()

void SCR_Waypoint::SetEnabled ( bool enable)
inlineprotected

Definition at line 50 of file SCR_Waypoint.c.

◆ SetIconImage()

void SCR_Waypoint::SetIconImage ( string imageName,
bool visible,
int index = 0 )
inlineprotected

Definition at line 97 of file SCR_Waypoint.c.

◆ SetOffsetVector()

void SCR_Waypoint::SetOffsetVector ( vector offset)
inlineprotected

Definition at line 56 of file SCR_Waypoint.c.

◆ SetPositionStatic()

void SCR_Waypoint::SetPositionStatic ( vector pos)
inlineprotected

Set only static position, not attached to entity.

Definition at line 122 of file SCR_Waypoint.c.

◆ SetVisible()

void SCR_Waypoint::SetVisible ( bool visible)
inlineprotected

Definition at line 78 of file SCR_Waypoint.c.

◆ ShowDistance()

void SCR_Waypoint::ShowDistance ( bool show)
inlineprotected

Definition at line 26 of file SCR_Waypoint.c.

Member Data Documentation

◆ m_AttachedTo

IEntity SCR_Waypoint::m_AttachedTo
protected

Definition at line 11 of file SCR_Waypoint.c.

◆ m_bEnabled

bool SCR_Waypoint::m_bEnabled = true
protected

Definition at line 22 of file SCR_Waypoint.c.

◆ m_bFadingEnabled

bool SCR_Waypoint::m_bFadingEnabled
protected

Definition at line 23 of file SCR_Waypoint.c.

◆ m_iMaximumDrawDistance

int SCR_Waypoint::m_iMaximumDrawDistance = -1
protected

Definition at line 16 of file SCR_Waypoint.c.

◆ m_iMinimumDrawDistance

int SCR_Waypoint::m_iMinimumDrawDistance
protected

Definition at line 15 of file SCR_Waypoint.c.

◆ m_sImageSetResourceName

string SCR_Waypoint::m_sImageSetResourceName = "{6EAF838A9284890D}UI/Imagesets/Tutorial-Waypoints/Tutorial-Waypoints.imageset"
protected

Definition at line 9 of file SCR_Waypoint.c.

◆ m_vOffset

vector SCR_Waypoint::m_vOffset = vector.Zero
protected

Definition at line 18 of file SCR_Waypoint.c.

◆ m_vWaypointPos

vector SCR_Waypoint::m_vWaypointPos
protected

Definition at line 13 of file SCR_Waypoint.c.

◆ m_wDistance

RichTextWidget SCR_Waypoint::m_wDistance
protected

Definition at line 19 of file SCR_Waypoint.c.

◆ m_wIcon

ImageWidget SCR_Waypoint::m_wIcon
protected

Definition at line 20 of file SCR_Waypoint.c.

◆ m_wTitle

RichTextWidget SCR_Waypoint::m_wTitle
protected

Definition at line 19 of file SCR_Waypoint.c.

◆ m_wWaypointWidget

Widget SCR_Waypoint::m_wWaypointWidget
protected

Definition at line 12 of file SCR_Waypoint.c.

◆ WIDGET_NAME_DISTANCE

string SCR_Waypoint::WIDGET_NAME_DISTANCE = "Distance"
staticprotected

Definition at line 4 of file SCR_Waypoint.c.

◆ WIDGET_NAME_ICON

string SCR_Waypoint::WIDGET_NAME_ICON = "Icon_Extra"
staticprotected

Definition at line 6 of file SCR_Waypoint.c.

◆ WIDGET_NAME_TITLE

string SCR_Waypoint::WIDGET_NAME_TITLE = "Title"
staticprotected

Definition at line 5 of file SCR_Waypoint.c.


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