Static Public Member Functions | |
| static mixed | ParseDefFile (mixed filename) |
| static mixed | GetListFromDefTable (mixed defTable, mixed key0, mixed key1, mixed key2, mixed key3, mixed key4) |
| static mixed | GetReplacementFromEquipconvDef (mixed defTable, mixed bodyType, mixed equipmentID) |
Definition at line 1698 of file lua_pseudo_code.cpp.
| static mixed deffileparser::ParseDefFile | ( | mixed | filename | ) | [inline, static] |
format: INDEX SPACE DATA1 SPACE DATA2 ... will return table with entries like: table[INDEX] = {0=INDEX,1=DATA1,2=DATA2,...}
Definition at line 1702 of file lua_pseudo_code.cpp.
| static mixed deffileparser::GetListFromDefTable | ( | mixed | defTable, | |
| mixed | key0, | |||
| mixed | key1, | |||
| mixed | key2, | |||
| mixed | key3, | |||
| mixed | key4 | |||
| ) | [inline, static] |
returns a list (max 5 kes) of the values from one line of the deffile. to select the line key0-4 are used as column0-4 search-for-values. if a key is nil, it will be ignored, the not nil keys are combined using AND ie. GetListFromDefTable(defTable, 10, 20, nil, 30, nil), to get the line where col0=10 and col1=20 and col3=30
Definition at line 1707 of file lua_pseudo_code.cpp.
| static mixed deffileparser::GetReplacementFromEquipconvDef | ( | mixed | defTable, | |
| mixed | bodyType, | |||
| mixed | equipmentID | |||
| ) | [inline, static] |
equivconv.def returns new values for convertToID GumpIDToUse hue if bodytype and equipment id are given all values are nil if there is no replacement data TODO untested
Definition at line 1715 of file lua_pseudo_code.cpp.
1.5.6