diff options
Diffstat (limited to 'include/pso/packet_classes.h')
-rw-r--r-- | include/pso/packet_classes.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/pso/packet_classes.h b/include/pso/packet_classes.h index df47979..0764388 100644 --- a/include/pso/packet_classes.h +++ b/include/pso/packet_classes.h @@ -35,6 +35,19 @@ TMenuListEntry(QuestListEntry, char short_description[112]; ); +class TRecvPort { +public: + packet_header header; + u32 ip_addr; + short port; +public: + void bswap() { + header.bswap(); + bswap_32(&ip_addr); + bswap_16(as(u16 *, &port)); + }; +}; + class TPlyMeetUserExtension { public: TPlyGuildCardTag tags[8]; |