Checksum code fixed. Added DocBlocks to D2Classes. TODO: Fill in docblocks, refactor, code cleanup

This commit is contained in:
Hash Borgir
2022-07-06 17:41:24 -06:00
parent f3b24de2a8
commit eb28039f88
28 changed files with 1285 additions and 340 deletions

View File

@@ -1,40 +1,112 @@
<?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;
}