Add CL_ConnectFromLobby
This commit is contained in:
parent
719843db76
commit
5a04cc78de
@ -491,6 +491,32 @@ namespace game
|
||||
netsrc_t localNetID;
|
||||
};
|
||||
|
||||
struct XNADDR
|
||||
{
|
||||
byte addrBuff[37];
|
||||
};
|
||||
|
||||
struct bdSecurityID
|
||||
{
|
||||
byte ab[8];
|
||||
};
|
||||
|
||||
typedef bdSecurityID XNKID;
|
||||
|
||||
struct bdSecurityKey
|
||||
{
|
||||
byte ab[16];
|
||||
};
|
||||
|
||||
typedef bdSecurityKey XNKEY;
|
||||
|
||||
struct XSESSION_INFO
|
||||
{
|
||||
XNKID sessionID;
|
||||
XNADDR hostAddress;
|
||||
XNKEY keyExchangeKey;
|
||||
};
|
||||
|
||||
typedef int qboolean;
|
||||
|
||||
enum PacketModeList
|
||||
|
@ -1,11 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "structs.hpp"
|
||||
#include "loader/component_loader.hpp"
|
||||
|
||||
#define WEAK __declspec(selectany)
|
||||
|
||||
namespace game
|
||||
{
|
||||
// CL
|
||||
WEAK symbol<void(int controllerIndex, XSESSION_INFO* hostInfo, netadr_t* addr, int numPublicSlots,
|
||||
int numPrivateSlots, const char* mapname, const char* gametype)> CL_ConnectFromLobby
|
||||
{0x14134C570_g};
|
||||
|
||||
// Com
|
||||
WEAK symbol<void(int channel, unsigned int label, const char* fmt, ...)> Com_Printf{0x1421499C0_g};
|
||||
WEAK symbol<void(const char* file, int line, int code, const char* fmt, ...)> Com_Error_{0x1420F8BD0_g};
|
||||
@ -17,7 +23,9 @@ namespace game
|
||||
WEAK symbol<void(char* text, int maxSize)> Con_GetTextCopy{0x14133A7D0_g};
|
||||
|
||||
// DB
|
||||
WEAK symbol<void(XZoneInfo *zoneInfo, uint32_t zoneCount, bool sync, bool suppressSync)> DB_LoadXAssets{0x1414236A0_g};
|
||||
WEAK symbol<void(XZoneInfo* zoneInfo, uint32_t zoneCount, bool sync, bool suppressSync)> DB_LoadXAssets{
|
||||
0x1414236A0_g
|
||||
};
|
||||
|
||||
// Live
|
||||
WEAK symbol<bool(uint64_t, int*, bool)> Live_GetConnectivityInformation{0x141E0C410_g};
|
||||
@ -34,7 +42,9 @@ namespace game
|
||||
WEAK symbol<dvar_t*(unsigned int hash)> Dvar_FindMalleableVar{0x1422BD6A0_g};
|
||||
WEAK symbol<const char*(const dvar_t* dvar)> Dvar_GetDebugName{0x1422BDCB0_g};
|
||||
WEAK symbol<const char*(const dvar_t* dvar)> Dvar_GetString{0x1422BFFF0_g};
|
||||
WEAK symbol<void(const char *dvarName, const char *string, bool createIfMissing)> Dvar_SetFromStringByName{0x1422C7F60_g};
|
||||
WEAK symbol<void(const char* dvarName, const char* string, bool createIfMissing)> Dvar_SetFromStringByName{
|
||||
0x1422C7F60_g
|
||||
};
|
||||
|
||||
// Rendering
|
||||
WEAK symbol<void(const char*, int, void*, float, float, float, float, float, float*, int)> R_AddCmdDrawText{
|
||||
|
Loading…
Reference in New Issue
Block a user