Add MsgMhfGetUdTacticsFollower stub

This commit is contained in:
Andrew Gutekanst
2020-01-21 18:10:37 -05:00
parent fa608fa555
commit d0234c85ab
2 changed files with 12 additions and 4 deletions

View File

@@ -6,7 +6,9 @@ import (
)
// MsgMhfGetUdTacticsFollower represents the MSG_MHF_GET_UD_TACTICS_FOLLOWER
type MsgMhfGetUdTacticsFollower struct{}
type MsgMhfGetUdTacticsFollower struct{
AckHandle uint32
}
// Opcode returns the ID associated with this packet type.
func (m *MsgMhfGetUdTacticsFollower) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTacticsFollower) Opcode() network.PacketID {
// Parse parses the packet from binary
func (m *MsgMhfGetUdTacticsFollower) Parse(bf *byteframe.ByteFrame) error {
panic("Not implemented")
m.AckHandle = bf.ReadUint32()
return nil
}
// Build builds a binary packet from the current data.