Various things but also major error
[vg.git] / vg_steam_auth.h
index 7d4002bd55cc8e55fc452223a488c3471489bbfa..fcdc8ae56f7d1b7908f01ac92bd4049dff416374 100644 (file)
@@ -53,10 +53,12 @@ HAuthTicket SteamAPI_ISteamUser_GetAuthSessionTicket(
 SteamAPICall_t SteamAPI_ISteamUser_RequestEncryptedAppTicket( 
       ISteamUser *self, void *pDataToInclude, int cbDataToInclude );
 
-int SteamAPI_ISteamUser_GetEncryptedAppTicket( 
+steamapi_bool SteamAPI_ISteamUser_GetEncryptedAppTicket( 
       ISteamUser *self, void *pTicket, 
       int cbMaxTicket, u32 *pcbTicket );
 
+u64_steamid SteamAPI_ISteamUser_GetSteamID( ISteamUser *self );
+
 
 /* 
  * Application symetric-key ticket method (Server)
@@ -64,13 +66,13 @@ int SteamAPI_ISteamUser_GetEncryptedAppTicket(
 
 enum { k_nSteamEncryptedAppTicketSymmetricKeyLen = 32 };
 
-int SteamEncryptedAppTicket_BDecryptTicket( u8 *rgubTicketEncrypted, 
+steamapi_bool SteamEncryptedAppTicket_BDecryptTicket( u8 *rgubTicketEncrypted, 
          u32 cubTicketEncrypted, u8 *rgubTicketDecrypted, 
          u32 *pcubTicketDecrypted, 
          u8 rgubKey[k_nSteamEncryptedAppTicketSymmetricKeyLen], 
          int cubKey );
 
-int SteamEncryptedAppTicket_BIsTicketForApp( u8 *rgubTicketDecrypted, 
+steamapi_bool SteamEncryptedAppTicket_BIsTicketForApp( u8 *rgubTicketDecrypted, 
       u32 cubTicketDecrypted, AppId_t nAppID );
 
 RTime32 SteamEncryptedAppTicket_GetTicketIssueTime( u8 *rgubTicketDecrypted, 
@@ -82,26 +84,26 @@ void SteamEncryptedAppTicket_GetTicketSteamID(
 AppId_t SteamEncryptedAppTicket_GetTicketAppID( u8 *rgubTicketDecrypted, 
       u32 cubTicketDecrypted );
 
-int SteamEncryptedAppTicket_BUserOwnsAppInTicket( u8 *rgubTicketDecrypted, 
-      u32 cubTicketDecrypted, AppId_t nAppID );
+steamapi_bool SteamEncryptedAppTicket_BUserOwnsAppInTicket( 
+      u8 *rgubTicketDecrypted, u32 cubTicketDecrypted, AppId_t nAppID );
 
-int SteamEncryptedAppTicket_BUserIsVacBanned( u8 *rgubTicketDecrypted, 
-      u32 cubTicketDecrypted );
+steamapi_bool SteamEncryptedAppTicket_BUserIsVacBanned( 
+      u8 *rgubTicketDecrypted, u32 cubTicketDecrypted );
 
-int SteamEncryptedAppTicket_BGetAppDefinedValue( u8 *rgubTicketDecrypted, 
-      u32 cubTicketDecrypted, u32 *pValue );
+steamapi_bool SteamEncryptedAppTicket_BGetAppDefinedValue( 
+      u8 *rgubTicketDecrypted, u32 cubTicketDecrypted, u32 *pValue );
 
 u8 *SteamEncryptedAppTicket_GetUserVariableData( u8 *rgubTicketDecrypted, 
       u32 cubTicketDecrypted, u32 *pcubUserData );
 
-int SteamEncryptedAppTicket_BIsTicketSigned( u8 *rgubTicketDecrypted, 
+steamapi_bool SteamEncryptedAppTicket_BIsTicketSigned( u8 *rgubTicketDecrypted, 
       u32 cubTicketDecrypted, u8 *pubRSAKey, u32 cubRSAKey );
 
-int SteamEncryptedAppTicket_BIsLicenseBorrowed( u8 *rgubTicketDecrypted, 
-      u32 cubTicketDecrypted );
+steamapi_bool SteamEncryptedAppTicket_BIsLicenseBorrowed( 
+      u8 *rgubTicketDecrypted, u32 cubTicketDecrypted );
 
-int SteamEncryptedAppTicket_BIsLicenseTemporary( u8 *rgubTicketDecrypted, 
-      u32 cubTicketDecrypted );
+steamapi_bool SteamEncryptedAppTicket_BIsLicenseTemporary( 
+      u8 *rgubTicketDecrypted, u32 cubTicketDecrypted );
 
 static u8 vg_char_base16( char c )
 {