完全搞定除了皮肤

This commit is contained in:
Huoji's
2023-10-06 05:08:40 +08:00
parent 40fc60e481
commit 9232d1c390
30 changed files with 3076 additions and 852 deletions

View File

@@ -1,12 +1,19 @@
#pragma once
#include "head.h"
inline int PlayerSlot_to_EntityIndex(int PlayerSlot) { return PlayerSlot + 1; }
inline int EntityIndex_to_PlayerSlot(int EntityIndex) { return EntityIndex - 1; }
enum _ChatType
{
kTeam,
kAll
};
inline int EntityIndex_to_PlayerSlot(int EntityIndex) {
return EntityIndex - 1;
}
#define HUD_PRINTNOTIFY 1
#define HUD_PRINTCONSOLE 2
#define HUD_PRINTTALK 3
#define HUD_PRINTCENTER 4
enum _ChatType { kTeam, kAll };
enum _HubType { kNotify = 1, kConsole, kTalk, kCenter, kMax };
namespace SdkTools {
auto ProcessChatString(const std::string& input) -> std::tuple<bool, _ChatType, std::string>;
};
auto ProcessChatString(const std::string& input)
-> std::tuple<bool, _ChatType, std::string>;
auto SentChatToClient(CCSPlayerController* player, _HubType hubtype, const char* msg, ...) -> void;
auto SendConsoleChat(_HubType hubtype, const char* msg, ...) -> void;
}; // namespace SdkTools