Arma Reforger Script API
|
Public Member Functions | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
override void | UpdateModularButtons () |
override bool | SetFavorite (bool favorite) |
override void | OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip) |
void | NotifyScenarioUpdate (bool itemDownloaded) |
Must be called when the scenario properties have been updated (set/clear favourite or similar) | |
void | SetScenario (MissionWorkshopItem mission) |
MissionWorkshopItem | GetScenario () |
Public Member Functions inherited from SCR_BrowserListMenuEntryComponent | |
override void | HandlerAttached (Widget w) |
override void | UpdateModularButtons () |
bool | SetFavorite (bool favorite) |
bool | IsFavorite () |
ScriptInvokerBrowserListMenuEntry | GetOnFavorite () |
Public Member Functions inherited from SCR_ListMenuEntryComponent | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
override bool | OnDoubleClick (Widget w, int x, int y, int button) |
override bool | OnFocus (Widget w, int x, int y) |
override bool | OnFocusLost (Widget w, int x, int y) |
override bool | OnMouseEnter (Widget w, int x, int y) |
void | AnimateOpacity (int delay, float animationTime, float opacityEnd, float opacityStart=-1) |
Animate whole widget opacity. | |
bool | IsInnerButtonInteraction () |
bool | IsFocused () |
bool | IsAvailable () |
ScriptInvokerString | GetOnMouseInteractionButtonClicked () |
ScriptInvokerScriptedWidgetComponent | GetOnFocus () |
ScriptInvokerScriptedWidgetComponent | GetOnFocusLost () |
ScriptInvokerScriptedWidgetComponent | GetOnMouseEnter () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Static Public Member Functions | |
static SCR_ContentBrowser_ScenarioLineComponent | FindComponent (Widget w) |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
Protected Member Functions | |
void | UpdateAllWidgets () |
void | OnPlay () |
void | OnContinue () |
void | OnRestart () |
void | OnHost () |
void | OnFindServers () |
void | OnCommStatusCheckFinished (SCR_ECommStatus status, float responseTime, float lastSuccessTime, float lastFailTime) |
Protected Member Functions inherited from SCR_BrowserListMenuEntryComponent | |
void | OnFavoriteClicked (SCR_ModularButtonComponent comp) |
Protected Member Functions inherited from SCR_ListMenuEntryComponent | |
void | OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip) |
void | OnInnerButtonHover () |
void | OnInnerButtonLeave () |
void | EnableTextAnimations (bool enable) |
Apply behavior on all potentially longer entry text. | |
void | HandleTextAnimation (SCR_HorizontalScrollAnimationComponent anim, bool enable) |
Handle animation enabled-disabling enable = false restarts positions. | |
void | UpdateModularButtons () |
void | OpacityAnimation (int time, float opacityEnd) |
Static Protected Attributes | |
const string | MOD_ICON = "modIcon" |
Static Protected Attributes inherited from SCR_BrowserListMenuEntryComponent | |
static const string | BUTTON_FAVORITE = "FavoriteButton" |
Additional Inherited Members | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
|
static |
MissionWorkshopItem SCR_ContentBrowser_ScenarioLineComponent.GetScenario | ( | ) |
override void SCR_ContentBrowser_ScenarioLineComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_BrowserListMenuEntryComponent.
override void SCR_ContentBrowser_ScenarioLineComponent.HandlerDeattached | ( | Widget | w | ) |
Implements SCR_ListMenuEntryComponent.
void SCR_ContentBrowser_ScenarioLineComponent.NotifyScenarioUpdate | ( | bool | itemDownloaded | ) |
Must be called when the scenario properties have been updated (set/clear favourite or similar)
|
protected |
|
protected |
|
protected |
|
protected |
Implemented in SCR_ContentBrowser_GMSaveLineComponent.
|
protected |
Implemented in SCR_ContentBrowser_GMSaveLineComponent.
|
protected |
Implemented in SCR_ContentBrowser_GMSaveLineComponent.
override void SCR_ContentBrowser_ScenarioLineComponent.OnTooltipShow | ( | SCR_ScriptedWidgetTooltip | tooltip | ) |
Implements SCR_ListMenuEntryComponent.
override bool SCR_ContentBrowser_ScenarioLineComponent.SetFavorite | ( | bool | favorite | ) |
Implements SCR_BrowserListMenuEntryComponent.
Implemented in SCR_ContentBrowser_GMSaveLineComponent.
void SCR_ContentBrowser_ScenarioLineComponent.SetScenario | ( | MissionWorkshopItem | mission | ) |
Implemented in SCR_ContentBrowser_GMSaveLineComponent.
|
protected |
Name
Game mode
Type/player count
Last played time text
Source addon
Modular buttons
Implemented in SCR_ContentBrowser_GMSaveLineComponent.
override void SCR_ContentBrowser_ScenarioLineComponent.UpdateModularButtons | ( | ) |
Implements SCR_BrowserListMenuEntryComponent.
Implemented in SCR_ContentBrowser_GMSaveLineComponent.
|
protected |
|
protected |
|
protected |
|
staticprotected |