C# 클래스 FFACETools.FFACE.NPCTools

Wrapper class for NPC information from FFACE
파일 보기 프로젝트 열기: golfandsurf/Campah 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

메소드 상세

ClaimedID() 공개 메소드

Server ID of the person who first claimed the mob
public ClaimedID ( int id ) : int
id int
리턴 int

Distance() 공개 메소드

NPC's distance from player
public Distance ( int id ) : double
id int
리턴 double

GetPosition() 공개 메소드

Gets the position of the NPC
public GetPosition ( int id ) : Position
id int
리턴 Position

HPPCurrent() 공개 메소드

NPC's current hit point percent
public HPPCurrent ( int id ) : short
id int
리턴 short

IsActive() 공개 메소드

Whether the NPC is active or not
public IsActive ( int id ) : bool
id int
리턴 bool

IsClaimed() 공개 메소드

Whether the NPC is claimed or not
public IsClaimed ( int id ) : bool
id int
리턴 bool

NPCBit() 공개 메소드

If the NPC is rendered on the screen
public NPCBit ( int id ) : byte
id int
리턴 byte

NPCTools() 공개 메소드

Constructor
public NPCTools ( int instanceID ) : System
instanceID int Instance ID generated from FFACE
리턴 System

NPCType() 공개 메소드

Type of NPC
public NPCType ( int id ) : NPCType
id int
리턴 NPCType

Name() 공개 메소드

Name of the NPC
public Name ( int id ) : string
id int
리턴 string

PetID() 공개 메소드

Uses player index to get PetID
public PetID ( int id ) : int
id int
리턴 int

PosH() 공개 메소드

H position of the NPC
public PosH ( int id ) : float
id int
리턴 float

PosX() 공개 메소드

X position of the NPC
public PosX ( int id ) : float
id int
리턴 float

PosY() 공개 메소드

Y position of the NPC
public PosY ( int id ) : float
id int
리턴 float

PosZ() 공개 메소드

Z position of the NPC
public PosZ ( int id ) : float
id int
리턴 float

Status() 공개 메소드

NPC's status
public Status ( int id ) : Status
id int
리턴 Status

TPCurrent() 공개 메소드

NPC's current TP
public TPCurrent ( int id ) : short
id int
리턴 short