1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef TPLYSMTH_H #define TPLYSMTH_H #include <global_types.h> #include <pso/macros.h> #include <pso/protocol.h> #include <pso/TProtocol.h> class TPlySmth { public: TPlySmth() {}; void bswap() { bswap_32(as(u32 *, &m_smth)); bswap_32(as(u32 *, &m_smth1)); }; public: u8 m_smth[4]; u8 m_smth1[4]; }; #endif