mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 08:25:09 +01:00
Added config at char select screen Transmog saving and loading (unlocks are not yet tackled and it is global rn) Sigil saving (can break, initial pass of save) Null compression and decompression functions. First pass of the diff save function. Disabled stamp cards
29 lines
712 B
Go
29 lines
712 B
Go
package mhfpacket
|
|
|
|
import (
|
|
"github.com/Andoryuuta/Erupe/network"
|
|
"github.com/Andoryuuta/byteframe"
|
|
)
|
|
|
|
// MsgMhfAddAchievement represents the MSG_MHF_ADD_ACHIEVEMENT
|
|
type MsgMhfAddAchievement struct{
|
|
Unk0 []byte
|
|
}
|
|
|
|
// Opcode returns the ID associated with this packet type.
|
|
func (m *MsgMhfAddAchievement) Opcode() network.PacketID {
|
|
return network.MSG_MHF_ADD_ACHIEVEMENT
|
|
}
|
|
|
|
// Parse parses the packet from binary
|
|
func (m *MsgMhfAddAchievement) Parse(bf *byteframe.ByteFrame) error {
|
|
m.Unk0 = bf.ReadBytes(5)
|
|
// doesn't expect a response
|
|
return nil
|
|
}
|
|
|
|
// Build builds a binary packet from the current data.
|
|
func (m *MsgMhfAddAchievement) Build(bf *byteframe.ByteFrame) error {
|
|
panic("Not implemented")
|
|
}
|