Changeset 260 for trunk/src/game/Creature.h
- Timestamp:
- 11/21/08 08:47:55 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Creature.h
r230 r260 11 11 * This program is distributed in the hope that it will be useful, 12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 14 * GNU General Public License for more details. 15 15 * 16 16 * You should have received a copy of the GNU General Public License 17 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307USA18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 19 */ 20 20 … … 206 206 uint32 MechanicImmuneMask; 207 207 uint32 flags_extra; 208 char const* ScriptName;208 uint32 ScriptID; 209 209 uint32 GetRandomValidModelId() const; 210 210 uint32 GetFirstValidModelId() const; 211 211 212 // helpers 212 213 SkillType GetRequiredLootSkill() const 213 214 { … … 219 220 return SKILL_SKINNING; // normal case 220 221 } 221 222 222 223 bool isTameable() const 223 224 { … … 499 500 CreatureInfo const *GetCreatureInfo() const { return m_creatureInfo; } 500 501 CreatureDataAddon const* GetCreatureAddon() const; 501 char const* GetScriptName() const; 502 503 std::string GetScriptName(); 504 uint32 GetScriptId(); 502 505 503 506 void prepareGossipMenu( Player *pPlayer, uint32 gossipid = 0 ); … … 525 528 // overwrite WorldObject function for proper name localization 526 529 const char* GetNameForLocaleIdx(int32 locale_idx) const; 527 530 528 531 void setDeathState(DeathState s); // overwrite virtual Unit::setDeathState 529 532