Navigation
API > API/Runtime > API/Runtime/Engine
Warnings * modifying control channel messages breaks network compatibility (update GEngineMinNetVersion)
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()
: modifying control channel messages breaks network compatibility (update GEngineMinNetVersion)
| Name | FNetControlMessage |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/DataChannel.h |
| Include Path | #include "Net/DataChannel.h" |
Syntax
template<uint8 MessageType>
class FNetControlMessage