summaryrefslogtreecommitdiff
path: root/internal/packet/types.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-12-01 10:09:21 +0200
committerKyren223 <Kyren223@proton.me>2024-12-01 10:09:21 +0200
commit78a38f508e7b9d2389c9c422c2d164b9059b03f8 (patch)
tree67550791d99597eaa6ab50334ccc880f06a8de17 /internal/packet/types.go
parent94166da109cf19ce48311d07aa67875fcb85f178 (diff)
Implemented frequency creation, BROKEN right now
Diffstat (limited to 'internal/packet/types.go')
-rw-r--r--internal/packet/types.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/packet/types.go b/internal/packet/types.go
index 82b8397..6df3d65 100644
--- a/internal/packet/types.go
+++ b/internal/packet/types.go
@@ -132,6 +132,17 @@ func (m *SwapFrequencies) Type() PacketType {
return PacketSwapFrequencies
}
+type FrequenciesInfo struct {
+ RemoveFrequencies []snowflake.ID
+ Frequencies []data.Frequency
+ Network snowflake.ID
+ Set bool
+}
+
+func (m *FrequenciesInfo) Type() PacketType {
+ return PacketFrequenciesInfo
+}
+
type SendMessage struct {
ReceiverID *snowflake.ID
FrequencyID *snowflake.ID