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

Show list of reported mods and provide option to cancel reports. More...

Inheritance diagram for SCR_ReportedAddonsDialog:
SCR_AddonListDialog

Protected Member Functions

override void OnMenuOpen (SCR_ConfigurableDialogUiPreset preset)
void SetupReports ()
override void OnConfirm ()
SCR_ModularButtonComponent CreateEntry (string name, string message)
 Create entry with specific reported author.
void CreateAddonEntry (notnull SCR_WorkshopItem item)
 Create addon entry with message based on type.
void OnAddonEntrySelected (SCR_ModularButtonComponent button)
void OnAddonReportLoadSuccess (SCR_WorkshopItem item)
void OnAddonReportLoadError (SCR_WorkshopItem item)
void CreateAuthorEntry (notnull WorkshopAuthor author)
 Create entry with reported author.
void OnAuthorEntrySelected (SCR_ModularButtonComponent button)
void OnCancelReport ()
void AuthorBlockCancelDialog ()
void OnAuthorReportLoadResponse ()
void OnAuthorReportLoadError ()
void OpenAuthorModsDialog (WorkshopAuthor author)
void OnConfirmRemoveAuthorBlock (SCR_ConfigurableDialogUi dialog)
void OnRemoveAuthorBlockResponse ()
void OnRemoveAuthorBlockError ()
void OnReportDialogClose (SCR_ConfigurableDialogUi dialog)
 Call this on closing any report dialog to set repot list focus.
void DisplayReportCancelSuccess (notnull SCR_ModularButtonComponent button)
void AllButtonsCanceled ()
void OnCancelRemoveAuthorReport (SCR_ConfigurableDialogUi dialog)
void OnAddonLineFocus (SCR_ModularButtonComponent button)
 Show details of addon line report when focused.
void OnCancelReportActived ()
 Start to canceling report of currently focused mod.
void OnCancelReportConfirm (SCR_ConfigurableDialogUi dialog)
void OnCancelReportSuccess (SCR_WorkshopItemActionCancelReport action)
void OnCancelReportFail (SCR_WorkshopItemActionCancelReport action)
void OnCancelReportDialog (SCR_ConfigurableDialogUi dialog)
void FocusTopLine ()
void InvokeOnAllReportsCanceled ()
ScriptInvoker GetOnAllReportsCanceled ()

Protected Attributes

const ResourceName LINE_LAYOUT = "{6D73127FB096229D}UI/layouts/Menus/ContentBrowser/DownloadManager/ReportedAddonEntry.layout"
const ResourceName DIALOGS_CONFIG = "{ADEA32EB841E8629}Configs/ContentBrowser/ContentBrowserReportDialogs.conf"
const string AUTHOR_REPORT_TAG = "report_author"
const string AUTHOR_UNBLOCK_TAG = "unblock_author_simple"
const string MSG_AUTHOR = "#AR-Workshop_FilterCategory_Author"
const string STR_FIXED_REPORT = "#AR-Workshop_Dialog_Success"
const string UNBLOCK_AUTHOR_MESSAGE = "#AR-Workshop_CancelAuthorReport"
const string WIDGET_DETAIL = "TxtDetailType"
const string WIDGET_MESSAGE = "TxtDetailMessage"
const string BUTTON_CANCEL_REPORT = "cancelReport"
const int AUTHOR_MOD_LIMIT = 20
ref ScriptInvoker< SCR_ReportedAddonsDialogEvent_OnAllReportsCanceled
bool m_bBlocked
TextWidget m_wTxtType
TextWidget m_wTxtMessage
SCR_InputButtonComponent m_NavCancelReport
Widget m_wList
SCR_LoadingOverlayDialog m_LoadingOvelay
ref SCR_CancelMyReportDialog m_DialogCancelReport
SCR_ModularButtonComponent m_LineFocused
ref map< SCR_ModularButtonComponent, SCR_WorkshopItemm_mButtonsItems
ref map< SCR_ModularButtonComponent, WorkshopAuthorm_mButtonsAuthors
WorkshopAuthor m_LoadingAuthor
ref BackendCallback m_ReportCallback = new BackendCallback()

Detailed Description

Show list of reported mods and provide option to cancel reports.

Definition at line 3 of file SCR_ReportedAddonsDialog.c.

Member Function Documentation

◆ AllButtonsCanceled()

void SCR_ReportedAddonsDialog::AllButtonsCanceled ( )
inlineprotected

Definition at line 380 of file SCR_ReportedAddonsDialog.c.

◆ AuthorBlockCancelDialog()

void SCR_ReportedAddonsDialog::AuthorBlockCancelDialog ( )
inlineprotected

Definition at line 267 of file SCR_ReportedAddonsDialog.c.

◆ CreateAddonEntry()

void SCR_ReportedAddonsDialog::CreateAddonEntry ( notnull SCR_WorkshopItem item)
inlineprotected

Create addon entry with message based on type.

Definition at line 147 of file SCR_ReportedAddonsDialog.c.

◆ CreateAuthorEntry()

void SCR_ReportedAddonsDialog::CreateAuthorEntry ( notnull WorkshopAuthor author)
inlineprotected

Create entry with reported author.

Definition at line 217 of file SCR_ReportedAddonsDialog.c.

◆ CreateEntry()

SCR_ModularButtonComponent SCR_ReportedAddonsDialog::CreateEntry ( string name,
string message )
inlineprotected

Create entry with specific reported author.

Definition at line 123 of file SCR_ReportedAddonsDialog.c.

◆ DisplayReportCancelSuccess()

void SCR_ReportedAddonsDialog::DisplayReportCancelSuccess ( notnull SCR_ModularButtonComponent button)
inlineprotected

Definition at line 362 of file SCR_ReportedAddonsDialog.c.

◆ FocusTopLine()

void SCR_ReportedAddonsDialog::FocusTopLine ( )
inlineprotected

Definition at line 466 of file SCR_ReportedAddonsDialog.c.

◆ GetOnAllReportsCanceled()

ScriptInvoker SCR_ReportedAddonsDialog::GetOnAllReportsCanceled ( )
inlineprotected

Definition at line 503 of file SCR_ReportedAddonsDialog.c.

◆ InvokeOnAllReportsCanceled()

void SCR_ReportedAddonsDialog::InvokeOnAllReportsCanceled ( )
inlineprotected

Definition at line 494 of file SCR_ReportedAddonsDialog.c.

◆ OnAddonEntrySelected()

void SCR_ReportedAddonsDialog::OnAddonEntrySelected ( SCR_ModularButtonComponent button)
inlineprotected

Definition at line 161 of file SCR_ReportedAddonsDialog.c.

◆ OnAddonLineFocus()

void SCR_ReportedAddonsDialog::OnAddonLineFocus ( SCR_ModularButtonComponent button)
inlineprotected

Show details of addon line report when focused.

Definition at line 402 of file SCR_ReportedAddonsDialog.c.

◆ OnAddonReportLoadError()

void SCR_ReportedAddonsDialog::OnAddonReportLoadError ( SCR_WorkshopItem item)
inlineprotected

Definition at line 201 of file SCR_ReportedAddonsDialog.c.

◆ OnAddonReportLoadSuccess()

void SCR_ReportedAddonsDialog::OnAddonReportLoadSuccess ( SCR_WorkshopItem item)
inlineprotected

Definition at line 180 of file SCR_ReportedAddonsDialog.c.

◆ OnAuthorEntrySelected()

void SCR_ReportedAddonsDialog::OnAuthorEntrySelected ( SCR_ModularButtonComponent button)
inlineprotected

Definition at line 227 of file SCR_ReportedAddonsDialog.c.

◆ OnAuthorReportLoadError()

void SCR_ReportedAddonsDialog::OnAuthorReportLoadError ( )
inlineprotected

Definition at line 286 of file SCR_ReportedAddonsDialog.c.

◆ OnAuthorReportLoadResponse()

void SCR_ReportedAddonsDialog::OnAuthorReportLoadResponse ( )
inlineprotected

Definition at line 279 of file SCR_ReportedAddonsDialog.c.

◆ OnCancelRemoveAuthorReport()

void SCR_ReportedAddonsDialog::OnCancelRemoveAuthorReport ( SCR_ConfigurableDialogUi dialog)
inlineprotected

Definition at line 390 of file SCR_ReportedAddonsDialog.c.

◆ OnCancelReport()

void SCR_ReportedAddonsDialog::OnCancelReport ( )
inlineprotected

Definition at line 254 of file SCR_ReportedAddonsDialog.c.

◆ OnCancelReportActived()

void SCR_ReportedAddonsDialog::OnCancelReportActived ( )
inlineprotected

Start to canceling report of currently focused mod.

Definition at line 413 of file SCR_ReportedAddonsDialog.c.

◆ OnCancelReportConfirm()

void SCR_ReportedAddonsDialog::OnCancelReportConfirm ( SCR_ConfigurableDialogUi dialog)
inlineprotected

Definition at line 428 of file SCR_ReportedAddonsDialog.c.

◆ OnCancelReportDialog()

void SCR_ReportedAddonsDialog::OnCancelReportDialog ( SCR_ConfigurableDialogUi dialog)
inlineprotected

Definition at line 458 of file SCR_ReportedAddonsDialog.c.

◆ OnCancelReportFail()

void SCR_ReportedAddonsDialog::OnCancelReportFail ( SCR_WorkshopItemActionCancelReport action)
inlineprotected

Definition at line 450 of file SCR_ReportedAddonsDialog.c.

◆ OnCancelReportSuccess()

void SCR_ReportedAddonsDialog::OnCancelReportSuccess ( SCR_WorkshopItemActionCancelReport action)
inlineprotected

Definition at line 438 of file SCR_ReportedAddonsDialog.c.

◆ OnConfirm()

override void SCR_ReportedAddonsDialog::OnConfirm ( )
inlineprotected

Definition at line 111 of file SCR_ReportedAddonsDialog.c.

◆ OnConfirmRemoveAuthorBlock()

void SCR_ReportedAddonsDialog::OnConfirmRemoveAuthorBlock ( SCR_ConfigurableDialogUi dialog)
inlineprotected

Definition at line 321 of file SCR_ReportedAddonsDialog.c.

◆ OnMenuOpen()

override void SCR_ReportedAddonsDialog::OnMenuOpen ( SCR_ConfigurableDialogUiPreset preset)
inlineprotected

Definition at line 50 of file SCR_ReportedAddonsDialog.c.

◆ OnRemoveAuthorBlockError()

void SCR_ReportedAddonsDialog::OnRemoveAuthorBlockError ( )
inlineprotected

Definition at line 347 of file SCR_ReportedAddonsDialog.c.

◆ OnRemoveAuthorBlockResponse()

void SCR_ReportedAddonsDialog::OnRemoveAuthorBlockResponse ( )
inlineprotected

Definition at line 333 of file SCR_ReportedAddonsDialog.c.

◆ OnReportDialogClose()

void SCR_ReportedAddonsDialog::OnReportDialogClose ( SCR_ConfigurableDialogUi dialog)
inlineprotected

Call this on closing any report dialog to set repot list focus.

Definition at line 355 of file SCR_ReportedAddonsDialog.c.

◆ OpenAuthorModsDialog()

void SCR_ReportedAddonsDialog::OpenAuthorModsDialog ( WorkshopAuthor author)
inlineprotected

Definition at line 292 of file SCR_ReportedAddonsDialog.c.

◆ SetupReports()

void SCR_ReportedAddonsDialog::SetupReports ( )
inlineprotected

Check report state and setup entries data Search for reported author

Definition at line 76 of file SCR_ReportedAddonsDialog.c.

Member Data Documentation

◆ AUTHOR_MOD_LIMIT

const int SCR_ReportedAddonsDialog::AUTHOR_MOD_LIMIT = 20
protected

Definition at line 20 of file SCR_ReportedAddonsDialog.c.

◆ AUTHOR_REPORT_TAG

const string SCR_ReportedAddonsDialog::AUTHOR_REPORT_TAG = "report_author"
protected

Definition at line 8 of file SCR_ReportedAddonsDialog.c.

◆ AUTHOR_UNBLOCK_TAG

const string SCR_ReportedAddonsDialog::AUTHOR_UNBLOCK_TAG = "unblock_author_simple"
protected

Definition at line 9 of file SCR_ReportedAddonsDialog.c.

◆ BUTTON_CANCEL_REPORT

const string SCR_ReportedAddonsDialog::BUTTON_CANCEL_REPORT = "cancelReport"
protected

Definition at line 18 of file SCR_ReportedAddonsDialog.c.

◆ DIALOGS_CONFIG

const ResourceName SCR_ReportedAddonsDialog::DIALOGS_CONFIG = "{ADEA32EB841E8629}Configs/ContentBrowser/ContentBrowserReportDialogs.conf"
protected

Definition at line 6 of file SCR_ReportedAddonsDialog.c.

◆ Event_OnAllReportsCanceled

ref ScriptInvoker<SCR_ReportedAddonsDialog> SCR_ReportedAddonsDialog::Event_OnAllReportsCanceled
protected

Definition at line 22 of file SCR_ReportedAddonsDialog.c.

◆ LINE_LAYOUT

const ResourceName SCR_ReportedAddonsDialog::LINE_LAYOUT = "{6D73127FB096229D}UI/layouts/Menus/ContentBrowser/DownloadManager/ReportedAddonEntry.layout"
protected

Definition at line 5 of file SCR_ReportedAddonsDialog.c.

◆ m_bBlocked

bool SCR_ReportedAddonsDialog::m_bBlocked
protected

Definition at line 23 of file SCR_ReportedAddonsDialog.c.

◆ m_DialogCancelReport

ref SCR_CancelMyReportDialog SCR_ReportedAddonsDialog::m_DialogCancelReport
protected

Definition at line 32 of file SCR_ReportedAddonsDialog.c.

◆ m_LineFocused

SCR_ModularButtonComponent SCR_ReportedAddonsDialog::m_LineFocused
protected

Definition at line 35 of file SCR_ReportedAddonsDialog.c.

◆ m_LoadingAuthor

WorkshopAuthor SCR_ReportedAddonsDialog::m_LoadingAuthor
protected

Definition at line 42 of file SCR_ReportedAddonsDialog.c.

◆ m_LoadingOvelay

SCR_LoadingOverlayDialog SCR_ReportedAddonsDialog::m_LoadingOvelay
protected

Definition at line 31 of file SCR_ReportedAddonsDialog.c.

◆ m_mButtonsAuthors

ref map<SCR_ModularButtonComponent, WorkshopAuthor> SCR_ReportedAddonsDialog::m_mButtonsAuthors
protected

Definition at line 40 of file SCR_ReportedAddonsDialog.c.

◆ m_mButtonsItems

ref map<SCR_ModularButtonComponent, SCR_WorkshopItem> SCR_ReportedAddonsDialog::m_mButtonsItems
protected

Definition at line 39 of file SCR_ReportedAddonsDialog.c.

◆ m_NavCancelReport

SCR_InputButtonComponent SCR_ReportedAddonsDialog::m_NavCancelReport
protected

Definition at line 28 of file SCR_ReportedAddonsDialog.c.

◆ m_ReportCallback

ref BackendCallback SCR_ReportedAddonsDialog::m_ReportCallback = new BackendCallback()
protected

Definition at line 43 of file SCR_ReportedAddonsDialog.c.

◆ m_wList

Widget SCR_ReportedAddonsDialog::m_wList
protected

Definition at line 29 of file SCR_ReportedAddonsDialog.c.

◆ m_wTxtMessage

TextWidget SCR_ReportedAddonsDialog::m_wTxtMessage
protected

Definition at line 27 of file SCR_ReportedAddonsDialog.c.

◆ m_wTxtType

TextWidget SCR_ReportedAddonsDialog::m_wTxtType
protected

Definition at line 26 of file SCR_ReportedAddonsDialog.c.

◆ MSG_AUTHOR

const string SCR_ReportedAddonsDialog::MSG_AUTHOR = "#AR-Workshop_FilterCategory_Author"
protected

Definition at line 11 of file SCR_ReportedAddonsDialog.c.

◆ STR_FIXED_REPORT

const string SCR_ReportedAddonsDialog::STR_FIXED_REPORT = "#AR-Workshop_Dialog_Success"
protected

Definition at line 12 of file SCR_ReportedAddonsDialog.c.

◆ UNBLOCK_AUTHOR_MESSAGE

const string SCR_ReportedAddonsDialog::UNBLOCK_AUTHOR_MESSAGE = "#AR-Workshop_CancelAuthorReport"
protected

Definition at line 13 of file SCR_ReportedAddonsDialog.c.

◆ WIDGET_DETAIL

const string SCR_ReportedAddonsDialog::WIDGET_DETAIL = "TxtDetailType"
protected

Definition at line 15 of file SCR_ReportedAddonsDialog.c.

◆ WIDGET_MESSAGE

const string SCR_ReportedAddonsDialog::WIDGET_MESSAGE = "TxtDetailMessage"
protected

Definition at line 16 of file SCR_ReportedAddonsDialog.c.


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