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.
add get/set playername, add on say2 filter callback
- Loading branch information
Showing
7 changed files
with
195 additions
and
37 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
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,14 +1,27 @@ | ||
#pragma once | ||
#include "head.h" | ||
|
||
typedef bool(__fastcall* FireEventServerSide_t)(CGameEventManager*, IGameEvent*, bool); | ||
class IRecipientFilter; | ||
typedef bool(__fastcall* FireEventServerSide_t)(CGameEventManager*, IGameEvent*, | ||
bool); | ||
typedef void(__fastcall* Host_Say_t)(void*, void*, bool, int, const char*); | ||
typedef void(__fastcall* OnClientConnect_t)(void*, CPlayerSlot, const char*, uint64_t, const char*, const char*, bool); | ||
typedef void(__fastcall* OnClientDisconnect_t)(void*, CPlayerSlot, int, const char*, uint64_t, const char*); | ||
typedef void(__fastcall* StartupServer_t)(void*, const GameSessionConfiguration_t&, ISource2WorldSession*, const char*); | ||
typedef void(__fastcall* OnClientConnect_t)(void*, CPlayerSlot, const char*, | ||
uint64_t, const char*, const char*, | ||
bool); | ||
typedef void(__fastcall* OnClientDisconnect_t)(void*, CPlayerSlot, int, | ||
const char*, uint64_t, | ||
const char*); | ||
typedef void(__fastcall* StartupServer_t)(void*, | ||
const GameSessionConfiguration_t&, | ||
ISource2WorldSession*, const char*); | ||
typedef void(__fastcall* GameFrame_t)(void*, bool, bool, bool); | ||
typedef void(__fastcall* UTIL_SayText2Filter_t)(IRecipientFilter&, | ||
CCSPlayerController*, uint64_t, | ||
const char*, const char*, | ||
const char*, const char*, | ||
const char*); | ||
|
||
namespace hooks { | ||
extern Host_Say_t original_Host_Say; | ||
auto init() -> bool; | ||
auto unload() -> void; | ||
} | ||
extern Host_Say_t original_Host_Say; | ||
auto init() -> bool; | ||
auto unload() -> void; | ||
} // namespace hooks |
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.