Add parsers for some ackHandle-only packets

This commit is contained in:
Andrew Gutekanst
2020-02-23 18:56:54 -05:00
parent 112dc03acc
commit 1e33ed84c6
40 changed files with 240 additions and 120 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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