eq2go/internal/packets/substructs/ItemDescription.go

60 lines
1.9 KiB
Go

package substructs
// ItemDescription Version 1
type ItemDescriptionV1 struct {
InfoHeader WSExamineInfoHeader `eq2:"substruct"`
Info BaseItemDescriptionV1 `eq2:"substruct"`
ItemType uint8 `eq2:"int8"`
}
// ItemDescription Version 373
type ItemDescriptionV373 struct {
InfoHeader WSExamineInfoHeader `eq2:"substruct"`
Info BaseItemDescriptionV373 `eq2:"substruct"`
ItemType uint8 `eq2:"int8"`
}
// ItemDescription Version 546
type ItemDescriptionV546 struct {
InfoHeader WSExamineInfoHeader `eq2:"substruct"`
Info BaseItemDescriptionV546 `eq2:"substruct"`
ItemType uint8 `eq2:"int8"`
}
// ItemDescription Version 1096
type ItemDescriptionV1096 struct {
InfoHeader WSExamineInfoHeader `eq2:"substruct"`
Info BaseItemDescriptionV1096 `eq2:"substruct"`
ItemType uint8 `eq2:"int8"`
}
// ItemDescription Version 1188
type ItemDescriptionV1188 struct {
InfoHeader WSExamineInfoHeader `eq2:"substruct"`
Info BaseItemDescriptionV1188 `eq2:"substruct"`
ItemType uint8 `eq2:"int8"`
}
// ItemDescription Version 1208
type ItemDescriptionV1208 struct {
InfoHeader WSExamineInfoHeader `eq2:"substruct"`
Info BaseItemDescriptionV1208 `eq2:"substruct"`
ItemType uint8 `eq2:"int8"`
}
// ItemDescription Version 63119
type ItemDescriptionV63119 struct {
InfoHeader WSExamineInfoHeader `eq2:"substruct"`
Info BaseItemDescriptionV63119 `eq2:"substruct"`
ItemType uint8 `eq2:"int8"`
}
// WSExamineInfoHeader - referenced by ItemDescription structs
// This struct definition needs to be provided based on the actual WS_ExamineInfoHeader definition
type WSExamineInfoHeader struct {
// Fields need to be defined based on actual WS_ExamineInfoHeader structure
// Placeholder - replace with actual fields
Unknown1 uint32 `eq2:"int32"`
Unknown2 uint16 `eq2:"int16"`
}