Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 906 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 906 Bytes

steamid_cpp

SteamID class for C++.

C++ port of php-steamid

example

#include <iostream>
#include "SteamID.hpp"

int main() {
    auto s1 = new SteamID("76561198975579577");
    std::cout << "ACCOUNT_ID: " << s1->getAccountId() << "\n";
    std::cout << "STEAM2: " << s1->getIdSteam2Rendered(false) << "\n";
    std::cout << "STEAM3: " << s1->getIdSteam3Rendered() << "\n";
}