C# Class CEngineSharp_Server.World.Entities.Player

Inheritance: IEntity
Afficher le fichier Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Respawn ( ) : void

Method Details

Attack() public méthode

public Attack ( IEntity attacker ) : void
attacker IEntity
Résultat void

Die() public méthode

public Die ( IEntity murderer ) : void
murderer IEntity
Résultat void

DropItem() public méthode

public DropItem ( int slotNum ) : void
slotNum int
Résultat void

EnterGame() public méthode

public EnterGame ( ) : void
Résultat void

GetDamage() public méthode

public GetDamage ( ) : int
Résultat int

GetInventory() public méthode

public GetInventory ( ) : System.Item[]
Résultat System.Item[]

GetPlayerData() public méthode

public GetPlayerData ( ) : NetBuffer
Résultat Lidgren.Network.NetBuffer

GetStat() public méthode

public GetStat ( Stats stat ) : int
stat Stats
Résultat int

GiveItem() public méthode

public GiveItem ( System.Item item ) : void
item System.Item
Résultat void

Interact() public méthode

public Interact ( IEntity interactor ) : void
interactor IEntity
Résultat void

JoinMap() public méthode

public JoinMap ( Map map ) : void
map CEngineSharp_Server.World.Maps.Map
Résultat void

LeaveGame() public méthode

public LeaveGame ( ) : void
Résultat void

LeaveMap() public méthode

public LeaveMap ( bool leftGame ) : void
leftGame bool
Résultat void

MoveTo() public méthode

public MoveTo ( Vector vector, byte direction ) : void
vector CEngineSharp_Utilities.Vector
direction byte
Résultat void

Player() public méthode

public Player ( ) : System
Résultat System

Player() public méthode

public Player ( long index ) : System
index long
Résultat System

RemoveItem() public méthode

public RemoveItem ( System.Item item ) : void
item System.Item
Résultat void

RemoveItem() public méthode

public RemoveItem ( int slotNum ) : void
slotNum int
Résultat void

Save() public méthode

public Save ( string filePath ) : void
filePath string
Résultat void

SendInventory() public méthode

public SendInventory ( ) : void
Résultat void

SendMessage() public méthode

public SendMessage ( string message ) : void
message string
Résultat void

SendPlayerData() public méthode

public SendPlayerData ( ) : void
Résultat void

SendVitals() public méthode

public SendVitals ( ) : void
Résultat void

SetStat() public méthode

public SetStat ( Stats stat, int value ) : void
stat Stats
value int
Résultat void

TryPickupItem() public méthode

public TryPickupItem ( Vector mapItemPos ) : void
mapItemPos CEngineSharp_Utilities.Vector
Résultat void