Unreal SDK  v1.1
Loading...
Searching...
No Matches
WeArtMessageSerializer Class Reference

Serializer for communication with the middleware. More...

#include <WeArtMessageSerializer.h>

Public Member Functions

std::string Serialize (WeArtMessage *message)
 
uint8 * Serialize (std::string text)
 
WeArtMessageDeserialize (std::string data)
 
std::string Deserialize (uint8 *byteData, int byteCount)
 

Static Public Member Functions

static constexpr unsigned long long int HashStringToInt (const char *str, unsigned long long int hash=0)
 
static WeArtMessagecreateMessage (std::string &ID)
 

Public Attributes

const char separator = ':'
 

Detailed Description

Serializer for communication with the middleware.

Member Function Documentation

◆ createMessage()

static WeArtMessage * WeArtMessageSerializer::createMessage ( std::string &  ID)
inlinestatic

◆ Deserialize() [1/2]

WeArtMessage * WeArtMessageSerializer::Deserialize ( std::string  data)
inline

◆ Deserialize() [2/2]

std::string WeArtMessageSerializer::Deserialize ( uint8 *  byteData,
int  byteCount 
)
inline

◆ HashStringToInt()

static constexpr unsigned long long int WeArtMessageSerializer::HashStringToInt ( const char *  str,
unsigned long long int  hash = 0 
)
inlinestaticconstexpr

◆ Serialize() [1/2]

uint8 * WeArtMessageSerializer::Serialize ( std::string  text)
inline

◆ Serialize() [2/2]

std::string WeArtMessageSerializer::Serialize ( WeArtMessage message)
inline

Member Data Documentation

◆ separator

const char WeArtMessageSerializer::separator = ':'

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