From 1bd895de05f22a543d310ae19b2e02481b51bc78 Mon Sep 17 00:00:00 2001 From: Fabian Terhorst Date: Wed, 25 Sep 2024 08:27:38 +0200 Subject: [PATCH] fix(net-packet): remove limit of server -> client event --- code/components/net-packet/include/NetEvent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/components/net-packet/include/NetEvent.h b/code/components/net-packet/include/NetEvent.h index 64ad24dc5f..38e9a777ff 100644 --- a/code/components/net-packet/include/NetEvent.h +++ b/code/components/net-packet/include/NetEvent.h @@ -17,7 +17,7 @@ class ServerClientEvent : public SerializableComponent SerializableProperty sourceNetId{ static_cast(-1) }; // todo: convert event name to a std::string_view in future net version after removing null terminator SerializableProperty, storage_type::ConstrainedBytesArray<2, UINT16_MAX>> eventName; - SerializableProperty, storage_type::ConstrainedStreamTail<0, 384 * 1024>> eventData; + SerializableProperty, storage_type::StreamTail> eventData; template bool Process(T& stream)