WoW:API CanCooperateWithToon: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{framexmlfunc|FrameXML/FriendsFrame.lua}} __NOTOC__ Determines if the player can cooperate with another player character CanCooperateWithToon(toonID); == Arguments == ;toon…') |
m (Move page script moved page API CanCooperateWithToon to API CanCooperateWithToon without leaving a redirect) |
(No difference)
|
Latest revision as of 04:45, 15 August 2023
← WoW API < CanCooperateWithToon
- This function is implemented in Lua here 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