aboutsummaryrefslogtreecommitdiff
path: root/steamworks-sys/src/lib.rs
diff options
context:
space:
mode:
authorAlex Parrill <[email protected]>2019-06-05 22:28:05 -0400
committerMatthew Collins <[email protected]>2019-06-09 23:50:11 +0100
commit1db54ed7e950f227fb323d0a9a8783477603811b (patch)
tree13de67354cab9784f9b188d75ad49a5e20048181 /steamworks-sys/src/lib.rs
parentAdd Utils::set_warning_callback for logging Steam warnings (diff)
downloadsteamworks-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.rs1
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;
//