src/League/Client/RiotClient.cpp
LCU::League::Class::Client::BasicSystemInfo LCU::League::Client::UX::GetSystemInfo(Session* session)
{
	// Parse response
	rapidjson::Document responseNative;
	responseNative.Parse(LCU::Network::HTTP::Get(session, "/riotclient/system-info/v1/basic-info").c_str());
	LCU::SerializedValue responseLayered(responseNative);

	// Turn response to object
	LCU::League::Class::Client::BasicSystemInfo object;
	object.init(responseLayered);

	return object;
}
/// <summary>
/// Get info for the current system.
/// </summary>
/// <param name="session">Pointer to a Session object.</param>
/// <returns>Basic system info.</returns>

Get info for the current system.

Pointer to a Session object.
Basic system info.
Get info for the current system . Pointer to a Session object . Basic system info .
LCU::League::Class::Client::BasicSystemInfo LCU::League::Client::UX::GetSystemInfo(Session* session)
{
	rapidjson::Document responseNative;
	responseNative.Parse(LCU::Network::HTTP::Get(session, "/riotclient/system-info/v1/basic-info").c_str());
	LCU::SerializedValue responseLayered(responseNative);
	LCU::League::Class::Client::BasicSystemInfo object;
	object.init(responseLayered);
	return object;
}
LCU :: League :: Class :: Client :: BasicSystemInfo LCU :: League :: Client :: UX :: GetSystemInfo ( Session * session ) { rapidjson :: Document responseNative ; responseNative . Parse ( LCU :: Network :: HTTP :: Get ( session , " " ) . c_str ( ) ) ; LCU :: SerializedValue responseLayered ( responseNative ) ; LCU :: League :: Class :: Client :: BasicSystemInfo object ; object . init ( responseLayered ) ; return object ; }
<summary>
Get info for the current system.
<summary > Get info for the current system .
// Parse response // Turn response to object