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
type MsgMhfAcquireGuildTresureSouvenir struct{}
type MsgMhfAcquireGuildTresureSouvenir struct {
AckHandle uint32
}
// Opcode returns the ID associated with this packet type.
func (m *MsgMhfAcquireGuildTresureSouvenir) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfAcquireGuildTresureSouvenir) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// MsgMhfCreateMercenary represents the MSG_MHF_CREATE_MERCENARY
type MsgMhfCreateMercenary struct{}
type MsgMhfCreateMercenary struct {
AckHandle uint32
}
// Opcode returns the ID associated with this packet type.
func (m *MsgMhfCreateMercenary) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfCreateMercenary) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfEnumerateFestaIntermediatePrize) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfEnumerateFestaIntermediatePrize) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfEnumerateFestaPersonalPrize) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfEnumerateFestaPersonalPrize) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfEnumerateMercenaryLog) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfEnumerateMercenaryLog) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGenerateUdGuildMap) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGenerateUdGuildMap) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetCafeDuration) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetCafeDuration) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetCafeDurationBonusInfo) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetCafeDurationBonusInfo) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetEquipSkinHist) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetEquipSkinHist) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetFpointExchangeList) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetFpointExchangeList) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetGuildManageRight) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetGuildManageRight) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetGuildMissionList) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetGuildMissionList) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetGuildMissionRecord) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetGuildMissionRecord) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetGuildScoutList) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetGuildScoutList) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetGuildTresureSouvenir) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetGuildTresureSouvenir) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetGuildWeeklyBonusActiveCount) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetGuildWeeklyBonusActiveCount) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetGuildWeeklyBonusMaster) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetGuildWeeklyBonusMaster) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetKijuInfo) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetKijuInfo) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetRejectGuildScout) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetRejectGuildScout) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetRewardSong) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetRewardSong) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetTrendWeapon) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetTrendWeapon) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdDailyPresentList) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdDailyPresentList) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdGuildMapInfo) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdGuildMapInfo) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdMyPoint) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdMyPoint) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdMyRanking) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdMyRanking) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdNormaPresentList) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdNormaPresentList) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdRankingRewardList) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdRankingRewardList) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdSelectedColorInfo) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdSelectedColorInfo) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdShopCoin) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdShopCoin) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdTacticsBonusQuest) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTacticsBonusQuest) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdTacticsFirstQuestBonus) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTacticsFirstQuestBonus) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdTacticsLog) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTacticsLog) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdTacticsPoint) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTacticsPoint) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdTacticsRewardList) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTacticsRewardList) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfGetUdTotalPointInfo) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTotalPointInfo) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfLoadGuildAdventure) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfLoadGuildAdventure) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfLoadLegendDispatch) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfLoadLegendDispatch) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfReceiveCafeDurationBonus) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfReceiveCafeDurationBonus) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgMhfUseRewardSong) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgMhfUseRewardSong) Opcode() network.PacketID {
// Parse parses the packet from binary
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.

View File

@@ -6,7 +6,9 @@ import (
)
// 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.
func (m *MsgSysUnlockGlobalSema) Opcode() network.PacketID {
@@ -15,7 +17,8 @@ func (m *MsgSysUnlockGlobalSema) Opcode() network.PacketID {
// Parse parses the packet from binary
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.