Add GetPlayerInfo and GetPlayerForUserID to IVEngineClient.

* Move CRC32_t typedef from CUserCmd.h to PlayerInfo.h.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe
2016-12-19 20:49:14 +00:00
parent e8e7f1d4ae
commit fd60cdc93b
4 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
#pragma once
typedef unsigned long CRC32_t;
typedef struct player_info_s {
char name[MAX_PLAYER_NAME_LENGTH];
int userID;
char guid[SIGNED_GUID_LEN + 1];
uint32_t friendsID;
char friendsName[MAX_PLAYER_NAME_LENGTH];
bool fakeplayer;
bool ishltv;
//bool isreplay;
CRC32_t customFiles[MAX_CUSTOM_FILES];
unsigned char filesDownloaded;
} player_info_t;