C# Class fItemPlugin.ItemRules.Interpreter

+---------------------------------------------------------------------------+ | _______ __ ______ __ ______ ||_ _| |_.-----.--------. | __ \.--.--.| |.-----.-----. |__ | | _| |_| _| -__| | | <| | || || -__|__ --| | __| ||_______|____|_____|__|__|__| |___|__||_____||__||_____|_____| |______| |+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +---------------------------------------------------------------------------+ | - Created by darkfriend77 +---------------------------------------------------------------------------+
Mostrar archivo Open project: herbfunk/Funky Class Usage Examples

Public Properties

Property Type Description
itemDic object>.Dictionary

Public Methods

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

Private Methods

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

Method Details

Interpreter() public method

public Interpreter ( ) : System
return System

checkItem() public method

public checkItem ( ACDItem item, ItemEvaluationType evaluationType ) : InterpreterAction
item ACDItem
evaluationType ItemEvaluationType
return InterpreterAction

checkItem() public method

public checkItem ( ItemEvaluationType evaluationType ) : InterpreterAction
evaluationType ItemEvaluationType
return InterpreterAction

checkPickUpItem() public method

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
return InterpreterAction

getFullItem() public method

public getFullItem ( ) : string
return string

getVariableValue() public static method

public static getVariableValue ( string key, object &obj ) : bool
key string
obj object
return bool

logOut() public method

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

readConfiguration() public method

Loads (or re-loads) the ItemRules configuration from settings and .dis entries
public readConfiguration ( ) : void
return void

reloadFromUI() public method

public reloadFromUI ( ) : bool
return bool

reset() public method

public reset ( ) : void
return void

Property Details

itemDic public_oe static_oe property

public static Dictionary itemDic
return object>.Dictionary