core: Call ConVarQueryFinished on client disconnect (#1384)
* Execute ConVarQueryFinished if client disconnects So people passing handles to the extra data can close them, adds a new return value to check if this happened * Update based on suggestion Co-authored-by: Asher Baker <[email protected]> * Update based on notes * Normalize * Pass along cookie handle instead of invalid Co-authored-by: Asher Baker <[email protected]>
This commit is contained in:
@@ -49,6 +49,7 @@ enum ConVarBounds
|
||||
*/
|
||||
enum ConVarQueryResult
|
||||
{
|
||||
ConVarQuery_Cancelled = -1, //< Client disconnected during query */
|
||||
ConVarQuery_Okay = 0, //< Retrieval of client convar value was successful. */
|
||||
ConVarQuery_NotFound, //< Client convar was not found. */
|
||||
ConVarQuery_NotValid, //< A console command with the same name was found, but there is no convar. */
|
||||
|
||||
Reference in New Issue
Block a user