Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution.

StorageScope

Clear

Clear the specified key.

void StorageScope::Clear(string key)

ClearAll

Clear all values in this scope.

void StorageScope::ClearAll()

GetFloat

Gets the specified value as a float.

float StorageScope::GetFloat(string key)

GetInt

Gets the specified value as an integer.

int StorageScope::GetInt(string key)

GetString

Gets the specified value.

string StorageScope::GetString(string key)

GetVector

Gets the specified value as a vector.

Vector StorageScope::GetVector(string key)

SetFloat

Sets the specified value.

void StorageScope::SetFloat(string key, float value)

SetInt

Sets the specified value.

void StorageScope::SetInt(string key, int value)

SetString

Sets the specified value.

void StorageScope::SetString(string key, string value)

SetVector

Sets the specified value.

void StorageScope::SetVector(string key, Vector value)