diff --git a/Source/Engine/Networking/NetworkEvent.h b/Source/Engine/Networking/NetworkEvent.h index d61bd9ae9..5063fcb01 100644 --- a/Source/Engine/Networking/NetworkEvent.h +++ b/Source/Engine/Networking/NetworkEvent.h @@ -52,6 +52,7 @@ public: /// /// The message when this event is an "message" event - not valid in any other cases. + /// If this is an message-event, make sure to return the message using RecycleMessage function of the peer after processing it! /// API_FIELD(); NetworkMessage Message; diff --git a/Source/Engine/Networking/NetworkPeer.h b/Source/Engine/Networking/NetworkPeer.h index d66aaf5a1..fc8f0c8b2 100644 --- a/Source/Engine/Networking/NetworkPeer.h +++ b/Source/Engine/Networking/NetworkPeer.h @@ -76,6 +76,7 @@ public: /// /// The reference to event structure. /// True when succeeded and the event can be processed. + /// If this returns message event, make sure to recycle the message using function after processing it! API_FUNCTION() bool PopEvent(API_PARAM(out) NetworkEvent& eventRef);