Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Namespaces | Functions
LocalStorageAngelscriptWrappers.h File Reference

Description

Helper/wrapper functions shared by native (LocalStorageAngelscript.cpp) and generic (LocalStorageAngelscriptGeneric.cpp) LocalStorage bindings.

Native bindings register these directly (asCALL_CDECL/asCALL_CDECL_OBJFIRST), generic bindings wrap them using WRAP_FN()/WRAP_OBJ_FIRST().

Definition in file LocalStorageAngelscriptWrappers.h.

#include "LocalStorage.h"
#include <string>

Go to the source code of this file.

Namespaces

namespace  LocalStorageAngelscriptWrappers
 

Functions

static LocalStorage * LocalStorageAngelscriptWrappers::LocalStorageFactory (std::string filename, const std::string &section_name, const std::string &rg_name)
 
static void LocalStorageAngelscriptWrappers::LocalStorage_setBool (LocalStorage *self, std::string key, const bool &value)
 
static bool LocalStorageAngelscriptWrappers::LocalStorage_exists (LocalStorage *self, const std::string &key)
 
static void LocalStorageAngelscriptWrappers::LocalStorage_eraseKey (LocalStorage *self, const std::string &key)