Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.CommanderPet Class Reference
Inheritance diagram for DOL.GS.CommanderPet:
DOL.GS.BDPet DOL.GS.GamePet DOL.GS.GameNPC DOL.GS.GameLiving DOL.GS.GameObject DOL.GS.Point3D DOL.GS.Point2D DOL.GS.IPoint3D DOL.GS.IPoint2D DOL.GS.IPoint2D

List of all members.

Public Member Functions

 CommanderPet (INpcTemplate npcTemplate)
 Create a commander.
override bool WhisperReceive (GameLiving source, string str)
 Called when owner sends a whisper to the pet.
override bool AddControlledNpc (IControlledBrain controlledNpc)
 Adds a pet to the current array of pets.
override bool RemoveControlledNpc (IControlledBrain controlledNpc)
 Removes the brain from.

Protected Member Functions

void CommanderSwitchWeapon (eInventorySlot slot, eActiveWeaponSlot aSlot, string weaponType)
 Changes the commander's weapon to the specified type.

Constructor & Destructor Documentation

DOL.GS.CommanderPet.CommanderPet ( INpcTemplate  npcTemplate)

Create a commander.

Parameters:
npcTemplate
owner

Member Function Documentation

override bool DOL.GS.CommanderPet.AddControlledNpc ( IControlledBrain  controlledNpc) [virtual]

Adds a pet to the current array of pets.

Parameters:
controlledNpcThe brain to add to the list
Returns:
Whether the pet was added or not

Reimplemented from DOL.GS.GameNPC.

void DOL.GS.CommanderPet.CommanderSwitchWeapon ( eInventorySlot  slot,
eActiveWeaponSlot  aSlot,
string  weaponType 
) [protected]

Changes the commander's weapon to the specified type.

Parameters:
slot
aSlot
weaponType
override bool DOL.GS.CommanderPet.RemoveControlledNpc ( IControlledBrain  controlledNpc) [virtual]

Removes the brain from.

Parameters:
controlledNpcThe brain to find and remove
Returns:
Whether the pet was removed

Reimplemented from DOL.GS.GameNPC.

override bool DOL.GS.CommanderPet.WhisperReceive ( GameLiving  source,
string  str 
) [virtual]

Called when owner sends a whisper to the pet.

Parameters:
e
sender
arguments

Reimplemented from DOL.GS.GameNPC.


The documentation for this class was generated from the following file:
All Classes Namespaces Functions Variables Enumerations Properties Events