ConVar.GetDefault Method

Retrieves the default string value of a console variable.

int GetDefault(char[] value, int maxlength)

Parameters

char[] value

Buffer to store the default value of the convar.

int maxlength

Maximum length of string buffer.

Return Value

Number of bytes written to the buffer (UTF-8 safe).