rename Zone to Block

This commit is contained in:
wish
2023-06-19 22:43:32 +10:00
parent 0929592110
commit 6865e2d530

View File

@@ -149,7 +149,7 @@ type TenrouiraiTicket struct {
} }
type TenrouiraiData struct { type TenrouiraiData struct {
Zone uint8 Block uint8
Mission uint8 Mission uint8
// 1 = Floors climbed // 1 = Floors climbed
// 2 = Collect antiques // 2 = Collect antiques
@@ -223,7 +223,7 @@ func handleMsgMhfGetTenrouirai(s *Session, p mhfpacket.MHFPacket) {
case 1: case 1:
for _, tdata := range tenrouirai.Data { for _, tdata := range tenrouirai.Data {
bf := byteframe.NewByteFrame() bf := byteframe.NewByteFrame()
bf.WriteUint8(tdata.Zone) bf.WriteUint8(tdata.Block)
bf.WriteUint8(tdata.Mission) bf.WriteUint8(tdata.Mission)
bf.WriteUint16(tdata.Goal) bf.WriteUint16(tdata.Goal)
bf.WriteUint16(tdata.Unk3) bf.WriteUint16(tdata.Unk3)