Fandom

WoWWiki

API CanCooperateWithToon

104,755pages on
this wiki
Add New Page
Talk0 Share
WoW API < CanCooperateWithToon
Icon-information-22x22This function is implemented by FrameXML in [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/FriendsFrame.lua FrameXML/FriendsFrame.lua].

Determines if the player can cooperate with another player character

canCooperate = CanCooperateWithToon(toonID);


Arguments Edit

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


Returns Edit

canCooperate 
boolean - true if and only if the toon represented by the toonID is on the same realm and faction as the player

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.