Skip to content

Commit

Permalink
Merge remove limit of server -> client event (mr-534)
Browse files Browse the repository at this point in the history
1bd895d - fix(net-packet): remove limit of server -> client event
  • Loading branch information
nihonium-cfx committed Sep 25, 2024
2 parents 3fcc985 + 1bd895d commit 2471ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/components/net-packet/include/NetEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ServerClientEvent : public SerializableComponent
SerializableProperty<uint16_t> sourceNetId{ static_cast<uint16_t>(-1) };
// todo: convert event name to a std::string_view in future net version after removing null terminator
SerializableProperty<net::Span<uint8_t>, storage_type::ConstrainedBytesArray<2, UINT16_MAX>> eventName;
SerializableProperty<net::Span<uint8_t>, storage_type::ConstrainedStreamTail<0, 384 * 1024>> eventData;
SerializableProperty<net::Span<uint8_t>, storage_type::StreamTail> eventData;

template<typename T>
bool Process(T& stream)
Expand Down

0 comments on commit 2471ae8

Please sign in to comment.