From 8184c8d18799feb7ef0aa0eed7e5a2e67a01c791 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 14 Jan 2025 16:31:32 +0200 Subject: Added a way to change network properties both server side and client side --- internal/packet/models.go | 1 + internal/packet/types.go | 1 + 2 files changed, 2 insertions(+) (limited to 'internal/packet') diff --git a/internal/packet/models.go b/internal/packet/models.go index e1ffdc5..27b6300 100644 --- a/internal/packet/models.go +++ b/internal/packet/models.go @@ -1,6 +1,7 @@ package packet const ( + MaxNetworkNameBytes = 32 MaxIconBytes = 16 DefaultFrequencyName = "main" DefaultFrequencyColor = "#FFFFFF" diff --git a/internal/packet/types.go b/internal/packet/types.go index c73902b..a790cda 100644 --- a/internal/packet/types.go +++ b/internal/packet/types.go @@ -76,6 +76,7 @@ type FullNetwork struct { type NetworksInfo struct { Networks []FullNetwork RemovedNetworks []snowflake.ID + Partial bool } func (m *NetworksInfo) Type() PacketType { -- cgit v1.3.1