steam-min-cpp
Loading...
Searching...
No Matches
Steam::Events::ResultEvent Struct Reference

Event containing an operation result. More...

#include <events.hpp>

Inheritance diagram for Steam::Events::ResultEvent:

Public Member Functions

 ResultEvent (EventResult r)
bool ok () const
 Check whether the operation succeeded.
const std::string & what () const
 Retrieve the failure message if present.

Public Attributes

EventResult result
 Result of the associated operation.

Detailed Description

Event containing an operation result.

Many Steam responses are represented as a result status with optional metadata. This event type is commonly used as a base for more specific response events.


The documentation for this struct was generated from the following file: