swift
Static Public Member Functions | List of all members
swift::simplugin::fs9::MultiPlayerPacketParser Class Reference

FS9 multiplayer protocol packet parser. More...

Static Public Member Functions

template<class Message >
static QByteArray readMessage (const QByteArray &data, Message &message)
 Read message from byte stream.
 
template<class Message >
static QByteArray writeMessage (QByteArray &data, const Message &message)
 Write message to byte stream.
 
static CFs9Sdk::MULTIPLAYER_PACKET_ID readType (const QByteArray &data)
 Read the multiplayer packet type.
 
static qint32 readSize (const QByteArray &data)
 Read the multiplayer packet size.
 
static void writeType (QByteArray &data, CFs9Sdk::MULTIPLAYER_PACKET_ID type)
 Write the multiplayer packet type.
 
static void writeSize (QByteArray &data, qint32 size)
 Write the multiplayer packet size.
 

Detailed Description

FS9 multiplayer protocol packet parser.

Definition at line 91 of file multiplayerpacketparser.h.


The documentation for this class was generated from the following file: