Skip to content

Commit

Permalink
VMaNGOS method header cleanup and define rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Aug 9, 2024
1 parent f34e898 commit 13591ed
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 1,540 deletions.
26 changes: 0 additions & 26 deletions methods/VMangos/MapMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@
namespace LuaMap
{

#ifndef CLASSIC
/**
* Returns `true` if the [Map] is an arena [BattleGround], `false` otherwise.
*
* @return bool isArena
*/
int IsArena(Eluna* E, Map* map)
{
E->Push(map->IsBattleArena());
return 1;
}
#endif

/**
* Returns `true` if the [Map] is a non-arena [BattleGround], `false` otherwise.
*
Expand Down Expand Up @@ -63,19 +50,6 @@ namespace LuaMap
return 1;
}

#ifndef CLASSIC
/**
* Returns `true` if the [Map] is a heroic, `false` otherwise.
*
* @return bool isHeroic
*/
int IsHeroic(Eluna* E, Map* map)
{
E->Push(map->IsHeroic());
return 1;
}
#endif

/**
* Returns `true` if the [Map] is a raid, `false` otherwise.
*
Expand Down
Loading

0 comments on commit 13591ed

Please sign in to comment.