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

Serializer for communication with the middleware. More...

#include <WeArtMessageSerializer.h>

Public Member Functions

WeArtMessageDeserialize (std::string data)
 Deserializes a string into the corresponding message object.
 

Static Public Member Functions

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

Public Attributes

const char separator = ':'
 

Detailed Description

Serializer for communication with the middleware.

Member Function Documentation

◆ Deserialize()

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

Deserializes a string into the corresponding message object.

Parameters
dataString containing the serialized message
Returns
the message deserialized from the given string

◆ HashStringToInt()

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

Member Data Documentation

◆ separator

const char WeArtMessageSerializer::separator = ':'

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