C# Class MapServer.PlayerObject

Inheritance: BaseObject
Mostra file Open project: dream-young-soul/soul Class Usage Examples

Public Properties

Property Type Description
job byte
mAttribute GameStruct.PlayerAttribute
mSaveTime GameBase.Core.TimeOut

Public Methods

Method Description
AddExp ( int nDamage, int nAtkLev, int nDefLev ) : void
AddHotKeyInfo ( GameStruct info ) : void
Alive ( bool isSitu = false ) : void
BroadcastBuffer ( byte data, bool isThis = false ) : void
CalcAttribute ( ) : void
CalcFightSoul ( ) : void
CalcSex ( ) : void
CanPK ( BaseObject obj, bool bGoCrime = true ) : bool
ChangeAttribute ( GameStruct type, int value, bool isBrocat = true ) : void
ChangeFubenMap ( GameMap map, short x, short y ) : void
ChangeMap ( uint mapid, short x, short y ) : void
ChangeMoney ( MONEYTYPE type, int value ) : void
ChatNotice ( String text ) : void
ClearHotKey ( byte group ) : void
ClearScriptMenuLink ( ) : void
ClearThis ( ) : void
ClearThis ( PlayerObject play ) : void
Dispose ( ) : void
EnterGame ( GameBase _session, bool isFirst = false ) : void
ExitGame ( ) : void
FlyMap ( uint mapid, short x, short y, byte dir ) : void
GetBaseAttr ( ) : PlayerAttribute
GetCurrentAction ( ) : uint
GetCurrentNpcInfo ( ) : NPCInfo
GetCurrentPtichID ( ) : int
GetCurrentRandom ( ) : int
GetCurrentRemotePtichId ( ) : int
GetDefense ( ) : int
GetEudemonSystem ( ) : PlayerEudemon
GetFace ( ) : uint
GetFightSoul ( ) : int
GetFightSystem ( ) : PlayerFight
GetFriendSystem ( ) : PlayerFriend
GetGuanJue ( ) : GameStruct.GUANGJUELEVEL
GetHotKeyInfo ( ) : String
GetItemSystem ( ) : PlayerItem
GetJob ( ) : byte
GetLegionSystem ( ) : PlayerLegion
GetLevel ( ) : byte
GetLookFace ( ) : int
GetMagicAck ( ) : int
GetMagicDefense ( ) : int
GetMagicSystem ( ) : PlayerMagic
GetMaxAck ( ) : int
GetMaxMagixAck ( ) : int
GetMenuLink ( ) : uint>.Dictionary
GetMinAck ( ) : int
GetMoneyCount ( MONEYTYPE type ) : int
GetMountID ( ) : uint
GetPKSystem ( ) : PlayerPK
GetSex ( ) : byte
GetTaskID ( ) : uint
GetTeam ( ) : Team
GetTimerSystem ( ) : PlayerTimer
GetTradSystem ( ) : PlayerTrad
GetUseItemEudemonId ( ) : uint
Injured ( BaseObject obj, uint value, NetMsg info ) : void
IsDancing ( ) : bool
IsDie ( ) : bool
IsExit ( ) : bool
IsGM ( ) : bool
IsGhost ( ) : bool
IsMountState ( ) : bool
Kick ( ) : void
LeftNotice ( String text ) : void
Move ( NetMsg move ) : bool
MsgBox ( String text ) : void
OpenDialog ( int dwData ) : void
PlayAction ( uint action_id ) : void
PlayRobotAction ( uint action_id ) : void
PlayerObject ( ) : System
ProcessNetMsg ( ushort tag, byte netdata ) : void
Ptich ( ) : void
ReCallMap ( ) : void
RefreshRoleInfo ( ) : void
RefreshVisibleObject ( ) : void
ResetLevelExp ( ) : void
Run ( ) : bool
ScroolRandom ( short _x, short _y ) : void
SendDropItemInfo ( BaseObject obj ) : void
SendHotKeyInfo ( ) : void
SendMonsterInfo ( BaseObject obj ) : void
SendNpcInfo ( BaseObject obj ) : void
SendRoleInfo ( PlayerObject play ) : void
SendRoleMoveInfo ( BaseObject obj, byte runValue, RefreshObject _refobj ) : void
SetCurrentAction ( uint action ) : void
SetCurrentNpcInfo ( GameStruct info ) : void
SetCurrentPtichID ( int PtichId ) : void
SetCurrentRandom ( int nValue ) : void
SetCurrentRemotePtichId ( int RemotePtichId ) : void
SetDancing ( short nDancingId ) : void
SetExit ( bool _isExit ) : void
SetFace ( uint _face ) : void
SetGuanJue ( GameStruct info ) : void
SetHotKeyInfo ( String text ) : void
SetJob ( byte _job ) : void
SetPkMode ( byte pkmode ) : void
SetTaskID ( uint _id ) : void
SetTeam ( Team _team ) : void
SetTransmitIng ( bool v ) : void
SetUseItemEudemonId ( uint eudemon_id ) : void
SetZhaoHuanWuHuanObj ( BaseObject obj ) : void
TakeMount ( uint eudemon_id, uint nMountID ) : void
TakeOffMount ( uint eudemon_id ) : void
TransformGhost ( ) : void

Protected Methods

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

Private Methods

Method Description
SendJueweiNotice ( ) : void
SendRoleOtherSystemInfo ( ) : void

Method Details

AddExp() public method

public AddExp ( int nDamage, int nAtkLev, int nDefLev ) : void
nDamage int
nAtkLev int
nDefLev int
return void

AddHotKeyInfo() public method

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

Alive() public method

public Alive ( bool isSitu = false ) : void
isSitu bool
return void

BroadcastBuffer() public method

public BroadcastBuffer ( byte data, bool isThis = false ) : void
data byte
isThis bool
return void

CalcAttribute() public method

public CalcAttribute ( ) : void
return void

CalcFightSoul() public method

public CalcFightSoul ( ) : void
return void

CalcSex() public method

public CalcSex ( ) : void
return void

CanPK() public method

public CanPK ( BaseObject obj, bool bGoCrime = true ) : bool
obj BaseObject
bGoCrime bool
return bool

ChangeAttribute() public method

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

ChangeFubenMap() public method

public ChangeFubenMap ( GameMap map, short x, short y ) : void
map GameMap
x short
y short
return void

ChangeMap() public method

public ChangeMap ( uint mapid, short x, short y ) : void
mapid uint
x short
y short
return void

ChangeMoney() public method

public ChangeMoney ( MONEYTYPE type, int value ) : void
type MONEYTYPE
value int
return void

ChatNotice() public method

public ChatNotice ( String text ) : void
text String
return void

ClearHotKey() public method

public ClearHotKey ( byte group ) : void
group byte
return void

ClearScriptMenuLink() public method

public ClearScriptMenuLink ( ) : void
return void

ClearThis() public method

public ClearThis ( ) : void
return void

ClearThis() public method

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

Dispose() public method

public Dispose ( ) : void
return void

EnterGame() public method

public EnterGame ( GameBase _session, bool isFirst = false ) : void
_session GameBase
isFirst bool
return void

ExitGame() public method

public ExitGame ( ) : void
return void

FlyMap() public method

public FlyMap ( uint mapid, short x, short y, byte dir ) : void
mapid uint
x short
y short
dir byte
return void

GetBaseAttr() public method

public GetBaseAttr ( ) : PlayerAttribute
return GameStruct.PlayerAttribute

GetCurrentAction() public method

public GetCurrentAction ( ) : uint
return uint

GetCurrentNpcInfo() public method

public GetCurrentNpcInfo ( ) : NPCInfo
return GameStruct.NPCInfo

GetCurrentPtichID() public method

public GetCurrentPtichID ( ) : int
return int

GetCurrentRandom() public method

public GetCurrentRandom ( ) : int
return int

GetCurrentRemotePtichId() public method

public GetCurrentRemotePtichId ( ) : int
return int

GetDefense() public method

public GetDefense ( ) : int
return int

GetEudemonSystem() public method

public GetEudemonSystem ( ) : PlayerEudemon
return PlayerEudemon

GetFace() public method

public GetFace ( ) : uint
return uint

GetFightSoul() public method

public GetFightSoul ( ) : int
return int

GetFightSystem() public method

public GetFightSystem ( ) : PlayerFight
return PlayerFight

GetFriendSystem() public method

public GetFriendSystem ( ) : PlayerFriend
return PlayerFriend

GetGuanJue() public method

public GetGuanJue ( ) : GameStruct.GUANGJUELEVEL
return GameStruct.GUANGJUELEVEL

GetHotKeyInfo() public method

public GetHotKeyInfo ( ) : String
return String

GetItemSystem() public method

public GetItemSystem ( ) : PlayerItem
return PlayerItem

GetJob() public method

public GetJob ( ) : byte
return byte

GetLegionSystem() public method

public GetLegionSystem ( ) : PlayerLegion
return PlayerLegion

GetLevel() public method

public GetLevel ( ) : byte
return byte

GetLookFace() public method

public GetLookFace ( ) : int
return int

GetMagicAck() public method

public GetMagicAck ( ) : int
return int

GetMagicDefense() public method

public GetMagicDefense ( ) : int
return int

GetMagicSystem() public method

public GetMagicSystem ( ) : PlayerMagic
return PlayerMagic

GetMaxAck() public method

public GetMaxAck ( ) : int
return int

GetMaxMagixAck() public method

public GetMaxMagixAck ( ) : int
return int

GetMenuLink() public method

public GetMenuLink ( ) : uint>.Dictionary
return uint>.Dictionary

GetMinAck() public method

public GetMinAck ( ) : int
return int

GetMoneyCount() public method

public GetMoneyCount ( MONEYTYPE type ) : int
type MONEYTYPE
return int

GetMountID() public method

public GetMountID ( ) : uint
return uint

GetPKSystem() public method

public GetPKSystem ( ) : PlayerPK
return PlayerPK

GetSex() public method

public GetSex ( ) : byte
return byte

GetTaskID() public method

public GetTaskID ( ) : uint
return uint

GetTeam() public method

public GetTeam ( ) : Team
return Team

GetTimerSystem() public method

public GetTimerSystem ( ) : PlayerTimer
return PlayerTimer

GetTradSystem() public method

public GetTradSystem ( ) : PlayerTrad
return PlayerTrad

GetUseItemEudemonId() public method

public GetUseItemEudemonId ( ) : uint
return uint

Injured() public method

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

IsDancing() public method

public IsDancing ( ) : bool
return bool

IsDie() public method

public IsDie ( ) : bool
return bool

IsExit() public method

public IsExit ( ) : bool
return bool

IsGM() public method

public IsGM ( ) : bool
return bool

IsGhost() public method

public IsGhost ( ) : bool
return bool

IsMountState() public method

public IsMountState ( ) : bool
return bool

Kick() public method

public Kick ( ) : void
return void

LeftNotice() public method

public LeftNotice ( String text ) : void
text String
return void

Move() public method

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

MsgBox() public method

public MsgBox ( String text ) : void
text String
return void

OpenDialog() public method

public OpenDialog ( int dwData ) : void
dwData int
return void

PlayAction() public method

public PlayAction ( uint action_id ) : void
action_id uint
return void

PlayRobotAction() public method

public PlayRobotAction ( uint action_id ) : void
action_id uint
return void

PlayerObject() public method

public PlayerObject ( ) : System
return System

ProcessAction_Attack() protected method

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

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

ProcessNetMsg() public method

public ProcessNetMsg ( ushort tag, byte netdata ) : void
tag ushort
netdata byte
return void

Ptich() public method

public Ptich ( ) : void
return void

ReCallMap() public method

public ReCallMap ( ) : void
return void

RefreshRoleInfo() public method

public RefreshRoleInfo ( ) : void
return void

RefreshVisibleObject() public method

public RefreshVisibleObject ( ) : void
return void

ResetLevelExp() public method

public ResetLevelExp ( ) : void
return void

Run() public method

public Run ( ) : bool
return bool

ScroolRandom() public method

public ScroolRandom ( short _x, short _y ) : void
_x short
_y short
return void

SendDropItemInfo() public method

public SendDropItemInfo ( BaseObject obj ) : void
obj BaseObject
return void

SendHotKeyInfo() public method

public SendHotKeyInfo ( ) : void
return void

SendMonsterInfo() public method

public SendMonsterInfo ( BaseObject obj ) : void
obj BaseObject
return void

SendNpcInfo() public method

public SendNpcInfo ( BaseObject obj ) : void
obj BaseObject
return void

SendRoleInfo() public method

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

SendRoleMoveInfo() public method

public SendRoleMoveInfo ( BaseObject obj, byte runValue, RefreshObject _refobj ) : void
obj BaseObject
runValue byte
_refobj RefreshObject
return void

SetCurrentAction() public method

public SetCurrentAction ( uint action ) : void
action uint
return void

SetCurrentNpcInfo() public method

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

SetCurrentPtichID() public method

public SetCurrentPtichID ( int PtichId ) : void
PtichId int
return void

SetCurrentRandom() public method

public SetCurrentRandom ( int nValue ) : void
nValue int
return void

SetCurrentRemotePtichId() public method

public SetCurrentRemotePtichId ( int RemotePtichId ) : void
RemotePtichId int
return void

SetDancing() public method

public SetDancing ( short nDancingId ) : void
nDancingId short
return void

SetExit() public method

public SetExit ( bool _isExit ) : void
_isExit bool
return void

SetFace() public method

public SetFace ( uint _face ) : void
_face uint
return void

SetGuanJue() public method

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

SetHotKeyInfo() public method

public SetHotKeyInfo ( String text ) : void
text String
return void

SetJob() public method

public SetJob ( byte _job ) : void
_job byte
return void

SetPkMode() public method

public SetPkMode ( byte pkmode ) : void
pkmode byte
return void

SetTaskID() public method

public SetTaskID ( uint _id ) : void
_id uint
return void

SetTeam() public method

public SetTeam ( Team _team ) : void
_team Team
return void

SetTransmitIng() public method

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

SetUseItemEudemonId() public method

public SetUseItemEudemonId ( uint eudemon_id ) : void
eudemon_id uint
return void

SetZhaoHuanWuHuanObj() public method

public SetZhaoHuanWuHuanObj ( BaseObject obj ) : void
obj BaseObject
return void

TakeMount() public method

public TakeMount ( uint eudemon_id, uint nMountID ) : void
eudemon_id uint
nMountID uint
return void

TakeOffMount() public method

public TakeOffMount ( uint eudemon_id ) : void
eudemon_id uint
return void

TransformGhost() public method

public TransformGhost ( ) : void
return void

Property Details

job public_oe property

public byte job
return byte

mAttribute public_oe property

public PlayerAttribute,GameStruct mAttribute
return GameStruct.PlayerAttribute

mSaveTime public_oe property

public TimeOut,GameBase.Core mSaveTime
return GameBase.Core.TimeOut