more d2s parsing, refactor

This commit is contained in:
Hash Borgir
2022-06-21 07:06:41 -06:00
parent 5907c8c8d3
commit 5c00d05494
9 changed files with 342 additions and 66 deletions

View File

@@ -0,0 +1,40 @@
<?php
class D2ItemLocation {
//location
const STORED = 0;
const EQUIPPED = 1;
const BELTI = 2;
const CURSOR = 4;
const ITEM = 6;
}
class D2ItemLocationStored {
//storage
const NONE = 0;
const INVENTORY = 1;
const CUBE = 4;
const STASH = 5;
}
class D2ItemLocationBody {
//body parts
const HELMET = 1;
const AMULET = 2;
const ARMOR = 3;
const WEAPONR = 4;
const WEAPONL = 5;
const RINGR = 6;
const RINGL = 7;
const BELT = 8;
const BOOTS = 9;
const GLOVES = 10;
const WEAPONR2 = 11;
const WEAPONL2 = 12;
}