Skip to content

Commit d0d183a

Browse files
SmileyAGYaLTeR
authored andcommitted
Renamed uint64 to steamid_t
1 parent 4705266 commit d0d183a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: BunnymodXT/modules/HwDLL.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3502,9 +3502,9 @@ struct HwDLL::Cmd_BXT_Get_SteamID_From_Demo
35023502
int player = cl.pEngfuncs->GetLocalPlayer()->index;
35033503
player_info_s* player_info = hw.pEngStudio->PlayerInfo(player - 1);
35043504

3505-
const uint64 STEAMID64_CONST = 76561197960265728; // 0x110000100000000
3505+
const steamid_t STEAMID64_CONST = 76561197960265728; // 0x110000100000000
35063506
const unsigned long STEAMID32 = static_cast<unsigned long>(player_info->m_nSteamID);
3507-
const uint64 STEAMID32_TO_64 = STEAMID64_CONST + STEAMID32;
3507+
const steamid_t STEAMID32_TO_64 = STEAMID64_CONST + STEAMID32;
35083508

35093509
hw.ORIG_Con_Printf("SteamID32: %" PRIu64 "\n", STEAMID32);
35103510

Diff for: BunnymodXT/stdafx.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
#define _USE_MATH_DEFINES
88
#include <Windows.h>
99
#include <process.h>
10-
typedef unsigned __int64 uint64;
10+
typedef unsigned __int64 steamid_t;
1111
#else
1212
#include <fcntl.h>
1313
#include <sys/stat.h>
1414
#include <mqueue.h>
15-
typedef unsigned long long uint64;
15+
typedef unsigned long long steamid_t;
1616
#endif
1717

1818
#if defined(__GNUC__)

Diff for: HLSDK/common/com_model.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ typedef struct player_info_s
423423

424424
char hashedcdkey[16];
425425

426-
uint64 m_nSteamID;
426+
steamid_t m_nSteamID;
427427
} player_info_t;
428428

429429
#endif // #define COM_MODEL_H

Diff for: HLSDK/engine/cdll_int.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ typedef struct hud_player_info_s
105105
short topcolor;
106106
short bottomcolor;
107107

108-
uint64 m_nSteamID;
108+
steamid_t m_nSteamID;
109109
} hud_player_info_t;
110110

111111

0 commit comments

Comments
 (0)