summaryrefslogtreecommitdiff
path: root/internal/packet
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-14 16:31:32 +0200
committerKyren223 <Kyren223@proton.me>2025-01-14 16:31:32 +0200
commit8184c8d18799feb7ef0aa0eed7e5a2e67a01c791 (patch)
tree45a0174ed90b11c6ce89db06ee7237e6ae4dad20 /internal/packet
parentfa2ba2fe8bf24cc9ddc28ec30ea64647d17af1d6 (diff)
Added a way to change network properties both server side and client
side
Diffstat (limited to 'internal/packet')
-rw-r--r--internal/packet/models.go1
-rw-r--r--internal/packet/types.go1
2 files changed, 2 insertions, 0 deletions
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 {