C# Class MapServer.BaseObject

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

Public Properties

Property Type Description
Name String
mGameMap GameMap
mVisibleList RefreshObject>.Dictionary
session GameBase.Network.GameSession
type byte

Protected Properties

Property Type Description
gameid uint
id uint
typeid uint

Public Methods

Method Description
AddVisibleObject ( BaseObject obj, bool bRefreshTag = true ) : void
AdjustExp ( int exp ) : int
BaseObject ( ) : System
BrocatBuffer ( byte msg ) : void
CalcAttribute ( ) : void
CanPK ( BaseObject obj, bool bGoCrime = true ) : bool
CheckLockTime ( ) : bool
ClearThis ( ) : void
Dispose ( ) : void
GetCurrentX ( ) : short
GetCurrentY ( ) : short
GetDefense ( ) : int
GetDir ( ) : byte
GetGameID ( ) : uint
GetGameMap ( ) : GameMap
GetGamePackKeyEx ( ) : GamePacketKeyEx
GetGameSession ( ) : GameSession
GetID ( ) : uint
GetLastWalkTime ( ) : int
GetLevel ( ) : byte
GetLuck ( ) : int
GetMagicAck ( ) : int
GetMagicDefense ( ) : int
GetMaxAck ( ) : int
GetMaxMagixAck ( ) : int
GetMinAck ( ) : int
GetName ( ) : String
GetPoint ( ) : Point
GetTypeId ( ) : uint
GetVisibleList ( ) : RefreshObject>.Dictionary
GetWalkTime ( ) : int
Injured ( BaseObject obj, uint value, NetMsg info ) : void
IsDie ( ) : bool
IsLock ( ) : bool
Lock ( int time, bool isSendData = true ) : void
PopAction ( ) : Action
ProcessAction ( GameStruct act ) : void
PushAction ( GameStruct act ) : void
RefreshVisibleObject ( ) : void
Run ( ) : bool
Run ( byte dir, int ucMode ) : void
SendData ( byte data, bool isEncode = false ) : void
SetDir ( byte dir ) : void
SetGameSession ( GameBase _session ) : void
SetID ( uint __id ) : void
SetLastWalkTime ( int _lasttime ) : void
SetName ( String _name ) : void
SetPoint ( short x, short y ) : void
SetWalkTime ( int _time ) : void
UnLock ( bool isSendData = true ) : void
Walk ( byte dir ) : void
Walk ( byte dir, short x, short y ) : void

Protected Methods

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

Method Details

AddVisibleObject() public method

public AddVisibleObject ( BaseObject obj, bool bRefreshTag = true ) : void
obj BaseObject
bRefreshTag bool
return void

AdjustExp() public method

public AdjustExp ( int exp ) : int
exp int
return int

BaseObject() public method

public BaseObject ( ) : System
return System

BrocatBuffer() public method

public BrocatBuffer ( byte msg ) : void
msg byte
return void

CalcAttribute() public method

public CalcAttribute ( ) : void
return void

CanPK() public method

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

CheckLockTime() public method

public CheckLockTime ( ) : bool
return bool

ClearThis() public method

public ClearThis ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetCurrentX() public method

public GetCurrentX ( ) : short
return short

GetCurrentY() public method

public GetCurrentY ( ) : short
return short

GetDefense() public method

public GetDefense ( ) : int
return int

GetDir() public method

public GetDir ( ) : byte
return byte

GetGameID() public method

public GetGameID ( ) : uint
return uint

GetGameMap() public method

public GetGameMap ( ) : GameMap
return GameMap

GetGamePackKeyEx() public method

public GetGamePackKeyEx ( ) : GamePacketKeyEx
return GameBase.Network.GamePacketKeyEx

GetGameSession() public method

public GetGameSession ( ) : GameSession
return GameBase.Network.GameSession

GetID() public method

public GetID ( ) : uint
return uint

GetLastWalkTime() public method

public GetLastWalkTime ( ) : int
return int

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

GetMaxAck() public method

public GetMaxAck ( ) : int
return int

GetMaxMagixAck() public method

public GetMaxMagixAck ( ) : int
return int

GetMinAck() public method

public GetMinAck ( ) : int
return int

GetName() public method

public GetName ( ) : String
return String

GetPoint() public method

public GetPoint ( ) : Point
return GameStruct.Point

GetTypeId() public method

public GetTypeId ( ) : uint
return uint

GetVisibleList() public method

public GetVisibleList ( ) : RefreshObject>.Dictionary
return RefreshObject>.Dictionary

GetWalkTime() public method

public GetWalkTime ( ) : int
return int

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

IsLock() public method

public IsLock ( ) : bool
return bool

Lock() public method

public Lock ( int time, bool isSendData = true ) : void
time int
isSendData bool
return void

PopAction() public method

public PopAction ( ) : Action
return GameStruct.Action

ProcessAction() public method

public ProcessAction ( GameStruct act ) : void
act GameStruct
return void

ProcessAction_Alive() protected method

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

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

PushAction() public method

public PushAction ( GameStruct act ) : void
act GameStruct
return void

RefreshVisibleObject() public method

public RefreshVisibleObject ( ) : void
return void

Run() public method

public Run ( ) : bool
return bool

Run() public method

public Run ( byte dir, int ucMode ) : void
dir byte
ucMode int
return void

SendData() public method

public SendData ( byte data, bool isEncode = false ) : void
data byte
isEncode bool
return void

SetDir() public method

public SetDir ( byte dir ) : void
dir byte
return void

SetGameSession() public method

public SetGameSession ( GameBase _session ) : void
_session GameBase
return void

SetID() public method

public SetID ( uint __id ) : void
__id uint
return void

SetLastWalkTime() public method

public SetLastWalkTime ( int _lasttime ) : void
_lasttime int
return void

SetName() public method

public SetName ( String _name ) : void
_name String
return void

SetPoint() public method

public SetPoint ( short x, short y ) : void
x short
y short
return void

SetWalkTime() public method

public SetWalkTime ( int _time ) : void
_time int
return void

UnLock() public method

public UnLock ( bool isSendData = true ) : void
isSendData bool
return void

Walk() public method

public Walk ( byte dir ) : void
dir byte
return void

Walk() public method

public Walk ( byte dir, short x, short y ) : void
dir byte
x short
y short
return void

Property Details

Name public_oe property

public String Name
return String

gameid protected_oe property

protected uint gameid
return uint

id protected_oe property

protected uint id
return uint

mGameMap public_oe property

public GameMap,MapServer mGameMap
return GameMap

mVisibleList public_oe property

public Dictionary mVisibleList
return RefreshObject>.Dictionary

session public_oe property

public GameSession,GameBase.Network session
return GameBase.Network.GameSession

type public_oe property

public byte type
return byte

typeid protected_oe property

protected uint typeid
return uint