增加玩家管理(没做完,需要steamid绑定名字啥的)

This commit is contained in:
Huoji's
2023-10-01 22:13:20 +08:00
parent fb67632502
commit 1bae80e38d
681 changed files with 391721 additions and 218 deletions

10
csgo2/player_manager.h Normal file
View File

@@ -0,0 +1,10 @@
#pragma once
#include "pch.h"
#include "sdk/player/playerslot.h"
namespace PlayerManager {
auto AddPlayerNameToPlayerNameList(const CPlayerSlot PlayerSlot,
const char* PlayerName) -> void;
auto RemovePlayerNameFromPlayerNameList(const CPlayerSlot PlayerSlot,
const char* PlayerName) -> void;
auto GetPlayerNameByPlayerSlot(const CPlayerSlot PlayerSlot) -> std::string;
}; // namespace PlayerManager