增加玩家管理(没做完,需要steamid绑定名字啥的)
This commit is contained in:
10
csgo2/player_manager.h
Normal file
10
csgo2/player_manager.h
Normal 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
|
||||
Reference in New Issue
Block a user