C# Class FFACETools.FFACE.NPCTools

Wrapper class for NPC information from FFACE
Afficher le fichier Open project: golfandsurf/Campah Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ClaimedID ( int id ) : int

Server ID of the person who first claimed the mob

Distance ( int id ) : double

NPC's distance from player

GetPosition ( int id ) : Position

Gets the position of the NPC

HPPCurrent ( int id ) : short

NPC's current hit point percent

IsActive ( int id ) : bool

Whether the NPC is active or not

IsClaimed ( int id ) : bool

Whether the NPC is claimed or not

NPCBit ( int id ) : byte

If the NPC is rendered on the screen

NPCTools ( int instanceID ) : System

Constructor

NPCType ( int id ) : NPCType

Type of NPC

Name ( int id ) : string

Name of the NPC

PetID ( int id ) : int

Uses player index to get PetID

PosH ( int id ) : float

H position of the NPC

PosX ( int id ) : float

X position of the NPC

PosY ( int id ) : float

Y position of the NPC

PosZ ( int id ) : float

Z position of the NPC

Status ( int id ) : Status

NPC's status

TPCurrent ( int id ) : short

NPC's current TP

Method Details

ClaimedID() public méthode

Server ID of the person who first claimed the mob
public ClaimedID ( int id ) : int
id int
Résultat int

Distance() public méthode

NPC's distance from player
public Distance ( int id ) : double
id int
Résultat double

GetPosition() public méthode

Gets the position of the NPC
public GetPosition ( int id ) : Position
id int
Résultat Position

HPPCurrent() public méthode

NPC's current hit point percent
public HPPCurrent ( int id ) : short
id int
Résultat short

IsActive() public méthode

Whether the NPC is active or not
public IsActive ( int id ) : bool
id int
Résultat bool

IsClaimed() public méthode

Whether the NPC is claimed or not
public IsClaimed ( int id ) : bool
id int
Résultat bool

NPCBit() public méthode

If the NPC is rendered on the screen
public NPCBit ( int id ) : byte
id int
Résultat byte

NPCTools() public méthode

Constructor
public NPCTools ( int instanceID ) : System
instanceID int Instance ID generated from FFACE
Résultat System

NPCType() public méthode

Type of NPC
public NPCType ( int id ) : NPCType
id int
Résultat NPCType

Name() public méthode

Name of the NPC
public Name ( int id ) : string
id int
Résultat string

PetID() public méthode

Uses player index to get PetID
public PetID ( int id ) : int
id int
Résultat int

PosH() public méthode

H position of the NPC
public PosH ( int id ) : float
id int
Résultat float

PosX() public méthode

X position of the NPC
public PosX ( int id ) : float
id int
Résultat float

PosY() public méthode

Y position of the NPC
public PosY ( int id ) : float
id int
Résultat float

PosZ() public méthode

Z position of the NPC
public PosZ ( int id ) : float
id int
Résultat float

Status() public méthode

NPC's status
public Status ( int id ) : Status
id int
Résultat Status

TPCurrent() public méthode

NPC's current TP
public TPCurrent ( int id ) : short
id int
Résultat short