SEGS  0.6.1-develop [39915b3b]
Super Entity Game Server
Functions
CommonNetStructures.cpp File Reference
#include "CommonNetStructures.h"
#include "Common/GameData/CoXHash.h"
#include <glm/gtc/type_ptr.hpp>
#include <QtCore/QString>
Include dependency graph for CommonNetStructures.cpp:

Functions

void storeBitsConditional (BitStream &bs, uint8_t numbits, int bits)
 
int getBitsConditional (BitStream &bs, uint32_t numbits)
 
void storePackedBitsConditional (BitStream &bs, uint8_t numbits, int bits)
 
void storeVector (BitStream &bs, glm::vec3 &vec)
 
void storeVectorConditional (BitStream &bs, glm::vec3 &vec)
 
void storeFloatConditional (BitStream &bs, float val)
 
void storeFloatPacked (BitStream &bs, float val)
 
int getPackedBitsConditional (BitStream &bs, uint8_t numbits)
 
void storeStringConditional (BitStream &bs, const QString &str)
 
void storeTransformMatrix (BitStream &tgt, const glm::mat4x3 &src)
 
void storeTransformMatrix (BitStream &tgt, const TransformStruct &src)
 
void getTransformMatrix (BitStream &bs, glm::mat4x3 &src)