MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_SetString

Function ovr_SetString

Revive/REV_CAPI.cpp:1266–1276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1264}
1265
1266OVR_PUBLIC_FUNCTION(ovrBool) ovr_SetString(ovrSession session, const char* propertyName, const char* value)
1267{
1268 REV_TRACE(ovr_SetString);
1269
1270 if (!session)
1271 return false;
1272
1273 vr::EVRSettingsError error = vr::VRSettingsError_None;
1274 vr::VRSettings()->SetString(session->AppKey, propertyName, value, &error);
1275 return error != vr::VRSettingsError_None;
1276}
1277
1278OVR_PUBLIC_FUNCTION(ovrResult) ovr_Lookup(const char* name, void** data)
1279{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected