Update gophertunnel
This commit is contained in:
@@ -14,8 +14,8 @@ const (
|
||||
// CameraAimAssistPresets is sent by the server to the client to provide a list of categories and presets
|
||||
// that can be used when sending a CameraAimAssist packet or a CameraInstruction including aim assist.
|
||||
type CameraAimAssistPresets struct {
|
||||
// CategoryGroups is a list of groups of categories which can be referenced by one of the Presets.
|
||||
CategoryGroups []protocol.CameraAimAssistCategoryGroup
|
||||
// Categories is a list of groups of categories which can be referenced by one of the Presets.
|
||||
Categories []protocol.CameraAimAssistCategory
|
||||
// Presets is a list of presets which define a base for how aim assist should behave
|
||||
Presets []protocol.CameraAimAssistPreset
|
||||
// Operation is the operation to perform with the presets. It is one of the constants above.
|
||||
@@ -28,7 +28,7 @@ func (*CameraAimAssistPresets) ID() uint32 {
|
||||
}
|
||||
|
||||
func (pk *CameraAimAssistPresets) Marshal(io protocol.IO) {
|
||||
protocol.Slice(io, &pk.CategoryGroups)
|
||||
protocol.Slice(io, &pk.Categories)
|
||||
protocol.Slice(io, &pk.Presets)
|
||||
if proto.IsProtoGTE(io, proto.ID776) {
|
||||
io.Uint8(&pk.Operation)
|
||||
|
||||
Reference in New Issue
Block a user