Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BaseEditorAttribute.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_BaseEditorAttribute
 Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attribute window. More...
 
class  SCR_BaseEditorAttributeEntryUIInfo
 
class  SCR_BaseEditorAttributeEntryTimeSlider
 
class  SCR_EditorAttributeEntryBool
 
class  SCR_EditorAttributeEntryIntArray
 
class  SCR_EditorAttributePresetEntry
 
class  SCR_EditorAttributeEntryOverride
 
class  SCR_BaseEditorAttributeCustomTitle
 

Functions

string GetText ()
 
void SCR_BaseEditorAttributeEntryText (string text)
 
void GetSliderMinMaxStep (out float min, out float max, out float step)
 
void SetSliderLabel (string label)
 
string GetSliderlabel ()
 
string GetText (float value)
 
string GetSliderValueFormating ()
 Get the secondary Label value. More...
 
void SCR_BaseEditorAttributeEntrySlider (SCR_EditorAttributeBaseValues sliderValues)
 
void SCR_BaseEditorAttributeFloatStringValues (array< ref SCR_EditorAttributeFloatStringValueHolder > values)
 
int GetValueCount ()
 
SCR_EditorAttributeFloatStringValueHolder GetValuesEntry (int index)
 
float GetEntryFloatValue (int index)
 
void SCR_EditorAttributeEntryStringArray (array< ref LocalizedString > values)
 
int GetCount ()
 
string GetEntry (int index)
 
void SCR_EditorAttributeEntryInt (int value)
 
int GetInt ()
 
void SCR_EditorAttributePresetMultiSelectEntry (int buttonsOnRow, bool hasRandomizeButton, ResourceName iconOfRandomizeButton=string.Empty, bool hasIcon=false, bool hasButtonDescription=false, string buttonDescription=string.Empty, int buttonHeight=-1, int customFlags=false)
 
bool GetUsesCustomFlags ()
 
void SCR_BaseEditorAttributeDefaultFloatValue (float floatValue)
 
float GetDefaultFloatValue ()
 

Variables

class SCR_BaseEditorAttribute m_sText
 
SCR_BaseEditorAttributeEntryUIInfo m_fMin
 
protected float m_fMax
 
protected float m_fStep
 
protected int m_sDecimals
 
protected string m_sSliderValueFormating
 
protected string m_sSliderLabel
 
SCR_BaseEditorAttributeEntryTimeSlider m_aValues
 
SCR_EditorAttributeEntryIntArray m_iValue
 
SCR_EditorAttributePresetEntry m_bCustomFlags
 
SCR_EditorAttributeEntryOverride m_fDefaultFloatValue
 

Function Documentation

◆ GetCount()

int GetCount ( )

Definition at line 697 of file SCR_BaseEditorAttribute.c.

◆ GetDefaultFloatValue()

float GetDefaultFloatValue ( )

Definition at line 862 of file SCR_BaseEditorAttribute.c.

◆ GetEntry()

string GetEntry ( int  index)
Parameters
indexthe wanted value's index - will fail if the index is incorrect!
Returns
the index's value

Definition at line 705 of file SCR_BaseEditorAttribute.c.

◆ GetEntryFloatValue()

float GetEntryFloatValue ( int  index)
Returns
index entry's float value or 0 if the provided index is invalid

Definition at line 652 of file SCR_BaseEditorAttribute.c.

◆ GetInt()

int GetInt ( )

Definition at line 750 of file SCR_BaseEditorAttribute.c.

◆ GetSliderlabel()

string GetSliderlabel ( )

Definition at line 544 of file SCR_BaseEditorAttribute.c.

◆ GetSliderMinMaxStep()

void GetSliderMinMaxStep ( out float  min,
out float  max,
out float  step 
)
Parameters
[out]min
[out]max
[out]step

Definition at line 530 of file SCR_BaseEditorAttribute.c.

◆ GetSliderValueFormating()

string GetSliderValueFormating ( )

Get the secondary Label value.

Definition at line 574 of file SCR_BaseEditorAttribute.c.

◆ GetText() [1/2]

string GetText ( )

Definition at line 480 of file SCR_BaseEditorAttribute.c.

◆ GetText() [2/2]

string GetText ( float  value)
Parameters
value
Returns

Definition at line 552 of file SCR_BaseEditorAttribute.c.

◆ GetUsesCustomFlags()

bool GetUsesCustomFlags ( )

Definition at line 822 of file SCR_BaseEditorAttribute.c.

◆ GetValueCount()

int GetValueCount ( )
Returns

Definition at line 634 of file SCR_BaseEditorAttribute.c.

◆ GetValuesEntry()

Parameters
indexwanted value's index
Returns
the requested entry or null if the provided index is invalid

Definition at line 642 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeDefaultFloatValue()

void SCR_BaseEditorAttributeDefaultFloatValue ( float  floatValue)

Definition at line 856 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeEntrySlider()

void SCR_BaseEditorAttributeEntrySlider ( SCR_EditorAttributeBaseValues  sliderValues)

Definition at line 581 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeEntryText()

void SCR_BaseEditorAttributeEntryText ( string  text)

Definition at line 486 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeFloatStringValues()

void SCR_BaseEditorAttributeFloatStringValues ( array< ref SCR_EditorAttributeFloatStringValueHolder values)

Definition at line 627 of file SCR_BaseEditorAttribute.c.

◆ SCR_EditorAttributeEntryInt()

void SCR_EditorAttributeEntryInt ( int  value)

Definition at line 744 of file SCR_BaseEditorAttribute.c.

◆ SCR_EditorAttributeEntryStringArray()

void SCR_EditorAttributeEntryStringArray ( array< ref LocalizedString values)

Definition at line 691 of file SCR_BaseEditorAttribute.c.

◆ SCR_EditorAttributePresetMultiSelectEntry()

void SCR_EditorAttributePresetMultiSelectEntry ( int  buttonsOnRow,
bool  hasRandomizeButton,
ResourceName  iconOfRandomizeButton = string.Empty,
bool  hasIcon = false,
bool  hasButtonDescription = false,
string  buttonDescription = string.Empty,
int  buttonHeight = -1,
int  customFlags = false 
)
Parameters
buttonsOnRow
hasRandomizeButton
iconOfRandomizeButton
hasIcon
hasButtonDescription
buttonDescription
buttonHeight
customFlags

Definition at line 815 of file SCR_BaseEditorAttribute.c.

◆ SetSliderLabel()

void SetSliderLabel ( string  label)

Definition at line 538 of file SCR_BaseEditorAttribute.c.

Variable Documentation

◆ m_aValues

◆ m_bCustomFlags

◆ m_fDefaultFloatValue

SCR_EditorAttributeEntryOverride m_fDefaultFloatValue

◆ m_fMax

protected float m_fMax

Definition at line 520 of file SCR_BaseEditorAttribute.c.

◆ m_fMin

◆ m_fStep

protected float m_fStep

Definition at line 521 of file SCR_BaseEditorAttribute.c.

◆ m_iValue

◆ m_sDecimals

protected int m_sDecimals

Definition at line 522 of file SCR_BaseEditorAttribute.c.

◆ m_sSliderLabel

protected string m_sSliderLabel

Definition at line 524 of file SCR_BaseEditorAttribute.c.

◆ m_sSliderValueFormating

protected string m_sSliderValueFormating

Definition at line 523 of file SCR_BaseEditorAttribute.c.

◆ m_sText

class SCR_BaseEditorAttribute m_sText