diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-15 11:49:51 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-15 11:49:51 -0300 |
commit | eaea67f74ecbec186a12a819c3f000631346208c (patch) | |
tree | 9c1513f9a861513b0621f50231e17bf1e6bc2836 /include/pso/packet_classes.h | |
parent | 741af37a4fe17d0340b221b2cb64e4c68e12464c (diff) |
TProtocol: Add (and match) more command handlers
Diffstat (limited to 'include/pso/packet_classes.h')
-rw-r--r-- | include/pso/packet_classes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pso/packet_classes.h b/include/pso/packet_classes.h index b6217ca..7fbec48 100644 --- a/include/pso/packet_classes.h +++ b/include/pso/packet_classes.h @@ -16,6 +16,10 @@ template<size_t size> struct TPlyText { packet_header header; char text[size]; + + void bswap() { + header.bswap(); + }; }; struct game_command_header { |