Files
csgo2_tiny_server_plugin_sy…/csgo2/sdk_tools.h
2023-10-03 00:25:23 +08:00

12 lines
345 B
C++

#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
};
namespace SdkTools {
auto ProcessChatString(const std::string& input) -> std::tuple<bool, _ChatType, std::string>;
};