Network Test Widget

You can verify connection checking, monitoring status, and popup messages by using the pre-built Parent Class or making a custom Blueprint testing panel.

Option A: Pre-Built Test Panel (DztfixNetworkCheckTestWidget)

The plugin contains a pre-built Parent Class called DztfixNetworkCheckTestWidget. Inheriting your Widget Blueprint from this class creates a complete testing control panel with zero manual node setup.

How to Use It

  1. Create a new Widget Blueprint in the Content Browser.
  2. Search for DztfixNetworkCheckTestWidget in the Parent Class selection box.
  3. Create and open the widget. Add it to the screen (Viewport) using the Create Widget and Add to Viewport nodes in your Level Blueprint or Character Blueprint.

Automatic Layout Elements

When this widget is added, it automatically displays:

  • Status Text Box: Shows live log summaries of subsystem responses (e.g. check outcomes, ping times, error descriptions).
  • Five Automated Test Buttons:
    • Check Internet: Triggers a manual one-time HTTP ping.
    • Start Monitoring: Begins background network loss monitoring.
    • Stop Monitoring: Terminates periodic background checks.
    • Show Reconnect Message: Tests the display of the reconnect popup.
    • Hide Reconnect Message: Dismisses the reconnect popup.
  • Integrated Reconnect Screen: An instance of DztfixNetworkReconnectWidget is pre-configured and spawned inside the panel automatically to let you test popup behaviors.

Option B: Custom Manual Test Widget

To build a test panel manually using the UMG Designer, inherit from UserWidget and add the buttons and events below.

Designer Structure

Widget Blueprint: WBP_DztfixNetworkCheckTest Parent Class: UserWidget Text Block: Log Button: BTN_CheckInternet Button: BTN_StartMonitoring Button: BTN_StopMonitoring Button: BTN_ShowReconnectMessage Button: BTN_HideReconnectMessage

Button Click Bindings

Check Internet

Set Text Log = "Checking internet..." Check Internet Connection

Start Monitoring

Start Network Monitoring Set Text Log = "Monitoring started"

Stop Monitoring

Stop Network Monitoring Set Text Log = "Monitoring stopped"

Show Reconnect Message

WBP_NetworkPopup Set Visibility Visible Set Text Log = "Reconnect message shown"

Hide Reconnect Message

WBP_NetworkPopup Set Visibility Hidden Set Text Log = "Reconnect message hidden"

Subsystem Binding in Graph

Event Construct
Bind to updates
Get Dztfix Network Check
Access subsystemSubsystem Ref
Bind Event to On Connection Check Completed
Route to Log updater event
Custom Event: EV_CheckCompleted
Update Log text with result details