C# Class CEngineSharp_Server.World.Entities.Npc

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
GetDamage ( ) : int
GetStat ( Stats stat ) : int
Interact ( IEntity interactor ) : void
MoveTo ( Vector vector, byte direction ) : void
Npc ( ) : System
Save ( string filePath ) : void
SetStat ( Stats stat, int value ) : 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

GetDamage() public méthode

public GetDamage ( ) : int
Résultat int

GetStat() public méthode

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

Interact() public méthode

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

MoveTo() public méthode

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

Npc() public méthode

public Npc ( ) : System
Résultat System

Save() public méthode

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

SetStat() public méthode

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