Replace SourceHook list usages in clientprefs with AMTL.

This commit is contained in:
Kyle Sanderson
2014-06-04 21:49:48 -07:00
parent c37dbe131e
commit 695fc802a9
5 changed files with 40 additions and 46 deletions
+3 -3
View File
@@ -33,7 +33,7 @@
#define _INCLUDE_SOURCEMOD_CLIENTPREFS_COOKIE_H_
#include "extension.h"
#include "sh_list.h"
#include "am-vector.h"
#include <sm_namehashset.h>
#define MAX_NAME_LENGTH 30
@@ -128,12 +128,12 @@ public:
public:
IForward *cookieDataLoadedForward;
SourceHook::List<Cookie *> cookieList;
ke::Vector<Cookie *> cookieList;
IBaseMenu *clientMenu;
private:
NameHashSet<Cookie *> cookieFinder;
SourceHook::List<CookieData *> clientData[SM_MAXPLAYERS+1];
ke::Vector<CookieData *> clientData[SM_MAXPLAYERS+1];
bool connected[SM_MAXPLAYERS+1];
bool statsLoaded[SM_MAXPLAYERS+1];