WoW API < CanCooperateWithToon

"I" iconThis function is implemented by FrameXML in [DEPRECATED FrameXML/FriendsFrame.lua].

Determines if the player can cooperate with another player character

canCooperate = CanCooperateWithToon(toonID);

Arguments[edit | edit source]

number - determined from the 5th return of BNGetFriendInfo(friendIndex)

Returns[edit | edit source]

boolean - true if and only if the toon represented by the toonID is on the same realm and faction as the player
Community content is available under CC-BY-SA unless otherwise noted.