Small cleanup
This commit is contained in:
parent
2ce99981ca
commit
56e124d867
@ -17,7 +17,7 @@ namespace game
|
||||
|
||||
T* get() const
|
||||
{
|
||||
return reinterpret_cast<T*>((uint64_t)address_);
|
||||
return address_;
|
||||
}
|
||||
|
||||
operator T* () const
|
||||
|
@ -5,11 +5,8 @@
|
||||
namespace game
|
||||
{
|
||||
WEAK symbol<void(int localClientNum, const char* text)> Cbuf_AddText{0x1420EC8B0_g};
|
||||
|
||||
WEAK symbol<void(int channel, unsigned int label, const char* fmt, ...)> Com_Printf{0x1421499C0_g};
|
||||
|
||||
WEAK symbol<void(char* text, int maxSize)> Con_GetTextCopy{0x14133A7D0_g};
|
||||
|
||||
WEAK symbol<void()> Sys_ShowConsole{0x142333F80_g};
|
||||
|
||||
namespace s_wcd
|
||||
|
@ -131,7 +131,7 @@ namespace steam
|
||||
{
|
||||
const auto id = this->GetSteamID();
|
||||
|
||||
auth_ticket = "S1";
|
||||
auth_ticket = "BOIII";
|
||||
auth_ticket.resize(32);
|
||||
auth_ticket.append(static_cast<char*>(pUserData), 24); // key
|
||||
auth_ticket.append(reinterpret_cast<const char*>(&id.bits), sizeof(id.bits)); // user id
|
||||
|
Loading…
Reference in New Issue
Block a user