Click or drag to resize
WoWPetControl Class
Inheritance Hierarchy
SystemObject
  Styx.WoWInternalsWoWPetControl

Namespace: Styx.WoWInternals
Assembly: Styx (in Styx.dll) Version: 3.0.1160.0 (3.0.1160)
Syntax
C#
public class WoWPetControl

The WoWPetControl type exposes the following members.

Constructors
  NameDescription
Public methodWoWPetControl
Initializes a new instance of the WoWPetControl class
Top
Properties
  NameDescription
Public propertyStatic memberCanPetBeDismissed
Determines whether the user's pet can be dismissed.
Top
Methods
  NameDescription
Public methodStatic memberAttack
Sends the user's pet to attack the target identified by WOWUNIT.
Public methodStatic memberCanCastAction

Returns true if you can cast the PETACTION; otherwise, false.

This method checks for both spell existence, and if the spell is on cooldown.

Notes:

  • * To return 'true', the PETACTION spell must be hot-barred! Existence in the spellbook is insufficient. This is a limitation of the WoWclient and HB APIs.

Public methodStatic memberCastAction

Casts the PETACTION on WOWUNIT.

Notes:

  • * The PETACTION spell must be hot-barred! Existence in the spellbook is insufficient. This is a limitation of the WoWclient and HB APIs.

  • * If PETACTION is on cooldown, no action is performed.

Public methodStatic memberDismissPet
Dismisses the users pet
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFindActionByName
Finds a pet action but naStyxWoW.Me.
Public methodStatic memberFollow
Instructs the user's pet to follow its owner.
Public methodStatic memberGetActionName
Gets the name of the pet action.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsActionActive
Returns true if the provided pet action is being executed by the user's pet such as the 'Follow' command
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSetStance
Instructs the user's pet to assume the specified stance
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also