diff options
| author | Alex Parrill <[email protected]> | 2019-06-05 22:28:05 -0400 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2019-06-09 23:50:11 +0100 |
| commit | 1db54ed7e950f227fb323d0a9a8783477603811b (patch) | |
| tree | 13de67354cab9784f9b188d75ad49a5e20048181 /steamworks-sys/src/lib.rs | |
| parent | Add Utils::set_warning_callback for logging Steam warnings (diff) | |
| download | steamworks-rs-1db54ed7e950f227fb323d0a9a8783477603811b.tar.xz steamworks-rs-1db54ed7e950f227fb323d0a9a8783477603811b.zip | |
Add SteamId::account_id to get the account ID
The account ID is used in a few places in the API.
Diffstat (limited to 'steamworks-sys/src/lib.rs')
| -rw-r--r-- | steamworks-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/steamworks-sys/src/lib.rs b/steamworks-sys/src/lib.rs index f32b784..f90257d 100644 --- a/steamworks-sys/src/lib.rs +++ b/steamworks-sys/src/lib.rs @@ -74,6 +74,7 @@ extern "C" { pub fn steam_rust_is_game_id_valid(id: u64) -> c_int; pub fn steam_rust_get_game_id_mod(id: u64) -> u32; pub fn steam_rust_get_game_id_app(id: u64) -> u32; + pub fn steam_rust_get_account_id_from_steam_id(steam_id: u64) -> AccountID_t; // |