RSS

Вторник, 16.04.2024, 21:35
Главная » WoW API » API Виджеты » Область »

canChange = Texture:CanChangeProtectedState()

[ править ]
Returns whether protected properties of the region can be changed by non-secure scripts.
[клоны]
Returns whether protected properties of the region can be changed by non-secure scripts. Addon scripts are allowed to change protected properties for non-secure frames, or for secure frames while the player is not in combat.


Signature:
Code
canChange = Region:CanChangeProtectedState()

Returns:
  • canChange - 1 if addon scripts are currently allowed to change protected properties of the region (e.g. showing or hiding it, changing its position, or altering frame attributes); otherwise nil (value, 1nil)

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