Method | Description | |
---|---|---|
GetValue ( string query ) : string |
Gets a value from the session info YAML. May throw an exception. Use TryGetValue for safer operation.
|
|
SessionInfo ( string yaml, double updateTime ) : System | ||
TryGetValue ( string query, string &value ) : bool |
Gets a value from the session info YAML. Returns true if successfull, false if there is an error.
|
|
TryGetValue ( string query ) : string |
Gets a value from the session info YAML, or null if there is an error.
|
|
this ( string key ) : iRacingSdkWrapper.YamlQuery |
Method | Description | |
---|---|---|
FixYaml ( string yaml ) : void | ||
ParseYaml ( ) : void |
public GetValue ( string query ) : string | ||
query | string | The YAML query path to the value. |
return | string |
public SessionInfo ( string yaml, double updateTime ) : System | ||
yaml | string | |
updateTime | double | |
return | System |
public TryGetValue ( string query, string &value ) : bool | ||
query | string | The YAML query path to the value. |
value | string | When this method returns, contains the requested value if the query was valid, or null if the query was invalid. |
return | bool |
public TryGetValue ( string query ) : string | ||
query | string | The YAML query path to the value. |
return | string |
public this ( string key ) : iRacingSdkWrapper.YamlQuery | ||
key | string | |
return | iRacingSdkWrapper.YamlQuery |