DIFF

class ContentDLCStorePrompt

ContentDLCStorePrompt › UIScriptedMenu › UIMenuPanel › Managed

Informs the player that a DLC is missing and opens the platform store once the warning has been confirmed.

Members 3

protected static ref ContentDLCStorePrompt m_Instance
Referenced by OpenStore(), and WarnAndOpenStore()
protected EDLCId m_DLCId
Referenced by OnModalResult(), and ShowWarning()
protected int m_DialogId
Referenced by OnModalResult(), and ShowWarning()

Methods 4

static void WarnAndOpenStore(EDLCId dlcId)

Warns the player about the missing DLC, the store is opened once the warning is confirmed.

dlcId
ID of the DLC the player does not own
protected static void OpenStore(EDLCId dlcId)

Runs from the call queue, so the prompt is released outside of the modal callback

override bool OnModalResult(Widget w, int x, int y, int code, int result)