ad group logic except somes

This commit is contained in:
GitProtogen
2026-03-23 14:24:53 +01:00
parent 9693e9ee88
commit c679b18f39
6 changed files with 191 additions and 13 deletions
+9 -9
View File
@@ -13,17 +13,17 @@ type Client struct {
CreatedAt time.Time
WsConn *websocket.Conn
Id uint32
Groups [MaxGroupsForClient]uint32
Groups map[uint32]struct{}
Color [3]uint8
}
type Group struct {
Name string
CreatedAt time.Time
Id uint32
CreatorId uint32
OwnerId uint32
Clients [MaxClientsInGroup]uint32
Color [3]uint8
EnableUserColors bool
Name string
CreatedAt time.Time
Id uint32
CreatorId uint32
OwnerId uint32
Clients map[uint32]struct{}
Color [3]uint8
EnableClientColors bool
}