WoW API: UnitHasLFGDeserter

From AddOn Studio
Jump to navigation Jump to search

WoW API < UnitHasLFGDeserter

Returns whether the unit is currently unable to use the dungeon finder due to leaving a group prematurely.

isDeserter = UnitHasLFGDeserter("unit");

Arguments[edit]

unit
String (UnitId) - Unit you wish to query, e.g. "player".

Returns[edit]

isDeserter
Boolean - true if the unit is currently an LFG deserter (and hence unable to use the dungeon finder), false otherwise.

History[edit]