C# Класс FFACETools.FFACE.MenuTools

Wrapper class for menu information from FFACE
Показать файл Открыть проект

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