C# Class FFACETools.FFACE.MenuTools

Wrapper class for menu information from FFACE
Mostra file Open project: golfandsurf/Campah

Private Properties

Property Type Description
OpenTradeMenuThread void

Public Methods

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

Private Methods

Method Description
OpenTradeMenuThread ( int TargetID ) : void

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

Method Details

GetDialogText() public method

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

GetDialogText() public method

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

MenuTools() public method

Constructor
public MenuTools ( FFACE fface ) : System
fface FFACE
return System

OpenTradeMenu() public method

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.
return void

SetCraftItems() public method

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

SetNPCTradeInformation() public method

public SetNPCTradeInformation ( NPCTRADEINFO sTinfo ) : bool
sTinfo NPCTRADEINFO NPCTRADEINFO structure
return bool

SetTradeGil() public method

public SetTradeGil ( uint Gil ) : bool
Gil uint
return bool