SHARE
TWEET

Untitled

a guest May 19th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma once
  2.  
  3. #include "./Common/UserCommon.h"
  4.  
  5. #define CLIENTUSER_INTERFACE_VERSION001 "CLIENTUSER_INTERFACE_VERSION001"
  6. class NOVTABLE IClientUser
  7. {
  8. public:
  9.     virtual HSteamUser GetHSteamUser();
  10.     virtual void LogOn(CSteamID);
  11.     virtual void LogOff();
  12.     virtual bool BLoggedOn();
  13.     virtual ELogonState GetLogonState();
  14.     virtual bool BConnected();
  15.     virtual CSteamID GetSteamID();
  16.     virtual bool IsVACBanned(AppId_t);
  17.     virtual bool RequireShowVACBannedMessage(AppId_t);
  18.     virtual void AcknowledgeVACBanning(AppId_t);
  19.     virtual void SetSteam2Ticket(uint8*, int);
  20.     virtual bool SetEmail(char const*);
  21.     virtual bool SetRegistryString(ERegistrySubTree, char const*, char const*);
  22.     virtual bool GetRegistryString(ERegistrySubTree, char const*, char*, int);
  23.     virtual bool SetRegistryInt(ERegistrySubTree, char const*, int);
  24.     virtual bool GetRegistryInt(ERegistrySubTree, char const*, int*);
  25. //  virtual bool GetConfigStoreKeyName(ERegistrySubTree, char const*, char*, int);
  26.     virtual int InitiateGameConnection(void*, int, CSteamID, CGameID, uint32, uint16, bool);
  27.     virtual int InitiateGameConnectionOld(void*, int, CSteamID, CGameID, uint32, uint16, bool, void*, int);
  28.     virtual void TerminateGameConnection(uint32, uint16);
  29.     virtual void SetSelfAsPrimaryChatDestination();
  30.     virtual bool IsPrimaryChatDestination();
  31.     virtual void RequestLegacyCDKey(AppId_t);
  32.     virtual bool SendGuestPassByEmail(char const*, GID_t, bool);
  33.     virtual bool SendGuestPassByAccountID(uint32, GID_t, bool);
  34.     virtual bool AckGuestPass(char const*);
  35.     virtual bool RedeemGuestPass(char const*);
  36.     virtual uint32 GetGuestPassToGiveCount();
  37.     virtual uint32 GetGuestPassToRedeemCount();
  38.     virtual RTime32 GetGuestPassLastUpdateTime();
  39.     virtual bool GetGuestPassToGiveInfo(uint32, GID_t*, PackageId_t*, RTime32*, RTime32*, RTime32*, RTime32*, char*, int);
  40.     virtual bool GetGuestPassToRedeemInfo(uint32, GID_t*, PackageId_t*, RTime32*, RTime32*, RTime32*, RTime32*);
  41.     virtual bool GetGuestPassToRedeemSenderAddress(uint32, char*, int);
  42.     virtual bool GetGuestPassToRedeemSenderName(uint32, char*, int);
  43.     virtual bool RequestGuestPassTargetList(GID_t);
  44.     virtual bool RequestGiftTargetList(PackageId_t);
  45.     virtual void AcknowledgeMessageByGID(char const*);
  46.     virtual bool SetLanguage(char const*);
  47.     virtual void TrackAppUsageEvent(CGameID, int, char const*);
  48.     virtual int RaiseConnectionPriority(EConnectionPriority);
  49.     virtual void ResetConnectionPriority(int);
  50. //  virtual void SetAccountNameFromSteam2(char const*);
  51. //  virtual bool SetPasswordFromSteam2(char const*);
  52. //  virtual void SetAccountNameForCachedCredentialLogin(char const*, bool);
  53. //  virtual void SetLoginInformation(char const*, char const*, bool);
  54.     virtual void SetAccountCreationTime(RTime32);
  55.     virtual bool DoesTextContainUserPassword(char const*);
  56.     virtual uint32 obselete_GetCMIPAddress();
  57.     virtual uint32 obselete_GetP2PRelayIPAddress();
  58.     virtual bool GetOneTimeWGAuthPassword(char*, int);
  59.     virtual bool GetLanguage(char*, int);
  60.     virtual void SetCyberCafe(bool);
  61.     virtual void CreateAccount(char const*, char const*, char const*, int, char const*, char const*);
  62.     virtual void CheckPassword(char const*, char const*, bool);
  63.     virtual void ResetPassword(char const*, char const*, char const*, char const*, char const*);
  64.     virtual void TrackNatTraversalStat(CNatTraversalStat const*);
  65.     virtual void RefreshSteam2Login();
  66. //  virtual void RefreshSteam2LoginWithSecureOption(bool);
  67. //  virtual bool Steam2IsSecureComputer();
  68.     virtual PackageId_t GetPackageIDForGuestPassToRedeemByGID(GID_t);
  69.     virtual void TrackSteamUsageEvent(ESteamUsageEvent, unsigned char const*, uint32);
  70.     virtual void SetComputerInUse();
  71.     virtual bool BIsGameRunning(CGameID);
  72.     virtual uint64 GetCurrentSessionToken();
  73.     virtual bool BUpdateAppOwnershipTicket(AppId_t, bool);
  74. //  virtual bool RequestCustomBinary(char const*, AppId_t, bool, bool);
  75. //  virtual EResult GetCustomBinariesState(AppId_t, uint*);
  76.     virtual void SetCellID(CellID_t);
  77. //  virtual char const* GetUserBaseFolder();
  78.     virtual bool GetUserDataFolder(CGameID, char*, int);
  79. //  virtual bool GetUserConfigFolder(char*, int);
  80.     virtual bool GetAccountName(char*, uint32);
  81.     virtual bool GetLegacyCDKey(AppId_t, char*, int);
  82.     virtual bool HasLegacyCDKey(AppId_t);
  83.     virtual void RemoveLegacyCDKey(AppId_t);
  84.     virtual void StartVoiceRecording();
  85.     virtual void StopVoiceRecording();
  86.     virtual void ResetVoiceRecording();
  87. //  virtual EVoiceResult GetAvailableVoice(uint32*, uint32*);
  88. //  virtual EVoiceResult GetVoice(bool, void*, uint32, uint32*, bool, void*, uint32, uint32*);
  89.     virtual EVoiceResult GetCompressedVoice(void*, uint32, uint32*);
  90. //  virtual EVoiceResult DecompressVoice(void const*, uint32, void*, uint32, uint32*);
  91.     virtual bool BIsAnyGameRunning();
  92.     virtual void ChangePassword(char const*, char const*);
  93.     virtual void ChangeEmail(char const*, char const*);
  94.     virtual void ChangeSecretQuestionAndAnswer(char const*, int, char const*, char const*);
  95.     virtual void SetSteam2FullASTicket(uint8*, int);
  96. //  virtual bool GetEmail(char*, int, bool*);
  97.     virtual void RequestForgottenPasswordEmail(char const*, char const*);
  98.     virtual void Test_FakeConnectionTimeout();
  99. //  virtual bool RunInstallScript(AppId_t*, int, char const*, char const*, bool);
  100.     virtual AppId_t IsInstallScriptRunning();
  101.     virtual bool GetInstallScriptString(AppId_t, char const*, char const*, char const*, char const*, char*, int);
  102.     virtual bool GetInstallScriptState(char*, unsigned int, unsigned int*, unsigned int*);
  103.     virtual bool SpawnProcess(void*, uint32, char const*, char const*, uint32, char const*, AppId_t, char const*, bool);
  104.     virtual uint32 GetAppOwnershipTicketLength(uint32);
  105.     virtual uint32 GetAppOwnershipTicketData(uint32, void*, uint32);
  106.     virtual bool GetAppDecryptionKey(uint32, void*, uint32);
  107.     virtual int GetMarketingMessageCount();
  108.     virtual bool GetMarketingMessage(int, uint64*, char*, int);
  109.     virtual HAuthTicket GetAuthSessionTicket(void*, int, uint32*);
  110.     virtual EBeginAuthSessionResult BeginAuthSession(void const*, int, CSteamID);
  111.     virtual void EndAuthSession(CSteamID);
  112.     virtual void CancelAuthTicket(HAuthTicket);
  113. //  virtual EBeginAuthSessionResult IsUserSubscribedAppInTicket(CSteamID, AppId_t);
  114.     virtual void SetAccountLimited(bool);
  115.     virtual bool BIsAccountLimited();
  116. //  virtual void SendValidationEmail();
  117. //  virtual bool BGameConnectTokensAvailable();
  118. //  virtual int NumGamesRunning();
  119. //  virtual CGameID GetRunningGameID(int);
  120. //  virtual uint32 GetAccountSecurityPolicyFlags();
  121. //  virtual void RequestChangeEmail(char const*, int);
  122. //  virtual void ChangePasswordWithCode(char const*, char const*, char const*);
  123. //  virtual void ChangeEmailWithCode(char const*, char const*, char const*);
  124. //  virtual void ChangeSecretQuestionAndAnswerWithCode(char const*, char const*, char const*, char const*);
  125. //  virtual void SetClientStat(EClientStat, int64, AppId_t, CellID_t, DepotId_t);
  126. //  virtual void VerifyPassword(char const*);
  127. //  virtual bool BSupportUser();
  128. };
  129.  
  130. #define CLIENTUSER_INTERFACE_VERSION CLIENTUSER_INTERFACE_VERSION001
RAW Paste Data
Top