clean up, format code

This commit is contained in:
Hash Borgir 2023-06-01 23:33:56 -06:00
parent 8c782c7d81
commit de01891afb

View File

@ -22,6 +22,7 @@ class D2CharStructureData {
* @var
*/
public $skills;
/**
* @var string[]
*/
@ -34,6 +35,7 @@ class D2CharStructureData {
5 => 'Druid',
6 => 'Assassin'
];
/**
* @var string[]
*/
@ -47,6 +49,7 @@ class D2CharStructureData {
6 => 'Ladder',
7 => ''
];
/**
* @var string[]
*/
@ -68,6 +71,7 @@ class D2CharStructureData {
14 => '',
15 => '',
];
/**
* @var string[]
*/
@ -89,6 +93,7 @@ class D2CharStructureData {
14 => '',
15 => '',
];
/**
* @var string[]
*/
@ -110,6 +115,7 @@ class D2CharStructureData {
14 => 'Patriarch / Matriarch ',
15 => 'Patriarch / Matriarch ',
];
/**
* @var string[]
*/
@ -131,6 +137,7 @@ class D2CharStructureData {
14 => 'Guardian',
15 => 'Guardian',
];
/**
* @var int[]
*/
@ -169,6 +176,7 @@ class D2CharStructureData {
633 => 81, // Waypoints
714 => 51, // NPC Introductions
];
/**
* @var string[]
*/
@ -216,6 +224,7 @@ class D2CharStructureData {
425 => 'Eve_Of_Destruction',
// read 425, pointer at 427, + 14 = 441 qNM offset
];
/**
* @var string[]
*/
@ -263,6 +272,7 @@ class D2CharStructureData {
521 => 'Eve_Of_Destruction',
// read 521, pointer at 523, + 14 = 537 qHell offset
];
/**
* @var string[]
*/
@ -309,6 +319,7 @@ class D2CharStructureData {
615 => 'Rite_Of_Passage',
617 => 'Eve_Of_Destruction',
];
/**
* @var string[]
*/
@ -319,20 +330,25 @@ class D2CharStructureData {
92 => "v1.09 (both the standard game and the Expansion Set.)",
96 => "v1.10+"
];
/**
* @var int
*/
public $wpOffsetsNorm = 643;
/**
* @var int
*/
public $wpOffsetsNM = 667;
/**
* @var int
*/
public $wpOffsetsHell = 691;
/**
* @var string[]
* These are bit positions
*/
public $wpNames = [
0 => 'Act 1 - Rogue_Encampment',
@ -375,14 +391,58 @@ class D2CharStructureData {
37 => "Act 5 - The_Ancients_Way",
38 => 'Act 5 - Worldstone_Keep_level_2'
];
public $wpNames_flipped = array(
'Act_1_-_Rogue_Encampment' => 0,
'Act_1_-_Cold_Plains' => 1,
'Act_1_-_Stony_Field' => 2,
'Act_1_-_Dark_Wood' => 3,
'Act_1_-_Black_Marsh' => 4,
'Act_1_-_Outer_Cloister' => 5,
'Act_1_-_Jail_level_1' => 6,
'Act_1_-_Inner_Cloister' => 7,
'Act_1_-_Catacombs_level_2' => 8,
'Act_2_-_Lut_Gholein' => 9,
'Act_2_-_Sewers_level_2' => 10,
'Act_2_-_Dry_Hills' => 11,
'Act_2_-_Halls_of_the_Dead_level_2' => 12,
'Act_2_-_Far_Oasis' => 13,
'Act_2_-_Lost_City' => 14,
'Act_2_-_Palace_Cellar_level_1' => 15,
'Act_2_-_Arcane_Sanctuary' => 16,
'Act_2_-_Canyon_of_the_Magi' => 17,
'Act_3_-_Kurast_Docks' => 18,
'Act_3_-_Spider_Forest' => 19,
'Act_3_-_Great_Marsh' => 20,
'Act_3_-_Flayer_Jungle' => 21,
'Act_3_-_Lower_Kurast' => 22,
'Act_3_-_Kurast_Bazaar' => 23,
'Act_3_-_Upper_Kurast' => 24,
'Act_3_-_Travincal' => 25,
'Act_3_-_Durance_of_Hate_level_2' => 26,
'Act_4_-_Pandemonium_Fortress' => 27,
'Act_4_-_City_of_the_Damned' => 28,
'Act_4_-_River_of_Flames' => 29,
'Act_5_-_Harrogath' => 30,
'Act_5_-_Frigid_Highlands' => 31,
'Act_5_-_Arreat_Plateau' => 32,
'Act_5_-_Crystalline_Passage' => 33,
'Act_5_-_Halls_of_Pain' => 34,
'Act_5_-_Glacial_Trail' => 35,
'Act_5_-_Frozen_Tundra' => 36,
'Act_5_-_The_Ancients_Way' => 37,
'Act_5_-_Worldstone_Keep_level_2' => 38,
);
/**
* @var int[]|string[]
*/
public $_qNorm;
/**
* @var int[]|string[]
*/
public $_qNM;
/**
* @var int[]|string[]
*/