2 * ===============================================================
3 * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
4 * ===============================================================
6 * This file is not open source and may not be copied without explicit
7 * written permission of AlliedModders LLC. This file may not be redistributed
8 * in whole or significant part.
9 * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
18 m_IsConnected = false;
20 m_IsAuthorized = false;
24 void CPlayer::Initialize(const char *name, const char *ip, edict_t *pEntity)
29 m_PlayerEdict = pEntity;
32 void CPlayer::Connect()
37 void CPlayer::Authorize(const char *steamid)
39 m_IsAuthorized = true;
40 m_AuthID.assign(steamid);
43 void CPlayer::Disconnect()
45 m_IsConnected = false;
47 m_IsAuthorized = false;
54 void CPlayer::SetName(const char *name)