C# Class CEngineSharp_Server.World.Entities.Player

Inheritance: IEntity
Mostrar archivo Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Public Methods

Method Description
Attack ( IEntity attacker ) : void
Die ( IEntity murderer ) : void
DropItem ( int slotNum ) : void
EnterGame ( ) : void
GetDamage ( ) : int
GetInventory ( ) : System.Item[]
GetPlayerData ( ) : NetBuffer
GetStat ( Stats stat ) : int
GiveItem ( System.Item item ) : void
Interact ( IEntity interactor ) : void
JoinMap ( Map map ) : void
LeaveGame ( ) : void
LeaveMap ( bool leftGame ) : void
MoveTo ( Vector vector, byte direction ) : void
Player ( ) : System
Player ( long index ) : System
RemoveItem ( System.Item item ) : void
RemoveItem ( int slotNum ) : void
Save ( string filePath ) : void
SendInventory ( ) : void
SendMessage ( string message ) : void
SendPlayerData ( ) : void
SendVitals ( ) : void
SetStat ( Stats stat, int value ) : void
TryPickupItem ( Vector mapItemPos ) : void

Private Methods

Method Description
Respawn ( ) : void

Method Details

Attack() public method

public Attack ( IEntity attacker ) : void
attacker IEntity
return void

Die() public method

public Die ( IEntity murderer ) : void
murderer IEntity
return void

DropItem() public method

public DropItem ( int slotNum ) : void
slotNum int
return void

EnterGame() public method

public EnterGame ( ) : void
return void

GetDamage() public method

public GetDamage ( ) : int
return int

GetInventory() public method

public GetInventory ( ) : System.Item[]
return System.Item[]

GetPlayerData() public method

public GetPlayerData ( ) : NetBuffer
return Lidgren.Network.NetBuffer

GetStat() public method

public GetStat ( Stats stat ) : int
stat Stats
return int

GiveItem() public method

public GiveItem ( System.Item item ) : void
item System.Item
return void

Interact() public method

public Interact ( IEntity interactor ) : void
interactor IEntity
return void

JoinMap() public method

public JoinMap ( Map map ) : void
map CEngineSharp_Server.World.Maps.Map
return void

LeaveGame() public method

public LeaveGame ( ) : void
return void

LeaveMap() public method

public LeaveMap ( bool leftGame ) : void
leftGame bool
return void

MoveTo() public method

public MoveTo ( Vector vector, byte direction ) : void
vector CEngineSharp_Utilities.Vector
direction byte
return void

Player() public method

public Player ( ) : System
return System

Player() public method

public Player ( long index ) : System
index long
return System

RemoveItem() public method

public RemoveItem ( System.Item item ) : void
item System.Item
return void

RemoveItem() public method

public RemoveItem ( int slotNum ) : void
slotNum int
return void

Save() public method

public Save ( string filePath ) : void
filePath string
return void

SendInventory() public method

public SendInventory ( ) : void
return void

SendMessage() public method

public SendMessage ( string message ) : void
message string
return void

SendPlayerData() public method

public SendPlayerData ( ) : void
return void

SendVitals() public method

public SendVitals ( ) : void
return void

SetStat() public method

public SetStat ( Stats stat, int value ) : void
stat Stats
value int
return void

TryPickupItem() public method

public TryPickupItem ( Vector mapItemPos ) : void
mapItemPos CEngineSharp_Utilities.Vector
return void