C# Class MapServer.EudemonObject

Inheritance: BaseObject
Exibir arquivo Open project: dream-young-soul/soul Class Usage Examples

Public Methods

Method Description
AddExp ( int nExp ) : void
AddMagicInfo ( ushort magicid, byte magiclv, uint exp ) : bool
Attack ( NetMsg info ) : void
Battle ( ) : void
CalcAttribute ( ) : void
ChangeAttribute ( GameStruct type, int value, bool isBrocat = true ) : void
CheckMagicAttackSpeed ( ushort magicid, byte magiclv ) : bool
ClearThis ( ) : void
DeleteMagicInfo ( ushort magicid ) : void
EudemonObject ( RoleData_Eudemon info, PlayerObject _play ) : System
FlyPlay ( ) : void
GetAttr ( ) : RoleData_Eudemon
GetDefense ( ) : int
GetEudemonId ( ) : uint
GetEudemonInfo ( ) : RoleData_Eudemon
GetLevel ( ) : byte
GetLuck ( ) : int
GetMagicAck ( ) : int
GetMagicDefense ( ) : int
GetMagicLevel ( ushort magicid ) : ushort
GetMaxAck ( ) : int
GetMaxMagixAck ( ) : int
GetMinAck ( ) : int
GetMonsterInfo ( ) : MonsterInfo
GetMonsterInfo ( PlayerObject _play, uint _item_id ) : MonsterInfo
GetOwnerPlay ( ) : PlayerObject
GetPlayObjectList ( ) : PlayerObject>.Dictionary
GetState ( ) : EUDEMONSTATE
Injured ( BaseObject obj, uint value, NetMsg info ) : void
IsDie ( ) : bool
IsHaveMagic ( ushort magicid ) : bool
IsRiding ( ) : bool
MagicAttack ( NetMsg info ) : void
Move ( NetMsg move ) : bool
ReCall ( ) : void
RefreshVisibleObject ( ) : void
Run ( ) : bool
SendEudemonInfo ( PlayerObject _play = null ) : void
SendMagicInfo ( ) : void
SendMoveInfo ( BaseObject obj, byte runValue ) : void
SendPlayRefreshInfo ( PlayerObject play ) : void
SetEudemonInfo ( RoleData_Eudemon info ) : void
SetMosterInfo ( GameStruct info ) : void
SetRiding ( bool v ) : void
SetState ( EUDEMONSTATE _state ) : void

Protected Methods

Method Description
ProcessAction_Die ( GameStruct act ) : void
ProcessAction_Injured ( GameStruct act ) : void
ProcessAction_Move ( GameStruct act ) : void

Private Methods

Method Description
GetBombVisibleObj ( NetMsg magicinfo ) : List
GetFanVisibleObj ( NetMsg magicinfo ) : List

Method Details

AddExp() public method

public AddExp ( int nExp ) : void
nExp int
return void

AddMagicInfo() public method

public AddMagicInfo ( ushort magicid, byte magiclv, uint exp ) : bool
magicid ushort
magiclv byte
exp uint
return bool

Attack() public method

public Attack ( NetMsg info ) : void
info NetMsg
return void

Battle() public method

public Battle ( ) : void
return void

CalcAttribute() public method

public CalcAttribute ( ) : void
return void

ChangeAttribute() public method

public ChangeAttribute ( GameStruct type, int value, bool isBrocat = true ) : void
type GameStruct
value int
isBrocat bool
return void

CheckMagicAttackSpeed() public method

public CheckMagicAttackSpeed ( ushort magicid, byte magiclv ) : bool
magicid ushort
magiclv byte
return bool

ClearThis() public method

public ClearThis ( ) : void
return void

DeleteMagicInfo() public method

public DeleteMagicInfo ( ushort magicid ) : void
magicid ushort
return void

EudemonObject() public method

public EudemonObject ( RoleData_Eudemon info, PlayerObject _play ) : System
info GameBase.Network.Internal.RoleData_Eudemon
_play PlayerObject
return System

FlyPlay() public method

public FlyPlay ( ) : void
return void

GetAttr() public method

public GetAttr ( ) : RoleData_Eudemon
return GameBase.Network.Internal.RoleData_Eudemon

GetDefense() public method

public GetDefense ( ) : int
return int

GetEudemonId() public method

public GetEudemonId ( ) : uint
return uint

GetEudemonInfo() public method

public GetEudemonInfo ( ) : RoleData_Eudemon
return GameBase.Network.Internal.RoleData_Eudemon

GetLevel() public method

public GetLevel ( ) : byte
return byte

GetLuck() public method

public GetLuck ( ) : int
return int

GetMagicAck() public method

public GetMagicAck ( ) : int
return int

GetMagicDefense() public method

public GetMagicDefense ( ) : int
return int

GetMagicLevel() public method

public GetMagicLevel ( ushort magicid ) : ushort
magicid ushort
return ushort

GetMaxAck() public method

public GetMaxAck ( ) : int
return int

GetMaxMagixAck() public method

public GetMaxMagixAck ( ) : int
return int

GetMinAck() public method

public GetMinAck ( ) : int
return int

GetMonsterInfo() public method

public GetMonsterInfo ( ) : MonsterInfo
return GameStruct.MonsterInfo

GetMonsterInfo() public static method

public static GetMonsterInfo ( PlayerObject _play, uint _item_id ) : MonsterInfo
_play PlayerObject
_item_id uint
return GameStruct.MonsterInfo

GetOwnerPlay() public method

public GetOwnerPlay ( ) : PlayerObject
return PlayerObject

GetPlayObjectList() public method

public GetPlayObjectList ( ) : PlayerObject>.Dictionary
return PlayerObject>.Dictionary

GetState() public method

public GetState ( ) : EUDEMONSTATE
return EUDEMONSTATE

Injured() public method

public Injured ( BaseObject obj, uint value, NetMsg info ) : void
obj BaseObject
value uint
info NetMsg
return void

IsDie() public method

public IsDie ( ) : bool
return bool

IsHaveMagic() public method

public IsHaveMagic ( ushort magicid ) : bool
magicid ushort
return bool

IsRiding() public method

public IsRiding ( ) : bool
return bool

MagicAttack() public method

public MagicAttack ( NetMsg info ) : void
info NetMsg
return void

Move() public method

public Move ( NetMsg move ) : bool
move NetMsg
return bool

ProcessAction_Die() protected method

protected ProcessAction_Die ( GameStruct act ) : void
act GameStruct
return void

ProcessAction_Injured() protected method

protected ProcessAction_Injured ( GameStruct act ) : void
act GameStruct
return void

ProcessAction_Move() protected method

protected ProcessAction_Move ( GameStruct act ) : void
act GameStruct
return void

ReCall() public method

public ReCall ( ) : void
return void

RefreshVisibleObject() public method

public RefreshVisibleObject ( ) : void
return void

Run() public method

public Run ( ) : bool
return bool

SendEudemonInfo() public method

public SendEudemonInfo ( PlayerObject _play = null ) : void
_play PlayerObject
return void

SendMagicInfo() public method

public SendMagicInfo ( ) : void
return void

SendMoveInfo() public method

public SendMoveInfo ( BaseObject obj, byte runValue ) : void
obj BaseObject
runValue byte
return void

SendPlayRefreshInfo() public method

public SendPlayRefreshInfo ( PlayerObject play ) : void
play PlayerObject
return void

SetEudemonInfo() public method

public SetEudemonInfo ( RoleData_Eudemon info ) : void
info GameBase.Network.Internal.RoleData_Eudemon
return void

SetMosterInfo() public method

public SetMosterInfo ( GameStruct info ) : void
info GameStruct
return void

SetRiding() public method

public SetRiding ( bool v ) : void
v bool
return void

SetState() public method

public SetState ( EUDEMONSTATE _state ) : void
_state EUDEMONSTATE
return void