C# Class PolaMUD.Mob

Inheritance: PolaMUD.MovableEntity, ISerializable
Afficher le fichier Open project: Polatrite/PolaMUD Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

Add coins to the Mob
public AddCoins ( decimal reward ) : void
reward decimal
Résultat void

Delete() public méthode

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

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
Résultat void

LevelUp() public méthode

Cause the Mob to gain a level unconditionally.
public LevelUp ( ) : void
Résultat void

Load() public méthode

public Load ( XmlNode mob ) : void
mob System.Xml.XmlNode
Résultat void

Mob() public méthode

public Mob ( ) : System
Résultat System

Mob() public méthode

public Mob ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo
ctxt System.Runtime.Serialization.StreamingContext
Résultat System

Mob() public méthode

public Mob ( XmlNode mob ) : System
mob System.Xml.XmlNode
Résultat System

Mob() public méthode

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
Résultat System

Restore() public méthode

public Restore ( ) : void
Résultat void

RewardExperience() public méthode

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

SendMessage() public méthode

Does nothing for Mobs.
public SendMessage ( string message ) : bool
message string
Résultat bool

SendMessage() public méthode

Does nothing for Mobs.
public SendMessage ( string message, string mobileMessage ) : bool
message string
mobileMessage string
Résultat bool

ShallowCopy() public méthode

public ShallowCopy ( ) : Mob
Résultat Mob

iMob() public méthode

public iMob ( ) : void
Résultat void

Property Details

Affects public_oe property

public List Affects
Résultat List

Aggression public_oe property

public int Aggression
Résultat int

Armor public_oe property

public int Armor
Résultat int

Battle public_oe property

public Battle,PolaMUD Battle
Résultat PolaMUD.Battle

Coins public_oe property

public decimal Coins
Résultat decimal

Description public_oe property

public string Description
Résultat string

Drain public_oe property

public int Drain
Résultat int

Evasion public_oe property

public int Evasion
Résultat int

Experience public_oe property

public decimal Experience
Résultat decimal

ExperienceReward public_oe property

public decimal ExperienceReward
Résultat decimal

ExperienceToLevel public_oe property

public decimal ExperienceToLevel
Résultat decimal

Gender public_oe property

public Gender Gender
Résultat Gender

Health public_oe property

public int Health
Résultat int

HealthRegen public_oe property

public int HealthRegen
Résultat int

Leech public_oe property

public int Leech
Résultat int

Level public_oe property

public int Level
Résultat int

MagicHit public_oe property

public int MagicHit
Résultat int

MagicPower public_oe property

public int MagicPower
Résultat int

MagicalCritical public_oe property

public int MagicalCritical
Résultat int

MagicalCriticalDamage public_oe property

public int MagicalCriticalDamage
Résultat int

ManaRegen public_oe property

public int ManaRegen
Résultat int

MaxHealth public_oe property

public int MaxHealth
Résultat int

Mediation public_oe property

public int Mediation
Résultat int

Persistence public_oe property

public int Persistence
Résultat int

PhysicalCritical public_oe property

public int PhysicalCritical
Résultat int

PhysicalCriticalDamage public_oe property

public int PhysicalCriticalDamage
Résultat int

PhysicalHit public_oe property

public int PhysicalHit
Résultat int

PhysicalPower public_oe property

public int PhysicalPower
Résultat int

Quests public_oe property

public Dictionary Quests
Résultat Quest>.Dictionary

Race public_oe property

public RaceType Race
Résultat RaceType

Reflection public_oe property

public int Reflection
Résultat int

Resistance public_oe property

public int Resistance
Résultat int

RoomDescription public_oe property

public string RoomDescription
Résultat string

SkillSlots public_oe property

public List SkillSlots
Résultat List

Skills public_oe property

public Dictionary Skills
Résultat SkillInstance>.Dictionary

Tormenting public_oe property

public int Tormenting
Résultat int

Wounding public_oe property

public int Wounding
Résultat int