Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/components/net-packet/include/StateBag.h
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ namespace net::packet
class StateBag : public SerializableComponent
{
public:
net::SerializableProperty<std::string_view, net::storage_type::ConstrainedStreamTail<1, 131072>> data;
net::SerializableProperty<std::string_view, net::storage_type::ConstrainedStreamTail<1, 256 * 1024.0>> data;

template <typename T>
bool Process(T& stream)
@@ -45,8 +45,8 @@ class StateBagV2 : public SerializableComponent
{
public:
net::SerializableProperty<std::string_view, net::storage_type::ConstrainedBytesArray<1, 128>> stateBagName;
net::SerializableProperty<std::string_view, net::storage_type::ConstrainedBytesArray<1, 512>> key;
net::SerializableProperty<std::string_view, net::storage_type::ConstrainedStreamTail<1, 4096>> data;
net::SerializableProperty<std::string_view, net::storage_type::ConstrainedBytesArray<1, 1024>> key;
net::SerializableProperty<std::string_view, net::storage_type::ConstrainedStreamTail<1, 256 * 1024.0>> data;

StateBagV2() = default;

0 comments on commit 720b1f3

Please sign in to comment.