Skip to content

Commit

Permalink
Merge pull request #110 from aayushduwadi/reimport-recording-signal
Browse files Browse the repository at this point in the history
Regenerate codecs to import RecordingSignal.REPLICATE_END
  • Loading branch information
ethanf authored Jun 6, 2024
2 parents 17caf8d + 948c32c commit 8b05ad1
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions archive/codecs/RecordingSignal.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ import (

type RecordingSignalEnum int32
type RecordingSignalValues struct {
START RecordingSignalEnum
STOP RecordingSignalEnum
EXTEND RecordingSignalEnum
REPLICATE RecordingSignalEnum
MERGE RecordingSignalEnum
SYNC RecordingSignalEnum
DELETE RecordingSignalEnum
NullValue RecordingSignalEnum
START RecordingSignalEnum
STOP RecordingSignalEnum
EXTEND RecordingSignalEnum
REPLICATE RecordingSignalEnum
MERGE RecordingSignalEnum
SYNC RecordingSignalEnum
DELETE RecordingSignalEnum
REPLICATE_END RecordingSignalEnum
NullValue RecordingSignalEnum
}

var RecordingSignal = RecordingSignalValues{0, 1, 2, 3, 4, 5, 6, -2147483648}
var RecordingSignal = RecordingSignalValues{0, 1, 2, 3, 4, 5, 6, 7, -2147483648}

func (r RecordingSignalEnum) Encode(_m *SbeGoMarshaller, _w io.Writer) error {
if err := _m.WriteInt32(_w, int32(r)); err != nil {
Expand Down Expand Up @@ -136,3 +137,15 @@ func (r *RecordingSignalEnum) DELETEInActingVersion(actingVersion uint16) bool {
func (*RecordingSignalEnum) DELETEDeprecated() uint16 {
return 0
}

func (*RecordingSignalEnum) REPLICATE_ENDSinceVersion() uint16 {
return 0
}

func (r *RecordingSignalEnum) REPLICATE_ENDInActingVersion(actingVersion uint16) bool {
return actingVersion >= r.REPLICATE_ENDSinceVersion()
}

func (*RecordingSignalEnum) REPLICATE_ENDDeprecated() uint16 {
return 0
}

0 comments on commit 8b05ad1

Please sign in to comment.