Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_NTTextBase Class Reference

Base nametag element for text. More...

Inheritance diagram for SCR_NTTextBase:
SCR_NTElementBase SCR_NTName SCR_NTTextDebug

Protected Member Functions

void GetText (SCR_NameTagData data, out string name, out notnull array< string > nameParams)
void SetText (SCR_NameTagData data, string text, notnull array< string > nameParams, int index)
void ScaleElement (SCR_NameTagData data, int index)
override void SetDefaults (SCR_NameTagData data, int index)

Protected Attributes

int m_fTextSizeMax
int m_fTextSizeMin
ResourceName m_FontResource

Detailed Description

Base nametag element for text.

Definition at line 4 of file SCR_NTTextBase.c.

Member Function Documentation

◆ GetText()

void SCR_NTTextBase::GetText ( SCR_NameTagData data,
out string name,
out notnull array< string > nameParams )
inlineprotected

Get text from this element

Parameters
datais nametag struct
[out]nameName or formatting of name
[out]namesIf uses formating: Firstname, Alias and Surname (Alias can be an empty string)

Definition at line 20 of file SCR_NTTextBase.c.

◆ ScaleElement()

void SCR_NTTextBase::ScaleElement ( SCR_NameTagData data,
int index )
inlineprotected

Definition at line 48 of file SCR_NTTextBase.c.

◆ SetDefaults()

override void SCR_NTTextBase::SetDefaults ( SCR_NameTagData data,
int index )
inlineprotected

Definition at line 80 of file SCR_NTTextBase.c.

◆ SetText()

void SCR_NTTextBase::SetText ( SCR_NameTagData data,
string text,
notnull array< string > nameParams,
int index )
inlineprotected

Set text for this element

Parameters
datais nametag struct

Definition at line 28 of file SCR_NTTextBase.c.

Member Data Documentation

◆ m_FontResource

ResourceName SCR_NTTextBase::m_FontResource
protected

Definition at line 13 of file SCR_NTTextBase.c.

◆ m_fTextSizeMax

int SCR_NTTextBase::m_fTextSizeMax
protected

Definition at line 7 of file SCR_NTTextBase.c.

◆ m_fTextSizeMin

int SCR_NTTextBase::m_fTextSizeMin
protected

Definition at line 10 of file SCR_NTTextBase.c.


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