Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
add: dummy handler for CS_11019
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmolly committed Apr 17, 2024
1 parent 8b16e39 commit 531f23d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions answer/update_common_flag_command.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package answer

import (
"github.com/ggmolly/belfast/connection"
"github.com/ggmolly/belfast/protobuf"
"google.golang.org/protobuf/proto"
)

func UpdateCommonFlagCommand(buffer *[]byte, client *connection.Client) (int, int, error) {
response := protobuf.SC_11020{
Result: proto.Uint32(0),
}
return client.SendMessage(11020, &response)
}
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,7 @@ func init() {
}
return c.SendMessage(13108, &response)
}})

// UpdateCommonFlagCommand, unknown what it does
packets.RegisterPacketHandler(11019, []packets.PacketHandler{answer.UpdateCommonFlagCommand})
}

0 comments on commit 531f23d

Please sign in to comment.