DDraceNetwork Docs
uuid_manager.cpp File Reference
#include "uuid_manager.h"
#include <base/hash_ctxt.h>
#include <base/system.h>
#include <engine/shared/packer.h>
#include <algorithm>
#include <cstdio>
Include dependency graph for uuid_manager.cpp:

Functions

CUuid RandomUuid ()
 
CUuid CalculateUuid (const char *pName)
 
void FormatUuid (CUuid Uuid, char *pBuffer, unsigned BufferLength)
 
int ParseUuid (CUuid *pUuid, const char *pBuffer)
 
static int GetIndex (int Id)
 
static int GetId (int Index)
 

Variables

static const CUuid TEEWORLDS_NAMESPACE
 
const CUuid UUID_ZEROED
 

Function Documentation

◆ CalculateUuid()

CUuid CalculateUuid ( const char *  pName)

◆ FormatUuid()

void FormatUuid ( CUuid  Uuid,
char *  pBuffer,
unsigned  BufferLength 
)

◆ GetId()

static int GetId ( int  Index)
static

◆ GetIndex()

static int GetIndex ( int  Id)
static

◆ ParseUuid()

int ParseUuid ( CUuid pUuid,
const char *  pBuffer 
)

◆ RandomUuid()

CUuid RandomUuid ( )

Variable Documentation

◆ TEEWORLDS_NAMESPACE

const CUuid TEEWORLDS_NAMESPACE
static
Initial value:
= {{
0xe0, 0x5d, 0xda, 0xaa, 0xc4, 0xe6, 0x4c, 0xfb,
0xb6, 0x42, 0x5d, 0x48, 0xe8, 0x0c, 0x00, 0x29}}

◆ UUID_ZEROED

const CUuid UUID_ZEROED
Initial value:
= {{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}