mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	telemetry_session: Use TelemetryJson to submit real telemetry.
This commit is contained in:
		
							parent
							
								
									fd3b4451ec
								
							
						
					
					
						commit
						8af3ebb149
					
				
					 3 changed files with 3 additions and 5 deletions
				
			
		|  | @ -9,8 +9,6 @@ | |||
| 
 | ||||
| namespace WebService { | ||||
| 
 | ||||
| TelemetryJson::TelemetryJson() {} | ||||
| 
 | ||||
| template <class T> | ||||
| void TelemetryJson::Serialize(Telemetry::FieldType type, const std::string& name, T value) { | ||||
|     sections[static_cast<u8>(type)][name] = value; | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ namespace WebService { | |||
|  */ | ||||
| class TelemetryJson : public Telemetry::VisitorInterface { | ||||
| public: | ||||
|     TelemetryJson(); | ||||
|     TelemetryJson() = default; | ||||
|     ~TelemetryJson() = default; | ||||
| 
 | ||||
|     void Visit(const Telemetry::Field<bool>& field) override; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue