Navigation Menu

Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mukunda- committed Nov 25, 2014
1 parent 904e5ef commit c6dfd38
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
@@ -1,7 +1,7 @@
SteamID Parser
===

This is a simple library for PHP and JavaScript to parse and format Steam IDs.
This is a simple library for PHP, JavaScript, and C++ to parse and format Steam IDs.

Compatible with 32-bit PHP builds.

Expand Down Expand Up @@ -30,6 +30,20 @@ JavaScript usage example (after referencing the library):

// (prints "STEAM_1:1:54499221")

C++ usage example:

#include <steamid.hpp>
...

// parse a Steam ID in "SteamID3" format.
SteamID steamid = SteamID::Parse(
"[U:1:108998443]", SteamID::Formats::STEAMID3 );

// print it in SteamID32 format
std::cout << steamid::Format( SteamID::Formats::STEAMID32 );

// (prints "STEAM_1:1:54499221")


Supports multiple formats. You can omit the parsing format for auto-detection.

Expand Down

0 comments on commit c6dfd38

Please sign in to comment.