C# 클래스 FFACETools.FFACE.MenuTools

Wrapper class for menu information from FFACE
파일 보기 프로젝트 열기: golfandsurf/Campah

Private Properties

프로퍼티 타입 설명
OpenTradeMenuThread void

공개 메소드들

메소드 설명
GetDialogText ( ) : DialogText

Returns a class containing the dialog text

GetDialogText ( LineSettings lineSettings ) : DialogText

Returns a class containing the dialog text

MenuTools ( FFACE fface ) : System

Constructor

OpenTradeMenu ( int TargetID ) : void

Starts a separate thread that sends key commands in an attempt to Trade with an NPC ONLY. Keeps attempting for 30 seconds. Does not work well with PC Trade menu!!

SetCraftItems ( NPCTRADEINFO sTinfo ) : bool

Set items in craft window

SetNPCTradeInformation ( NPCTRADEINFO sTinfo ) : bool
SetTradeGil ( uint Gil ) : bool

비공개 메소드들

메소드 설명
OpenTradeMenuThread ( int TargetID ) : void

Internal function that handled opening the Trade Menu depending on current state.

메소드 상세

GetDialogText() 공개 메소드

Returns a class containing the dialog text
public GetDialogText ( ) : DialogText
리턴 DialogText

GetDialogText() 공개 메소드

Returns a class containing the dialog text
public GetDialogText ( LineSettings lineSettings ) : DialogText
lineSettings LineSettings
리턴 DialogText

MenuTools() 공개 메소드

Constructor
public MenuTools ( FFACE fface ) : System
fface FFACE
리턴 System

OpenTradeMenu() 공개 메소드

Starts a separate thread that sends key commands in an attempt to Trade with an NPC ONLY. Keeps attempting for 30 seconds. Does not work well with PC Trade menu!!
public OpenTradeMenu ( int TargetID ) : void
TargetID int Target ID of the NPC ONLY to trade with.
리턴 void

SetCraftItems() 공개 메소드

Set items in craft window
public SetCraftItems ( NPCTRADEINFO sTinfo ) : bool
sTinfo NPCTRADEINFO NPCTRADEINFO structure
리턴 bool

SetNPCTradeInformation() 공개 메소드

public SetNPCTradeInformation ( NPCTRADEINFO sTinfo ) : bool
sTinfo NPCTRADEINFO NPCTRADEINFO structure
리턴 bool

SetTradeGil() 공개 메소드

public SetTradeGil ( uint Gil ) : bool
Gil uint
리턴 bool