Skip to content

Commit

Permalink
Document IsGroupVisibleFor
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Nov 14, 2024
1 parent 6c13bc1 commit ec7d2bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions methods/TrinityCore/PlayerMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,12 @@ namespace LuaPlayer
return 1;
}

/**
* Returns whether or not the [Player]s [Group] is visible for the other specific [Player].
*
* @param [Player] player
* @return bool isGroupVisible
*/
int IsGroupVisibleFor(Eluna* E, Player* player)
{
Player* target = E->CHECKOBJ<Player>(2);
Expand Down

0 comments on commit ec7d2bb

Please sign in to comment.