#include <UserReport.h>
◆ CUserReporter()
      
        
          | CUserReporter::CUserReporter | ( |  | ) |  | 
      
 
 
◆ ~CUserReporter()
      
        
          | CUserReporter::~CUserReporter | ( |  | ) |  | 
      
 
 
◆ Deinitialize()
      
        
          | void CUserReporter::Deinitialize | ( |  | ) |  | 
      
 
 
◆ GetStatus()
      
        
          | std::string CUserReporter::GetStatus | ( |  | ) |  | 
      
 
 
◆ Initialize()
      
        
          | void CUserReporter::Initialize | ( |  | ) |  | 
      
 
 
◆ IsReportingEnabled()
      
        
          | bool CUserReporter::IsReportingEnabled | ( |  | ) |  | 
      
 
 
◆ LoadUserID()
  
  | 
        
          | std::string CUserReporter::LoadUserID | ( |  | ) |  |  | private | 
 
 
◆ SetReportingEnabled()
      
        
          | void CUserReporter::SetReportingEnabled | ( | bool | enabled | ) |  | 
      
 
 
◆ SubmitReport()
      
        
          | void CUserReporter::SubmitReport | ( | const std::string & | type, | 
        
          |  |  | int | version, | 
        
          |  |  | const std::string & | data, | 
        
          |  |  | const std::string & | dataHumanReadable | 
        
          |  | ) |  |  | 
      
 
Submit a report to be transmitted to the online server. 
Nothing will be transmitted until reporting is enabled by the user, so you don't need to check for that first. 
- Parameters
- 
  
    | type | short string identifying the type of data ("hwdetect", "message", etc) |  | version | positive integer that should be incremented if the data is changed in a non-compatible way and the server will have to distinguish old and new formats |  | data | the actual data (typically UTF-8-encoded text, or JSON, but could be binary) |  | dataHumanReadable | an optional, readable representation of the same data, allowing users to assess for privacy concerns |  
 
 
 
◆ Update()
      
        
          | void CUserReporter::Update | ( |  | ) |  | 
      
 
Must be called frequently (preferably every frame), to update some internal reconnection timers. 
 
 
◆ m_Worker
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/ps/UserReport.h
- /home/docker/jenkins/workspace/technical-docs/source/ps/UserReport.cpp