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)

ClearAll

Clear all values in this scope

void StorageScope::ClearAll()

GetFloat

Gets the specified value as a float

float StorageScope::GetFloat(string)

GetInt

Gets the specified value as an integer

int StorageScope::GetInt(string)

GetString

Gets the specified value

string StorageScope::GetString(string)

GetVector

Gets the specified value as a vector

Vector StorageScope::GetVector(string)

SetFloat

Sets the specified value

void StorageScope::SetFloat(string, float)

SetInt

Sets the specified value

void StorageScope::SetInt(string, int)

SetString

Sets the specified value

void StorageScope::SetString(string, string)

SetVector

Sets the specified value

void StorageScope::SetVector(string, Vector)