C# Class wServer.realm.entities.Player

Show file Open project: C453/OryxKingdom Class Usage Examples

Public Methods

Method Description
AOEAck ( RealmTime time, AOEAckPacket pkt ) : void
Damage ( int dmg, Character chr ) : void
Death ( string killer ) : void
GivePet ( short petId ) : void
GotoAck ( RealmTime time, GotoAckPacket pkt ) : void
HitByProjectile ( wServer.realm.entities.Projectile projectile, RealmTime time ) : bool
Init ( World owner ) : void
Move ( RealmTime time, MovePacket pkt ) : void
Player ( ClientProcessor psr ) : System
SaveToCharacter ( ) : void
Teleport ( RealmTime time, TeleportPacket pkt ) : void
Teleport ( RealmTime time, int objId ) : void
Tick ( RealmTime time ) : void
UsePortal ( RealmTime time, UsePortalPacket pkt ) : void
VisibulletHit ( VisibulletPacket pkt ) : void

Protected Methods

Method Description
ExportStats ( object>.IDictionary stats ) : void
ImportStats ( StatsType stats, object val ) : void

Private Methods

Method Description
CalcBoost ( ) : void
CheckResurrection ( ) : bool
GenerateGravestone ( ) : void
HandleRegen ( RealmTime time ) : void

Method Details

AOEAck() public method

public AOEAck ( RealmTime time, AOEAckPacket pkt ) : void
time RealmTime
pkt AOEAckPacket
return void

Damage() public method

public Damage ( int dmg, Character chr ) : void
dmg int
chr Character
return void

Death() public method

public Death ( string killer ) : void
killer string
return void

ExportStats() protected method

protected ExportStats ( object>.IDictionary stats ) : void
stats object>.IDictionary
return void

GivePet() public method

public GivePet ( short petId ) : void
petId short
return void

GotoAck() public method

public GotoAck ( RealmTime time, GotoAckPacket pkt ) : void
time RealmTime
pkt GotoAckPacket
return void

HitByProjectile() public method

public HitByProjectile ( wServer.realm.entities.Projectile projectile, RealmTime time ) : bool
projectile wServer.realm.entities.Projectile
time RealmTime
return bool

ImportStats() protected method

protected ImportStats ( StatsType stats, object val ) : void
stats StatsType
val object
return void

Init() public method

public Init ( World owner ) : void
owner World
return void

Move() public method

public Move ( RealmTime time, MovePacket pkt ) : void
time RealmTime
pkt MovePacket
return void

Player() public method

public Player ( ClientProcessor psr ) : System
psr ClientProcessor
return System

SaveToCharacter() public method

public SaveToCharacter ( ) : void
return void

Teleport() public method

public Teleport ( RealmTime time, TeleportPacket pkt ) : void
time RealmTime
pkt TeleportPacket
return void

Teleport() public method

public Teleport ( RealmTime time, int objId ) : void
time RealmTime
objId int
return void

Tick() public method

public Tick ( RealmTime time ) : void
time RealmTime
return void

UsePortal() public method

public UsePortal ( RealmTime time, UsePortalPacket pkt ) : void
time RealmTime
pkt UsePortalPacket
return void

VisibulletHit() public method

public VisibulletHit ( VisibulletPacket pkt ) : void
pkt VisibulletPacket
return void