C# Class MapServer.MonsterObject

Inheritance: BaseObject
Afficher le fichier Open project: dream-young-soul/soul Class Usage Examples

Protected Properties

Свойство Type Description
attr GameStruct.MonterAttribute
mRebirthTime uint

Méthodes publiques

Méthode Description
Alive ( bool init = true ) : void
CanPK ( BaseObject obj, bool bGoCrime = true ) : bool
ClearThis ( ) : void
CreateAi ( int nAi_Id ) : AI.BaseAI
DropItem ( BaseObject attack ) : void
GetAi ( ) : AI.BaseAI
GetAttribute ( ) : MonterAttribute
GetBasicAttribute ( ) : MonsterInfo
GetDefense ( ) : int
GetLevel ( ) : byte
GetMagicAck ( ) : int
GetMagicDefense ( ) : int
GetMaxAck ( ) : int
GetMinAck ( ) : int
Injured ( BaseObject obj, uint value, NetMsg info ) : void
IsClear ( ) : bool
IsDie ( ) : bool
MonsterObject ( uint _id, int nAi_Id, short x, short y, bool isCreateTypeId = true ) : System
RefreshVisibleObject ( ) : void
Run ( ) : bool
SetAi ( AI _ai ) : void
SetRebirthTime ( uint nTime ) : void
Walk ( byte dir ) : void
Walk ( byte dir, short x, short y ) : void

Méthodes protégées

Méthode Description
ProcessAction_Die ( GameStruct act ) : void
ProcessAction_Injured ( GameStruct act ) : void
ProcessAction_Move ( GameStruct act ) : void

Private Methods

Méthode Description
GetDropItemPoint ( short &x, short &y ) : bool

Method Details

Alive() public méthode

public Alive ( bool init = true ) : void
init bool
Résultat void

CanPK() public méthode

public CanPK ( BaseObject obj, bool bGoCrime = true ) : bool
obj BaseObject
bGoCrime bool
Résultat bool

ClearThis() public méthode

public ClearThis ( ) : void
Résultat void

CreateAi() public méthode

public CreateAi ( int nAi_Id ) : AI.BaseAI
nAi_Id int
Résultat AI.BaseAI

DropItem() public méthode

public DropItem ( BaseObject attack ) : void
attack BaseObject
Résultat void

GetAi() public méthode

public GetAi ( ) : AI.BaseAI
Résultat AI.BaseAI

GetAttribute() public méthode

public GetAttribute ( ) : MonterAttribute
Résultat GameStruct.MonterAttribute

GetBasicAttribute() public méthode

public GetBasicAttribute ( ) : MonsterInfo
Résultat GameStruct.MonsterInfo

GetDefense() public méthode

public GetDefense ( ) : int
Résultat int

GetLevel() public méthode

public GetLevel ( ) : byte
Résultat byte

GetMagicAck() public méthode

public GetMagicAck ( ) : int
Résultat int

GetMagicDefense() public méthode

public GetMagicDefense ( ) : int
Résultat int

GetMaxAck() public méthode

public GetMaxAck ( ) : int
Résultat int

GetMinAck() public méthode

public GetMinAck ( ) : int
Résultat int

Injured() public méthode

public Injured ( BaseObject obj, uint value, NetMsg info ) : void
obj BaseObject
value uint
info NetMsg
Résultat void

IsClear() public méthode

public IsClear ( ) : bool
Résultat bool

IsDie() public méthode

public IsDie ( ) : bool
Résultat bool

MonsterObject() public méthode

public MonsterObject ( uint _id, int nAi_Id, short x, short y, bool isCreateTypeId = true ) : System
_id uint
nAi_Id int
x short
y short
isCreateTypeId bool
Résultat System

ProcessAction_Die() protected méthode

protected ProcessAction_Die ( GameStruct act ) : void
act GameStruct
Résultat void

ProcessAction_Injured() protected méthode

protected ProcessAction_Injured ( GameStruct act ) : void
act GameStruct
Résultat void

ProcessAction_Move() protected méthode

protected ProcessAction_Move ( GameStruct act ) : void
act GameStruct
Résultat void

RefreshVisibleObject() public méthode

public RefreshVisibleObject ( ) : void
Résultat void

Run() public méthode

public Run ( ) : bool
Résultat bool

SetAi() public méthode

public SetAi ( AI _ai ) : void
_ai AI
Résultat void

SetRebirthTime() public méthode

public SetRebirthTime ( uint nTime ) : void
nTime uint
Résultat void

Walk() public méthode

public Walk ( byte dir ) : void
dir byte
Résultat void

Walk() public méthode

public Walk ( byte dir, short x, short y ) : void
dir byte
x short
y short
Résultat void

Property Details

attr protected_oe property

protected MonterAttribute,GameStruct attr
Résultat GameStruct.MonterAttribute

mRebirthTime protected_oe property

protected uint mRebirthTime
Résultat uint