mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 07:32:32 +01:00
style: run gofmt across entire codebase
330 non-vendor files had minor formatting inconsistencies (comment alignment, whitespace). No logic changes.
This commit is contained in:
@@ -35,9 +35,9 @@ func handleMsgSysCastBinary(s *Session, p mhfpacket.MHFPacket) {
|
||||
tmp := byteframe.NewByteFrameFromBytes(pkt.RawDataPayload)
|
||||
|
||||
const (
|
||||
timerPayloadSize = 0x10 // expected payload length for timer packets
|
||||
timerPayloadSize = 0x10 // expected payload length for timer packets
|
||||
timerSubtype = uint16(0x0002) // timer data subtype identifier
|
||||
timerFlag = uint8(0x18) // timer flag byte
|
||||
timerFlag = uint8(0x18) // timer flag byte
|
||||
)
|
||||
if pkt.BroadcastType == BroadcastTypeStage && pkt.MessageType == BinaryMessageTypeData && len(pkt.RawDataPayload) == timerPayloadSize {
|
||||
if tmp.ReadUint16() == timerSubtype && tmp.ReadUint8() == timerFlag {
|
||||
|
||||
Reference in New Issue
Block a user