Files
got-mod-customserver-server/internal/handlers/system.go
Jose Luis Montañes Ojados dbab788e6b init commit
2026-01-14 21:33:21 +01:00

21 lines
558 B
Go

package handlers
import (
"fmt"
"net"
)
func HandleAsyncBuddyListRequest(conn net.Conn, requestData []byte) ([]byte, int) {
fmt.Println("[TCP] Handling AsyncBuddyListRequest")
// Return AsyncBuddyListContentRequest (516)
// Field 2: Buddies (AsyncBuddyList)
return []byte{0x12, 0x00}, 516
}
func HandleAsyncIgnoreListRequest(conn net.Conn, requestData []byte) ([]byte, int) {
fmt.Println("[TCP] Handling AsyncIgnoreListRequest")
// Return AsyncIgnoreListContentRequest (516)
// Field 2: Ignores (AsyncBuddyList)
return []byte{0x12, 0x00}, 561
}