mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-14 00:44:23 -05:00
more d2s parsing, refactor
This commit is contained in:
40
src/D2ItemStructureData.php
Normal file
40
src/D2ItemStructureData.php
Normal 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;
|
||||
|
||||
}
|
Reference in New Issue
Block a user