Make auth stuff behave more like real steam.

This commit is contained in:
Mr_Goldberg 2019-07-15 10:07:34 -04:00
parent 0677b8e2ff
commit e252f83e8a
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
3 changed files with 22 additions and 11 deletions

View file

@ -413,6 +413,7 @@ public:
struct Auth_Ticket_Data {
CSteamID id;
uint64 number;
std::chrono::high_resolution_clock::time_point created;
};
class Auth_Ticket_Manager {
@ -420,7 +421,7 @@ class Auth_Ticket_Manager {
class Networking *network;
class SteamCallBacks *callbacks;
void launch_callback(CSteamID id, EAuthSessionResponse resp);
void launch_callback(CSteamID id, EAuthSessionResponse resp, double delay=0);
void launch_callback_gs(CSteamID id, bool approved);
std::vector<struct Auth_Ticket_Data> inbound, outbound;
public: