Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseEditorAttribute.c File Reference

Go to the source code of this file.

Classes

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.
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
float m_fMax
float m_fStep
int m_sDecimals
string m_sSliderValueFormating
string m_sSliderLabel
SCR_BaseEditorAttributeEntryTimeSlider m_aValues
SCR_EditorAttributeEntryIntArray m_iValue
SCR_EditorAttributePresetEntry m_bCustomFlags
SCR_EditorAttributeEntryOverride m_fDefaultFloatValue

Function Documentation

◆ GetCount()

int GetCount ( )
protected

Definition at line 704 of file SCR_BaseEditorAttribute.c.

◆ GetDefaultFloatValue()

float GetDefaultFloatValue ( )
protected

Definition at line 869 of file SCR_BaseEditorAttribute.c.

◆ GetEntry()

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

Definition at line 712 of file SCR_BaseEditorAttribute.c.

◆ GetEntryFloatValue()

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

Definition at line 659 of file SCR_BaseEditorAttribute.c.

◆ GetInt()

int GetInt ( )
protected

Definition at line 757 of file SCR_BaseEditorAttribute.c.

◆ GetSliderlabel()

string GetSliderlabel ( )
protected

Definition at line 552 of file SCR_BaseEditorAttribute.c.

◆ GetSliderMinMaxStep()

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

Definition at line 538 of file SCR_BaseEditorAttribute.c.

◆ GetSliderValueFormating()

string GetSliderValueFormating ( )
protected

Get the secondary Label value.

Definition at line 582 of file SCR_BaseEditorAttribute.c.

◆ GetText() [1/2]

string GetText ( )

Definition at line 488 of file SCR_BaseEditorAttribute.c.

◆ GetText() [2/2]

string GetText ( float value)
protected
Parameters
value
Returns

Definition at line 560 of file SCR_BaseEditorAttribute.c.

◆ GetUsesCustomFlags()

bool GetUsesCustomFlags ( )
protected

Definition at line 829 of file SCR_BaseEditorAttribute.c.

◆ GetValueCount()

int GetValueCount ( )
protected
Returns

Definition at line 641 of file SCR_BaseEditorAttribute.c.

◆ GetValuesEntry()

SCR_EditorAttributeFloatStringValueHolder GetValuesEntry ( int index)
protected
Parameters
indexwanted value's index
Returns
the requested entry or null if the provided index is invalid

Definition at line 649 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeDefaultFloatValue()

void SCR_BaseEditorAttributeDefaultFloatValue ( float floatValue)
protected

Definition at line 863 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeEntrySlider()

void SCR_BaseEditorAttributeEntrySlider ( SCR_EditorAttributeBaseValues sliderValues)
protected

Definition at line 589 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeEntryText()

void SCR_BaseEditorAttributeEntryText ( string text)

Definition at line 494 of file SCR_BaseEditorAttribute.c.

◆ SCR_BaseEditorAttributeFloatStringValues()

void SCR_BaseEditorAttributeFloatStringValues ( array< ref SCR_EditorAttributeFloatStringValueHolder > values)
protected

Definition at line 634 of file SCR_BaseEditorAttribute.c.

◆ SCR_EditorAttributeEntryInt()

void SCR_EditorAttributeEntryInt ( int value)
protected

Definition at line 751 of file SCR_BaseEditorAttribute.c.

◆ SCR_EditorAttributeEntryStringArray()

void SCR_EditorAttributeEntryStringArray ( array< ref LocalizedString > values)
protected

Definition at line 698 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 )
protected
Parameters
buttonsOnRow
hasRandomizeButton
iconOfRandomizeButton
hasIcon
hasButtonDescription
buttonDescription
buttonHeight
customFlags

Definition at line 822 of file SCR_BaseEditorAttribute.c.

◆ SetSliderLabel()

void SetSliderLabel ( string label)
protected

Definition at line 546 of file SCR_BaseEditorAttribute.c.

Variable Documentation

◆ m_aValues

SCR_EditorAttributeEntryBool m_aValues
protected

◆ m_bCustomFlags

SCR_EditorAttributePresetEntry m_bCustomFlags
protected

◆ m_fDefaultFloatValue

SCR_EditorAttributeEntryOverride m_fDefaultFloatValue
protected

◆ m_fMax

float m_fMax
protected

Definition at line 528 of file SCR_BaseEditorAttribute.c.

◆ m_fMin

◆ m_fStep

float m_fStep
protected

Definition at line 529 of file SCR_BaseEditorAttribute.c.

◆ m_iValue

◆ m_sDecimals

int m_sDecimals
protected

Definition at line 530 of file SCR_BaseEditorAttribute.c.

◆ m_sSliderLabel

string m_sSliderLabel
protected

Definition at line 532 of file SCR_BaseEditorAttribute.c.

◆ m_sSliderValueFormating

string m_sSliderValueFormating
protected

Definition at line 531 of file SCR_BaseEditorAttribute.c.

◆ m_sText

class SCR_BaseEditorAttribute m_sText