diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-12 02:33:01 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-12 02:33:01 +0100 |
commit | 6768e46b200c63d758bd6e92bd500f3c754c3245 (patch) | |
tree | 47a0e90999cd8fc933301197f7104a94d567471c /NorthstarDedicatedTest/clientchathooks.cpp | |
parent | 8a33725513d7dae6a0be3b8366976e17661d2e2e (diff) | |
download | NorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.tar.gz NorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.zip |
formatting changes
Diffstat (limited to 'NorthstarDedicatedTest/clientchathooks.cpp')
-rw-r--r-- | NorthstarDedicatedTest/clientchathooks.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/clientchathooks.cpp b/NorthstarDedicatedTest/clientchathooks.cpp index fefbe8ca..bdd0e8c2 100644 --- a/NorthstarDedicatedTest/clientchathooks.cpp +++ b/NorthstarDedicatedTest/clientchathooks.cpp @@ -6,9 +6,6 @@ #include "serverchathooks.h" #include "localchatwriter.h" -typedef void(__fastcall* CHudChat__AddGameLineType)(void* self, const char* message, int fromPlayerId, bool isteam, bool isdead); -CHudChat__AddGameLineType CHudChat__AddGameLine; - struct ChatTags { bool whisper; @@ -16,6 +13,8 @@ struct ChatTags bool dead; }; +typedef void(__fastcall* CHudChat__AddGameLineType)(void* self, const char* message, int fromPlayerId, bool isteam, bool isdead); +CHudChat__AddGameLineType CHudChat__AddGameLine; static void CHudChat__AddGameLineHook(void* self, const char* message, int inboxId, bool isTeam, bool isDead) { // This hook is called for each HUD, but we only want our logic to run once. |