This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
192 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,4 @@ namespace global { | |
float m_flUniversalTime; | ||
float m_flLastTickedTime; | ||
bool IsMetaModInit; | ||
bool IsDisableBlood; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,31 @@ | ||
#pragma once | ||
#include "head.h" | ||
enum class _ExtendPlayerSetting_Blood | ||
{ | ||
kNone, | ||
kDisableBloodWorldDecal, | ||
kDisableBloodEffectDispatch, | ||
kDisableBloodWorldDecalAndEffectDispatch, | ||
kMax | ||
}; | ||
enum class _ExtendPlayerSetting_Weapon | ||
{ | ||
kNone, | ||
kDisablebulletHole, | ||
kMax | ||
}; | ||
struct _ExtendPlayerSetting { | ||
uint64_t playerSlot; | ||
_ExtendPlayerSetting_Blood bloodSetting; | ||
_ExtendPlayerSetting_Weapon weaponSetting; | ||
}; | ||
namespace ExtendPlayerManager { | ||
auto AddSteamIdToPlayerSteamIdWithNameTable(uint64_t SteamId, | ||
uint64_t PlayerSlot) -> void; | ||
auto GetPlayerSlotBySteamId(uint64_t SteamId) -> uint64_t; | ||
auto SteamIDStringToUInt64(const std::string& steamID) -> uint64_t; | ||
auto RemovePlayerSlotBySteamId(uint64_t SteamId) -> void; | ||
auto GetPlayerByPlayerSlot(uint64_t playerSlot) -> CCSPlayerController*; | ||
auto UpdatePlayerSettingBySteamId(uint64_t SteamId, _ExtendPlayerSetting setting) -> void; | ||
auto GetPlayerSettingBySteamId(uint64_t SteamId)->std::pair<bool, _ExtendPlayerSetting>; | ||
}; // namespace ExtendPlayerManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.