UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetControlMessage< MessageType > Class Template Reference

#include <DataChannel.h>

Detailed Description

template<uint8 MessageType>
class FNetControlMessage< MessageType >

network control channel message types

to add a new message type, you need to:

  • add a DEFINE_CONTROL_CHANNEL_MESSAGE for the message type with the appropriate parameters to this file
  • add IMPLEMENT_CONTROL_CHANNEL_MESSAGE for the message type to DataChannel.cpp
  • implement the fallback behavior (eat an unparsed message) to UControlChannel::ReceivedBunch()
Warning
: modifying control channel messages breaks network compatibility (update GEngineMinNetVersion)

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