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:
16
include/cstrike/Structures/PlayerInfo.h
Normal file
16
include/cstrike/Structures/PlayerInfo.h
Normal 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;
|
||||
Reference in New Issue
Block a user