RSS

Четверг, 28.03.2024, 20:17
Главная » WoW API » API Виджеты » Область »

isProtected, explicit = VisibleRegion:IsProtected()

[ править ]
Returns whether the region is protected.
[клоны]
Returns whether the region is protected. Non-secure scripts may change certain properties of a protected region (e.g. showing or hiding it, changing its position, or altering frame attributes) only while the player is not in combat. Regions may be explicitly protected by Blizzard scripts or XML; other regions can become protected by becoming children of protected regions or by being positioned relative to protected regions.


Signature:
Code
isProtected, explicit = Region:IsProtected()

Returns:
  • isProtected - 1 if the region is protected; otherwise nil (value, 1nil)
  • explicit - 1 if the region is explicitly protected; nil if the frame is only protected due to relationship with a protected region (value, 1nil)

Также смотрите: Область
Ссылки: http://wowprogramming.com/docs/widgets/Region/IsProtected