C# Class FFACETools.FFACE.MenuTools

Wrapper class for menu information from FFACE
Afficher le fichier Open project: golfandsurf/Campah

Private Properties

Свойство Type Description
OpenTradeMenuThread void

Méthodes publiques

Méthode 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

Méthode Description
OpenTradeMenuThread ( int TargetID ) : void

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

Method Details

GetDialogText() public méthode

Returns a class containing the dialog text
public GetDialogText ( ) : DialogText
Résultat DialogText

GetDialogText() public méthode

Returns a class containing the dialog text
public GetDialogText ( LineSettings lineSettings ) : DialogText
lineSettings LineSettings
Résultat DialogText

MenuTools() public méthode

Constructor
public MenuTools ( FFACE fface ) : System
fface FFACE
Résultat System

OpenTradeMenu() public méthode

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.
Résultat void

SetCraftItems() public méthode

Set items in craft window
public SetCraftItems ( NPCTRADEINFO sTinfo ) : bool
sTinfo NPCTRADEINFO NPCTRADEINFO structure
Résultat bool

SetNPCTradeInformation() public méthode

public SetNPCTradeInformation ( NPCTRADEINFO sTinfo ) : bool
sTinfo NPCTRADEINFO NPCTRADEINFO structure
Résultat bool

SetTradeGil() public méthode

public SetTradeGil ( uint Gil ) : bool
Gil uint
Résultat bool