From 51de8a4c7a17606dc1f62d503d678c7c75169b7e Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 17 Feb 2017 03:50:04 +0100 Subject: [PATCH] [Proxy] Remove debugging leftovers --- src/Steam/Proxy.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Steam/Proxy.cpp b/src/Steam/Proxy.cpp index 1b59fe7e..543fab51 100644 --- a/src/Steam/Proxy.cpp +++ b/src/Steam/Proxy.cpp @@ -89,8 +89,6 @@ namespace Steam } } - class KeyValuesBuilder { private: std::stringstream m_buffer; inline void PackBytes(const void* bytes, size_t size) { m_buffer << std::string(reinterpret_cast(bytes), size); } inline void PackDataType(uint8_t type) { PackBytes(&type, 1); } inline void PackNullTerminated(const char* string) { PackBytes(string, strlen(string) + 1); } public: inline void PackString(const char* key, const char* value) { PackDataType(1); PackNullTerminated(key); PackNullTerminated(value); } inline void PackUint64(const char* key, uint64_t value) { PackDataType(7); PackNullTerminated(key); PackBytes(&value, sizeof(value)); } inline void PackEnd() { PackDataType(8); } inline std::string GetString() { return m_buffer.str(); } }; - void Proxy::SetMod(std::string mod) { if (!Proxy::ClientUser || Components::Flags::HasFlag("nosteam")) return; @@ -100,9 +98,6 @@ namespace Steam gameID.m_nAppID = Proxy::AppId & 0xFFFFFF; gameID.m_nModID = 0xBAADF00D; - Interface clientApps(Proxy::ClientEngine->GetIClientApps(Proxy::SteamUser, Proxy::SteamPipe, "CLIENTAPPS_INTERFACE_VERSION001")); - clientApps.invoke("SetLocalAppConfig", 0, nullptr, 0); - char ourPath[MAX_PATH] = { 0 }; GetModuleFileNameA(GetModuleHandle(nullptr), ourPath, sizeof(ourPath));