C# Class CEngineSharp_Server.World.Entities.Npc

Inheritance: IEntity
Exibir arquivo Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Public Methods

Method 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 method

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

Die() public method

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

GetDamage() public method

public GetDamage ( ) : int
return int

GetStat() public method

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

Interact() public method

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

MoveTo() public method

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

Npc() public method

public Npc ( ) : System
return System

Save() public method

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

SetStat() public method

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