C# Class PolaMUD.Mob

Inheritance: PolaMUD.MovableEntity, ISerializable
Datei anzeigen Open project: Polatrite/PolaMUD Class Usage Examples

Public Properties

Property Type Description
Affects List
Aggression int
Armor int
Battle PolaMUD.Battle
Coins decimal
Description string
Drain int
Evasion int
Experience decimal
ExperienceReward decimal
ExperienceToLevel decimal
Gender Gender
Health int
HealthRegen int
Leech int
Level int
MagicHit int
MagicPower int
MagicalCritical int
MagicalCriticalDamage int
ManaRegen int
MaxHealth int
Mediation int
Persistence int
PhysicalCritical int
PhysicalCriticalDamage int
PhysicalHit int
PhysicalPower int
Quests Quest>.Dictionary
Race RaceType
Reflection int
Resistance int
RoomDescription string
SkillSlots List
Skills SkillInstance>.Dictionary
Tormenting int
Wounding int

Public Methods

Method Description
AddCoins ( decimal reward ) : void

Add coins to the Mob

Delete ( ) : void

Remove all references to this Mob, preparing it for garbage collection.

GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
LevelUp ( ) : void

Cause the Mob to gain a level unconditionally.

Load ( XmlNode mob ) : void
Mob ( ) : System
Mob ( SerializationInfo info, StreamingContext ctxt ) : System
Mob ( XmlNode mob ) : System
Mob ( int index ) : System

Creates a new template for the specified mob and adds it to the reference table of every mob template. Use Loader.NewMob() to create a new instance of a mob.

Restore ( ) : void
RewardExperience ( decimal reward ) : void

Reward the Mob with experience, potentially causing it to gain (TODO: or lose) levels.

SendMessage ( string message ) : bool

Does nothing for Mobs.

SendMessage ( string message, string mobileMessage ) : bool

Does nothing for Mobs.

ShallowCopy ( ) : Mob
iMob ( ) : void

Method Details

AddCoins() public method

Add coins to the Mob
public AddCoins ( decimal reward ) : void
reward decimal
return void

Delete() public method

Remove all references to this Mob, preparing it for garbage collection.
public Delete ( ) : void
return void

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return void

LevelUp() public method

Cause the Mob to gain a level unconditionally.
public LevelUp ( ) : void
return void

Load() public method

public Load ( XmlNode mob ) : void
mob System.Xml.XmlNode
return void

Mob() public method

public Mob ( ) : System
return System

Mob() public method

public Mob ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
return System

Mob() public method

public Mob ( XmlNode mob ) : System
mob System.Xml.XmlNode
return System

Mob() public method

Creates a new template for the specified mob and adds it to the reference table of every mob template. Use Loader.NewMob() to create a new instance of a mob.
public Mob ( int index ) : System
index int
return System

Restore() public method

public Restore ( ) : void
return void

RewardExperience() public method

Reward the Mob with experience, potentially causing it to gain (TODO: or lose) levels.
public RewardExperience ( decimal reward ) : void
reward decimal
return void

SendMessage() public method

Does nothing for Mobs.
public SendMessage ( string message ) : bool
message string
return bool

SendMessage() public method

Does nothing for Mobs.
public SendMessage ( string message, string mobileMessage ) : bool
message string
mobileMessage string
return bool

ShallowCopy() public method

public ShallowCopy ( ) : Mob
return Mob

iMob() public method

public iMob ( ) : void
return void

Property Details

Affects public_oe property

public List Affects
return List

Aggression public_oe property

public int Aggression
return int

Armor public_oe property

public int Armor
return int

Battle public_oe property

public Battle,PolaMUD Battle
return PolaMUD.Battle

Coins public_oe property

public decimal Coins
return decimal

Description public_oe property

public string Description
return string

Drain public_oe property

public int Drain
return int

Evasion public_oe property

public int Evasion
return int

Experience public_oe property

public decimal Experience
return decimal

ExperienceReward public_oe property

public decimal ExperienceReward
return decimal

ExperienceToLevel public_oe property

public decimal ExperienceToLevel
return decimal

Gender public_oe property

public Gender Gender
return Gender

Health public_oe property

public int Health
return int

HealthRegen public_oe property

public int HealthRegen
return int

Leech public_oe property

public int Leech
return int

Level public_oe property

public int Level
return int

MagicHit public_oe property

public int MagicHit
return int

MagicPower public_oe property

public int MagicPower
return int

MagicalCritical public_oe property

public int MagicalCritical
return int

MagicalCriticalDamage public_oe property

public int MagicalCriticalDamage
return int

ManaRegen public_oe property

public int ManaRegen
return int

MaxHealth public_oe property

public int MaxHealth
return int

Mediation public_oe property

public int Mediation
return int

Persistence public_oe property

public int Persistence
return int

PhysicalCritical public_oe property

public int PhysicalCritical
return int

PhysicalCriticalDamage public_oe property

public int PhysicalCriticalDamage
return int

PhysicalHit public_oe property

public int PhysicalHit
return int

PhysicalPower public_oe property

public int PhysicalPower
return int

Quests public_oe property

public Dictionary Quests
return Quest>.Dictionary

Race public_oe property

public RaceType Race
return RaceType

Reflection public_oe property

public int Reflection
return int

Resistance public_oe property

public int Resistance
return int

RoomDescription public_oe property

public string RoomDescription
return string

SkillSlots public_oe property

public List SkillSlots
return List

Skills public_oe property

public Dictionary Skills
return SkillInstance>.Dictionary

Tormenting public_oe property

public int Tormenting
return int

Wounding public_oe property

public int Wounding
return int