Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.GameMovingObject Class Reference

GameMovingObject is a base class for boats and siege weapons. More...

Inheritance diagram for DOL.GS.GameMovingObject:
DOL.GS.GameNPC DOL.GS.GameLiving DOL.GS.GameObject DOL.GS.Point3D DOL.GS.Point2D DOL.GS.IPoint3D DOL.GS.IPoint2D DOL.GS.IPoint2D DOL.GS.GameBoat DOL.GS.GameFont DOL.GS.GameMine DOL.GS.GameSiegeWeapon DOL.GS.GameStorm DOL.GS.GameTaxiBoat DOL.GS.GameSiegeBallista DOL.GS.GameSiegeCatapult DOL.GS.GameSiegeCauldron DOL.GS.GameSiegeRam DOL.GS.GameSiegeTrebuchet

List of all members.

Public Member Functions

virtual ushort Type ()
override void TakeDamage (GameObject source, eDamageType damageType, int damageAmount, int criticalAmount)
 This methode is override to remove XP system.
override void StartPowerRegeneration ()
 Starts the power regeneration.
override void StartEnduranceRegeneration ()
 Starts the endurance regeneration.

Properties

ushort Emblem [get, set]
override ushort Model [get, set]
 Gets or sets the model of this npc.
override bool IsWorthReward [get]
 Tests if this MOB should give XP and loot based on the XPGainers.

Detailed Description

GameMovingObject is a base class for boats and siege weapons.


Member Function Documentation

override void DOL.GS.GameMovingObject.StartEnduranceRegeneration ( ) [virtual]

Starts the endurance regeneration.

Reimplemented from DOL.GS.GameLiving.

override void DOL.GS.GameMovingObject.StartPowerRegeneration ( ) [virtual]

Starts the power regeneration.

Reimplemented from DOL.GS.GameLiving.

override void DOL.GS.GameMovingObject.TakeDamage ( GameObject  source,
eDamageType  damageType,
int  damageAmount,
int  criticalAmount 
) [virtual]

This methode is override to remove XP system.

Parameters:
sourcethe damage source
damageTypethe damage type
damageAmountthe amount of damage
criticalAmountthe amount of critical damage

Reimplemented from DOL.GS.GameLiving.

Reimplemented in DOL.GS.GameSiegeWeapon, DOL.GS.GameFont, DOL.GS.GameMine, and DOL.GS.GameStorm.


Property Documentation

override bool DOL.GS.GameMovingObject.IsWorthReward [get]

Tests if this MOB should give XP and loot based on the XPGainers.

Returns:
true if it should deal XP and give loot

Reimplemented from DOL.GS.GameNPC.

override ushort DOL.GS.GameMovingObject.Model [get, set]

Gets or sets the model of this npc.

Reimplemented from DOL.GS.GameNPC.

Reimplemented in DOL.GS.GameBoat.


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