Lore archive · Warcraft Wiki, 2023 dump
API C PingSecure.GetTargetPingReceiver
Last wiki revision 2023-09-07
Returns the first suitable frame that may intercept a ping that can be found at the given screen position. frame = C_PingSecure.GetTargetPingReceiver(mousePosX, mousePosY)
- mousePosX:
- mousePosY:
- frame:
- This function should typically be supplied the return values of.
- This function will return the first frame in the frame stack that meet either of the following criteria:
- Any frame that is both marked as top level and does not have the attribute set.
- Any frame that has the attribute set.
- When determining if an attribute is set, this function only checks if the attribute has a non-nil value. Notably, this means that setting either of these attributes to false will still result in the attribute being considered as set.
- The behavior of this function if it encounters a frame that meets a mutually exclusive set of criteria should be considered undefined. However, currently if a frame is both marked as top level and has the attribute set then the attribute will be ignored and the frame will not be returned.
Source
https://warcraft.wiki.gg/wiki/API_C_PingSecure.GetTargetPingReceiver · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.