Enumerations | |
| enum | PATTERN_REFUGEE |
| enum | PATTERN_AMPLI |
| enum | PATTERN_WEAPON |
| enum | PATTERN_RANGE |
| enum | PATTERN_ARMOR |
| enum | PATTERN_ARMOR_CP |
| enum | PATTERN_SHIELD |
| enum | PATTERN_JEWEL |
| enum | PATTERN_MATERIAL_LOOT |
| enum | PATTERN_MATERIAL_HARVEST |
| enum | PATTERN_ELSE |
Functions | |
| parse_guild (&$xml) | |
| parse_character (&$xml) | |
| parse_item (&$xml, $xml_path, $chest) | |
| parse_an_item (&$item, $chest) | |
| creat1 (&$item, $chest, $matches, &$item_obj) | |
| creat2 (&$item, $chest, $matches, &$item_obj) | |
| creat3 (&$item, $chest, $matches, &$item_obj) | |
| creat4 (&$item, $chest, $matches, &$item_obj) | |
| creat5 (&$item, $chest, $matches, &$item_obj) | |
| creat6 (&$item, $chest, $matches, &$item_obj) | |
| creat7 (&$item, $chest, $matches, &$item_obj) | |
| creat8 (&$item, $chest, $matches, &$item_obj) | |
| creat9 (&$item, $chest, $matches, &$item_obj) | |
| creat10 (&$item, $chest, $matches, &$item_obj) | |
| creat11 (&$item, $chest, $matches, &$item_obj) | |
Variables | |
| $pattern_list | |
| $room_list | |
| $pfonc_list | |
| enum PATTERN_AMPLI |
| enum PATTERN_ARMOR |
| enum PATTERN_ARMOR_CP |
| enum PATTERN_ELSE |
| enum PATTERN_JEWEL |
| enum PATTERN_RANGE |
| enum PATTERN_REFUGEE |
| enum PATTERN_SHIELD |
| enum PATTERN_WEAPON |
| creat1 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat10 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat11 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat2 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat3 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat4 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat5 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat6 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat7 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat8 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| creat9 | ( | &$ | item, | |
| $ | chest, | |||
| $ | matches, | |||
| &$ | item_obj | |||
| ) |
| parse_an_item | ( | &$ | item, | |
| $ | chest | |||
| ) |
| parse_character | ( | &$ | xml | ) |
For one character, parses its xml file and builds its object which are in his apartment.
| xml | <simplexml> the xml file |
| parse_guild | ( | &$ | xml | ) |
For one guild, parses its xml file and builds its object which are in its hall.
| xml | <simplexml> the xml file |
| parse_item | ( | &$ | xml, | |
| $ | xml_path, | |||
| $ | chest | |||
| ) |
| $pattern_list |
Initial value:
array (
PATTERN_REFUGEE => '/^icr(.*)?\.sitem/',
PATTERN_AMPLI => '/^ic(.|(oka[rm]))m2ms([lbwe]|_[123])?\.sitem/',
PATTERN_WEAPON => '/^ic(.|(oka[rm]))m(1|2)(.{2})([lbwe]|_[123])?\.sitem/',
PATTERN_RANGE => '/^ic(.|(oka[rm]))r(1|2)(.)([lbwe]|_[123])?\.sitem/',
PATTERN_ARMOR => '/^ic(.)a([h|l|m])([bghpsv])(_[23b])?\.sitem/',
PATTERN_ARMOR_CP => '/^ic(.)a(cp)(_[23])?\.sitem/',
PATTERN_SHIELD => '/^ic(.)s[sb]([lbwe]|_[23])?\.sitem/',
PATTERN_JEWEL => '/^ic(.)j([abdepr])(_[23b])?\.sitem/',
PATTERN_MATERIAL_LOOT => '/^m([0-9]{4})c(.)(.)(.)(.)01\.sitem/',
PATTERN_MATERIAL_HARVEST => '/^m([0-9]{4})dxa(.)(.)01\.sitem/'
)
| $pfonc_list |
Initial value:
array (
PATTERN_REFUGEE => "creat1",
PATTERN_AMPLI => "creat2",
PATTERN_WEAPON => "creat3",
PATTERN_RANGE => "creat4",
PATTERN_ARMOR => "creat5",
PATTERN_ARMOR_CP => "creat6",
PATTERN_SHIELD => "creat7",
PATTERN_JEWEL => "creat8",
PATTERN_MATERIAL_LOOT => "creat9",
PATTERN_MATERIAL_HARVEST => "creat10",
PATTERN_ELSE => "creat11"
)
| $room_list |
Initial value:
array (
PATTERN_REFUGEE => ROOM_OTHER,
PATTERN_AMPLI => ROOM_AMPLI,
PATTERN_WEAPON => ROOM_ARMORY,
PATTERN_RANGE => ROOM_RANGE,
PATTERN_ARMOR => ROOM_DRESSING,
PATTERN_ARMOR_CP => ROOM_DRESSING,
PATTERN_SHIELD => ROOM_DRESSING,
PATTERN_JEWEL => ROOM_JEWEL,
PATTERN_MATERIAL_LOOT => ROOM_MATERIAL,
PATTERN_MATERIAL_HARVEST => ROOM_MATERIAL,
PATTERN_ELSE => ROOM_OTHER
)
1.5.9