Initial MSVC 2008 projects workspace

This commit is contained in:
alexey.min
2012-02-01 05:25:08 +00:00
commit 03de3bdc95
1446 changed files with 476853 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include "world/templates/chars/L2PlayerTemplate.h"
class CharTemplateTable
{
protected:
static CharTemplateTable *s_instance;
static int s_refCount;
CharTemplateTable();
~CharTemplateTable();
public:
static CharTemplateTable *getInstance();
static void freeInstance();
public:
void load();
static const wchar_t *getClassNameById( int classId );
static const L2PlayerTemplate *getTemplate( int classId );
protected:
void addItemToAllTemplates( int itemId, int amount, bool equipped );
protected:
std::map<int, L2PlayerTemplate *> m_templates;
};