aboutsummaryrefslogtreecommitdiff
path: root/steamworks-sys/src/lib.cpp
diff options
context:
space:
mode:
authorMatthew Collins <[email protected]>2018-02-27 12:18:56 +0000
committerMatthew Collins <[email protected]>2018-02-27 12:18:56 +0000
commitdb7c3f7bcd5f1e804345bf90591f3e360ef456fb (patch)
tree621b19bddf5078ef8c5d763575eeb6745888cb64 /steamworks-sys/src/lib.cpp
parentDerive `Ord`/`Eq` for SteamId (diff)
downloadarchived-steamworks-rs-db7c3f7bcd5f1e804345bf90591f3e360ef456fb.tar.xz
archived-steamworks-rs-db7c3f7bcd5f1e804345bf90591f3e360ef456fb.zip
Add basic steam user accessor
Diffstat (limited to 'steamworks-sys/src/lib.cpp')
-rw-r--r--steamworks-sys/src/lib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/steamworks-sys/src/lib.cpp b/steamworks-sys/src/lib.cpp
index 9994909..75c399a 100644
--- a/steamworks-sys/src/lib.cpp
+++ b/steamworks-sys/src/lib.cpp
@@ -99,4 +99,5 @@ extern "C" ISteamMatchmaking *steam_rust_get_matchmaking() {
}
extern "C" ISteamUtils *steam_rust_get_utils() { return SteamUtils(); }
extern "C" ISteamApps *steam_rust_get_apps() { return SteamApps(); }
-extern "C" ISteamFriends *steam_rust_get_friends() { return SteamFriends(); } \ No newline at end of file
+extern "C" ISteamFriends *steam_rust_get_friends() { return SteamFriends(); }
+extern "C" ISteamUser *steam_rust_get_user() { return SteamUser(); } \ No newline at end of file