Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_Credits Interface Reference
Inheritance diagram for SCR_Credits:
[legend]

Public Member Functions

override void OnMenuOpen ()
 
void StartCredits ()
 
void ChangeBackground ()
 
void ShowNames (int departments, int names)
 
void HideNames (int departments, int names)
 
void EndCredits ()
 
void OnLicenses ()
 
- Public Member Functions inherited from ChimeraMenuBase
override void OnMenuInit ()
 
override void OnMenuUpdate (float tDelta)
 
override void OnMenuOpen ()
 
override void OnMenuOpened ()
 
override void OnMenuClose ()
 
override void OnMenuFocusGained ()
 
override void OnMenuFocusLost ()
 
override void OnMenuShow ()
 
override void OnMenuHide ()
 

Protected Attributes

ResourceName m_sNamesLists = "{3D0DE92D54AEA7D9}Configs/Credits/credits.conf"
 
ResourceName m_sMusicFile = "{27FAA69A3BD0473C}Sounds/Music/Ingame/Samples/MU_MilitaryBasePositive_BEYOND THE VEIL v2.wav"
 
Widget m_wFooter
 
Widget m_wCreditsMain
 
ImageWidget m_wBackgroundImage
 
ImageWidget m_wSideVignette
 
TextWidget m_wCreditsText
 
ref array< ref RichTextWidget > m_aDepartments = {}
 
ref array< ref RichTextWidget > m_aNames = {}
 
bool m_bLastCycle
 
RichTextWidget m_wLastDepartment
 
RichTextWidget m_wLastText
 
- Protected Attributes inherited from ChimeraMenuBase
bool m_bTextEditActive = false
 

Static Protected Attributes

const int NUMBER_OF_TEXTWIDGETS = 6
 
const int NAME_TIMEOUT = 5000
 
const int NAME_CHANGE_DELAY = 3000
 
const float NAME_ANIMATION_TIME = 0.5
 
const float NAME_ANIMATION_CREDITS = 0.6
 
const int BACKGROUND_CHANGE_INTERVAL = 10000
 
static const ref array< int > PAGE_NAME_SIZE = { 14, 12, 10, 9, 8, 7, 7 }
 
- Static Protected Attributes inherited from ChimeraMenuBase
const string INPUT_CONTEXT_EDIT = "MenuTextEditContext"
 
static ChimeraMenuBase m_ThisMenu
 

Additional Inherited Members

- Static Public Member Functions inherited from ChimeraMenuBase
static ChimeraMenuBase CurrentChimeraMenu ()
 
static ChimeraMenuBase GetOwnerMenu (Widget w)
 Returns parent menu of a widget.
 
- Public Attributes inherited from ChimeraMenuBase
ref ScriptInvoker m_OnTextEditContextChange = new ScriptInvoker
 
ref ScriptInvoker m_OnUpdate = new ScriptInvoker
 

Member Function Documentation

◆ ChangeBackground()

void SCR_Credits.ChangeBackground ( )

◆ EndCredits()

void SCR_Credits.EndCredits ( )

◆ HideNames()

void SCR_Credits.HideNames ( int  departments,
int  names 
)

◆ OnLicenses()

void SCR_Credits.OnLicenses ( )

◆ OnMenuOpen()

override void SCR_Credits.OnMenuOpen ( )

Implements ChimeraMenuBase.

◆ ShowNames()

void SCR_Credits.ShowNames ( int  departments,
int  names 
)

◆ StartCredits()

void SCR_Credits.StartCredits ( )

Member Data Documentation

◆ BACKGROUND_CHANGE_INTERVAL

const int SCR_Credits.BACKGROUND_CHANGE_INTERVAL = 10000
staticprotected

◆ m_aDepartments

ref array<ref RichTextWidget> SCR_Credits.m_aDepartments = {}
protected

◆ m_aNames

ref array<ref RichTextWidget> SCR_Credits.m_aNames = {}
protected

◆ m_bLastCycle

bool SCR_Credits.m_bLastCycle
protected

◆ m_sMusicFile

ResourceName SCR_Credits.m_sMusicFile = "{27FAA69A3BD0473C}Sounds/Music/Ingame/Samples/MU_MilitaryBasePositive_BEYOND THE VEIL v2.wav"
protected

◆ m_sNamesLists

ResourceName SCR_Credits.m_sNamesLists = "{3D0DE92D54AEA7D9}Configs/Credits/credits.conf"
protected

◆ m_wBackgroundImage

ImageWidget SCR_Credits.m_wBackgroundImage
protected

◆ m_wCreditsMain

Widget SCR_Credits.m_wCreditsMain
protected

◆ m_wCreditsText

TextWidget SCR_Credits.m_wCreditsText
protected

◆ m_wFooter

Widget SCR_Credits.m_wFooter
protected

◆ m_wLastDepartment

RichTextWidget SCR_Credits.m_wLastDepartment
protected

◆ m_wLastText

RichTextWidget SCR_Credits.m_wLastText
protected

◆ m_wSideVignette

ImageWidget SCR_Credits.m_wSideVignette
protected

◆ NAME_ANIMATION_CREDITS

const float SCR_Credits.NAME_ANIMATION_CREDITS = 0.6
staticprotected

◆ NAME_ANIMATION_TIME

const float SCR_Credits.NAME_ANIMATION_TIME = 0.5
staticprotected

◆ NAME_CHANGE_DELAY

const int SCR_Credits.NAME_CHANGE_DELAY = 3000
staticprotected

◆ NAME_TIMEOUT

const int SCR_Credits.NAME_TIMEOUT = 5000
staticprotected

◆ NUMBER_OF_TEXTWIDGETS

const int SCR_Credits.NUMBER_OF_TEXTWIDGETS = 6
staticprotected

◆ PAGE_NAME_SIZE

const ref array<int> SCR_Credits.PAGE_NAME_SIZE = { 14, 12, 10, 9, 8, 7, 7 }
staticprotected

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