Wikia

WoWWiki

API CanCooperateWithToon

Talk0
98,480pages on
this wiki
Revision as of 20:05, July 6, 2010 by Starinnia (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Icon-information-22x22This function is implemented by FrameXML in FrameXML/FriendsFrame.lua.

Determines if the player can cooperate with another player character

canCooperate = CanCooperateWithToon(toonID);


Arguments

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


Returns

canCooperate 
boolean - true if and only if the toon represented by the toonID is on the same realm and faction as the player
Advertisement | Your ad here

Photos

Add a Photo
61,987photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki