Nakama C++ Client SDK 2.5.1
Client for Nakama Server
NStorageObject Struct Reference

An object within the storage engine. More...

#include <NStorageObject.h>

Public Attributes

std::string collection
 The collection which stores the object. More...
 
std::string key
 The key of the object within the collection. More...
 
std::string userId
 The user owner of the object. More...
 
std::string value
 The value of the object. More...
 
std::string version
 The version hash of the object. More...
 
NStoragePermissionRead permissionRead = NStoragePermissionRead::NO_READ
 The read access permissions for the object. More...
 
NStoragePermissionWrite permissionWrite = NStoragePermissionWrite::NO_WRITE
 The write access permissions for the object. More...
 
NTimestamp createTime = 0
 The UNIX time when the object was created. More...
 
NTimestamp updateTime = 0
 The UNIX time when the object was last updated. More...
 

Detailed Description

An object within the storage engine.

Member Data Documentation

◆ collection

std::string NStorageObject::collection

The collection which stores the object.

◆ createTime

NTimestamp NStorageObject::createTime = 0

The UNIX time when the object was created.

◆ key

std::string NStorageObject::key

The key of the object within the collection.

◆ permissionRead

NStoragePermissionRead NStorageObject::permissionRead = NStoragePermissionRead::NO_READ

The read access permissions for the object.

◆ permissionWrite

The write access permissions for the object.

◆ updateTime

NTimestamp NStorageObject::updateTime = 0

The UNIX time when the object was last updated.

◆ userId

std::string NStorageObject::userId

The user owner of the object.

◆ value

std::string NStorageObject::value

The value of the object.

◆ version

std::string NStorageObject::version

The version hash of the object.


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