C# Класс fItemPlugin.ItemRules.Interpreter

+---------------------------------------------------------------------------+ | _______ __ ______ __ ______ ||_ _| |_.-----.--------. | __ \.--.--.| |.-----.-----. |__ | | _| |_| _| -__| | | <| | || || -__|__ --| | __| ||_______|____|_____|__|__|__| |___|__||_____||__||_____|_____| |______| |+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +---------------------------------------------------------------------------+ | - Created by darkfriend77 +---------------------------------------------------------------------------+
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
itemDic object>.Dictionary

Открытые методы

Метод Описание
Interpreter ( ) : System

checkItem ( ACDItem item, ItemEvaluationType evaluationType ) : InterpreterAction

checkItem ( ItemEvaluationType evaluationType ) : InterpreterAction

checkPickUpItem ( int dynamicID, ItemType itemtype, string name, string internalname, ItemQuality quality, int level, bool onehanded, bool twohanded, int balanceid, ItemEvaluationType evaluationType ) : InterpreterAction

getFullItem ( ) : string

getVariableValue ( string key, object &obj ) : bool

logOut ( string str, InterpreterAction action, LogType logType ) : void

readConfiguration ( ) : void

Loads (or re-loads) the ItemRules configuration from settings and .dis entries

reloadFromUI ( ) : bool
reset ( ) : void

Приватные методы

Метод Описание
checkItemForMissingTranslation ( ACDItem item ) : void
evaluate ( string str, ParseErrors &parseErrors ) : bool

evaluateExpr ( string str, ParseErrors &parseErrors ) : object

fillDic ( ACDItem item ) : void

fillPickupDic ( int dynamicID, ItemType itemtype, string name, string internalname, ItemQuality quality, int level, bool onehanded, bool twohanded, int balanceid ) : void

getDistinctItemQualitiesList ( ) : List
getInterpreterAction ( string str ) : InterpreterAction

getParseErrors ( ParseErrors parseErrors ) : string

getTrinityItemQualityFromString ( object quality ) : TrinityItemQuality

logOut ( ItemEvaluationType evaluationType, string validRule, InterpreterAction action ) : void

readLinesToArray ( StreamReader streamReader, ArrayList array ) : ArrayList

Описание методов

Interpreter() публичный Метод

public Interpreter ( ) : System
Результат System

checkItem() публичный Метод

public checkItem ( ACDItem item, ItemEvaluationType evaluationType ) : InterpreterAction
item ACDItem
evaluationType ItemEvaluationType
Результат InterpreterAction

checkItem() публичный Метод

public checkItem ( ItemEvaluationType evaluationType ) : InterpreterAction
evaluationType ItemEvaluationType
Результат InterpreterAction

checkPickUpItem() публичный Метод

public checkPickUpItem ( int dynamicID, ItemType itemtype, string name, string internalname, ItemQuality quality, int level, bool onehanded, bool twohanded, int balanceid, ItemEvaluationType evaluationType ) : InterpreterAction
dynamicID int
itemtype ItemType
name string
internalname string
quality ItemQuality
level int
onehanded bool
twohanded bool
balanceid int
evaluationType ItemEvaluationType
Результат InterpreterAction

getFullItem() публичный Метод

public getFullItem ( ) : string
Результат string

getVariableValue() публичный статический Метод

public static getVariableValue ( string key, object &obj ) : bool
key string
obj object
Результат bool

logOut() публичный Метод

public logOut ( string str, InterpreterAction action, LogType logType ) : void
str string
action InterpreterAction
logType LogType
Результат void

readConfiguration() публичный Метод

Loads (or re-loads) the ItemRules configuration from settings and .dis entries
public readConfiguration ( ) : void
Результат void

reloadFromUI() публичный Метод

public reloadFromUI ( ) : bool
Результат bool

reset() публичный Метод

public reset ( ) : void
Результат void

Описание свойств

itemDic публичное статическое свойство

public static Dictionary itemDic
Результат object>.Dictionary