C# Class wServer.realm.entities.player.Player

Exibir arquivo Open project: C453/OryxKingdom Class Usage Examples

Public Properties

Property Type Description
TierItems1 string[]
maxChests int
tradeTarget Player
vanished bool

Public Methods

Method Description
AOEAck ( RealmTime time, wServer.cliPackets.AOEAckPacket pkt ) : void
AcceptTrade ( RealmTime time, wServer.cliPackets.AcceptTradePacket pkt ) : void
ActivateHealHp ( Player player, int amount, List pkts ) : void
CancelTrade ( RealmTime time, wServer.cliPackets.CancelTradePacket pkt ) : void
ChangeGuildRank ( RealmTime t, wServer.cliPackets.ChangeGuildRankPacket pkt ) : void
ChangeTrade ( RealmTime time, wServer.cliPackets.ChangeTradePacket pkt ) : void
CompareName ( string name ) : bool
CreateGuild ( RealmTime t, wServer.cliPackets.CreateGuildPacket pkt ) : void
Damage ( int dmg, Character chr ) : void
Death ( string killer ) : void
DropBag ( Item i ) : void
EnemyHit ( RealmTime time, wServer.cliPackets.EnemyHitPacket pkt ) : void
EnemyKilled ( Enemy enemy, int exp, bool killer ) : bool
GetStars ( ) : int
GivePet ( short petId ) : void
GotoAck ( RealmTime time, wServer.cliPackets.GotoAckPacket pkt ) : void
GuildRemove ( RealmTime t, GuildRemovePacket pkt ) : void
HasSlot ( int slot ) : bool
HitByProjectile ( Projectile projectile, RealmTime time ) : bool
Init ( World owner ) : void
InventoryDrop ( RealmTime time, wServer.cliPackets.InvDropPacket pkt ) : void
InventorySwap ( RealmTime time, wServer.cliPackets.InvSwapPacket pkt ) : void
InviteToGuild ( RealmTime t, GuildInvitePacket pkt ) : void
JoinGuild ( RealmTime t, wServer.cliPackets.JoinGuildPacket pkt ) : void
Move ( RealmTime time, wServer.cliPackets.MovePacket pkt ) : void
OtherHit ( RealmTime time, wServer.cliPackets.OtherHitPacket pkt ) : void
Player ( ClientProcessor psr ) : System
PlayerHit ( RealmTime time, wServer.cliPackets.PlayerHitPacket pkt ) : void
PlayerShoot ( RealmTime time, wServer.cliPackets.PlayerShootPacket pkt ) : void
PlayerText ( RealmTime time, wServer.cliPackets.PlayerTextPacket pkt ) : void
RequestTrade ( RealmTime time, wServer.cliPackets.RequestTradePacket pkt ) : void
ResolveGuildChatName ( ) : string
ResolveRankName ( int rank ) : string
SaveToCharacter ( ) : void
SendClientText ( string text ) : void
SendEnemy ( string name, string text ) : void
SendError ( string text ) : void
SendFail ( string text ) : void
SendGuild ( string text ) : void
SendHelp ( string text ) : void
SendInfo ( string text ) : void
SendText ( string sender, string text ) : void
ShootAck ( RealmTime time, wServer.cliPackets.ShootAckPacket pkt ) : void
SquareHit ( RealmTime time, wServer.cliPackets.SquareHitPacket pkt ) : void
SwapBackpack ( int num ) : bool
Teleport ( RealmTime time, wServer.cliPackets.TeleportPacket pkt ) : void
Teleport ( RealmTime time, int objId ) : void
TextBoxButton ( wServer.cliPackets.TextBoxButtonPacket pkt ) : void
Tick ( RealmTime time ) : void
UseItem ( RealmTime time, wServer.cliPackets.UseItemPacket pkt ) : void
UsePortal ( RealmTime time, wServer.cliPackets.UsePortalPacket pkt ) : void
VisibulletHit ( wServer.cliPackets.VisibulletPacket pkt ) : void

Protected Methods

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

Private Methods

Method Description
Activate ( RealmTime time, Item item, Position target ) : void
ActivateBoostStat ( Player player, int idxnew, List pkts ) : void
ActivateHealMp ( Player player, int amount, List pkts ) : void
ActivatePearl ( RealmTime time, Item item, Position target ) : void
ActivateShoot ( RealmTime time, Item item, Position target ) : void
AnnouncementRecieved ( string text ) : void
AuditItem ( IContainer container, Item item, int slot ) : bool
CalcBoost ( ) : void
CalculateFame ( ) : void
CheckLevelUp ( ) : bool
CheckResurrection ( ) : bool
CheckTradeTimeout ( RealmTime time ) : void
CmdBypass ( string names ) : bool
CmdReqRank ( int r ) : bool
Dist ( Entity a, Entity b ) : float
DoTrade ( ) : void
ExecCmd ( ICommand command, string args ) : void
FindQuest ( ) : Entity
GenerateGravestone ( ) : void
GetExpGoal ( int level ) : int
GetFameGoal ( int fame ) : int
GetLevelExp ( int level ) : int
GetNewEntities ( ) : IEnumerable
GetNewStatics ( int _x, int _y ) : IEnumerable
GetRemovedEntities ( ) : IEnumerable
GetRemovedStatics ( int _x, int _y ) : IEnumerable
GuildRecieved ( int objId, int stars, string from, string text ) : void
HandleQuest ( RealmTime time ) : void
HandleRegen ( RealmTime time ) : void
MaxPotionOnDeath ( List maxed ) : void
PoisonEnemy ( Enemy enemy, ActivateEffect eff ) : void
ProcessCmd ( string cmd, string args ) : void
SendNewTick ( RealmTime time ) : void
SendUpdate ( RealmTime time ) : void
TellRecieved ( int objId, int stars, string from, string to, string text ) : void
TradeTick ( RealmTime time ) : void

Method Details

AOEAck() public method

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

AcceptTrade() public method

public AcceptTrade ( RealmTime time, wServer.cliPackets.AcceptTradePacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.AcceptTradePacket
return void

ActivateHealHp() public static method

public static ActivateHealHp ( Player player, int amount, List pkts ) : void
player Player
amount int
pkts List
return void

CancelTrade() public method

public CancelTrade ( RealmTime time, wServer.cliPackets.CancelTradePacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.CancelTradePacket
return void

ChangeGuildRank() public method

public ChangeGuildRank ( RealmTime t, wServer.cliPackets.ChangeGuildRankPacket pkt ) : void
t RealmTime
pkt wServer.cliPackets.ChangeGuildRankPacket
return void

ChangeTrade() public method

public ChangeTrade ( RealmTime time, wServer.cliPackets.ChangeTradePacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.ChangeTradePacket
return void

CompareName() public method

public CompareName ( string name ) : bool
name string
return bool

CreateGuild() public method

public CreateGuild ( RealmTime t, wServer.cliPackets.CreateGuildPacket pkt ) : void
t RealmTime
pkt wServer.cliPackets.CreateGuildPacket
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

DropBag() public method

public DropBag ( Item i ) : void
i Item
return void

EnemyHit() public method

public EnemyHit ( RealmTime time, wServer.cliPackets.EnemyHitPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.EnemyHitPacket
return void

EnemyKilled() public method

public EnemyKilled ( Enemy enemy, int exp, bool killer ) : bool
enemy Enemy
exp int
killer bool
return bool

ExportStats() protected method

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

GetStars() public method

public GetStars ( ) : int
return int

GivePet() public method

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

GotoAck() public method

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

GuildRemove() public method

public GuildRemove ( RealmTime t, GuildRemovePacket pkt ) : void
t RealmTime
pkt wServer.cliPackets.GuildRemovePacket
return void

HasSlot() public method

public HasSlot ( int slot ) : bool
slot int
return bool

HitByProjectile() public method

public HitByProjectile ( Projectile projectile, RealmTime time ) : bool
projectile 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

InventoryDrop() public method

public InventoryDrop ( RealmTime time, wServer.cliPackets.InvDropPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.InvDropPacket
return void

InventorySwap() public method

public InventorySwap ( RealmTime time, wServer.cliPackets.InvSwapPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.InvSwapPacket
return void

InviteToGuild() public method

public InviteToGuild ( RealmTime t, GuildInvitePacket pkt ) : void
t RealmTime
pkt GuildInvitePacket
return void

JoinGuild() public method

public JoinGuild ( RealmTime t, wServer.cliPackets.JoinGuildPacket pkt ) : void
t RealmTime
pkt wServer.cliPackets.JoinGuildPacket
return void

Move() public method

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

OtherHit() public method

public OtherHit ( RealmTime time, wServer.cliPackets.OtherHitPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.OtherHitPacket
return void

Player() public method

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

PlayerHit() public method

public PlayerHit ( RealmTime time, wServer.cliPackets.PlayerHitPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.PlayerHitPacket
return void

PlayerShoot() public method

public PlayerShoot ( RealmTime time, wServer.cliPackets.PlayerShootPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.PlayerShootPacket
return void

PlayerText() public method

public PlayerText ( RealmTime time, wServer.cliPackets.PlayerTextPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.PlayerTextPacket
return void

RequestTrade() public method

public RequestTrade ( RealmTime time, wServer.cliPackets.RequestTradePacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.RequestTradePacket
return void

ResolveGuildChatName() public method

public ResolveGuildChatName ( ) : string
return string

ResolveRankName() public method

public ResolveRankName ( int rank ) : string
rank int
return string

SaveToCharacter() public method

public SaveToCharacter ( ) : void
return void

SendClientText() public method

public SendClientText ( string text ) : void
text string
return void

SendEnemy() public method

public SendEnemy ( string name, string text ) : void
name string
text string
return void

SendError() public method

public SendError ( string text ) : void
text string
return void

SendFail() public method

public SendFail ( string text ) : void
text string
return void

SendGuild() public method

public SendGuild ( string text ) : void
text string
return void

SendHelp() public method

public SendHelp ( string text ) : void
text string
return void

SendInfo() public method

public SendInfo ( string text ) : void
text string
return void

SendText() public method

public SendText ( string sender, string text ) : void
sender string
text string
return void

ShootAck() public method

public ShootAck ( RealmTime time, wServer.cliPackets.ShootAckPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.ShootAckPacket
return void

SquareHit() public method

public SquareHit ( RealmTime time, wServer.cliPackets.SquareHitPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.SquareHitPacket
return void

SwapBackpack() public method

public SwapBackpack ( int num ) : bool
num int
return bool

Teleport() public method

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

Teleport() public method

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

TextBoxButton() public method

public TextBoxButton ( wServer.cliPackets.TextBoxButtonPacket pkt ) : void
pkt wServer.cliPackets.TextBoxButtonPacket
return void

Tick() public method

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

UseItem() public method

public UseItem ( RealmTime time, wServer.cliPackets.UseItemPacket pkt ) : void
time RealmTime
pkt wServer.cliPackets.UseItemPacket
return void

UsePortal() public method

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

VisibulletHit() public method

public VisibulletHit ( wServer.cliPackets.VisibulletPacket pkt ) : void
pkt wServer.cliPackets.VisibulletPacket
return void

Property Details

TierItems1 public_oe property

public string[] TierItems1
return string[]

maxChests public_oe property

public int maxChests
return int

tradeTarget public_oe property

public Player,wServer.realm.entities.player tradeTarget
return Player

vanished public_oe property

public bool vanished
return bool