Files
TCPlayerbotCore/src/server/game/Skills/SkillDiscovery.h
T

31 lines
1.1 KiB
C++
Raw Normal View History

2010-10-07 15:54:07 +02:00
/*
2012-01-01 00:32:13 +01:00
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
2010-10-07 15:54:07 +02:00
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
2008-10-02 16:23:55 -05:00
*/
2009-10-17 15:51:44 -07:00
2008-10-14 11:57:03 -05:00
#ifndef TRINITY_SKILLDISCOVERY_H
#define TRINITY_SKILLDISCOVERY_H
2009-10-17 15:51:44 -07:00
2008-10-02 16:23:55 -05:00
#include "Common.h"
2009-10-17 15:51:44 -07:00
2008-10-02 16:23:55 -05:00
class Player;
2009-10-17 15:51:44 -07:00
2008-10-02 16:23:55 -05:00
void LoadSkillDiscoveryTable();
uint32 GetSkillDiscoverySpell(uint32 skillId, uint32 spellId, Player* player);
2011-03-04 21:18:38 +01:00
bool HasDiscoveredAllSpells(uint32 spellId, Player* player);
2009-01-21 16:18:57 -06:00
uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player);
2008-10-02 16:23:55 -05:00
#endif