Skip to content

Commit

Permalink
Definitions of clients and expandsions from RunUO, by Mauricio
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoescribano committed Apr 5, 2017
1 parent 50cfd88 commit 0766df9
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
32 changes: 32 additions & 0 deletions core/defs/clients.def.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/**
* Ultima PHP - OpenSource Ultima Online Server written in PHP
* Version: 0.1 - Pre Alpha
*/

abstract class clientDefs {
const CLIENT_NONE = 0x00000000;
const CLIENT_T2A = 0x00000001;
const CLIENT_UOR = 0x00000002;
const CLIENT_UOTD = 0x00000004;
const CLIENT_LBR = 0x00000008;
const CLIENT_AOS = 0x00000010;
const CLIENT_SIXTHCHARACTERSLOT = 0x00000020;
const CLIENT_SE = 0x00000040;
const CLIENT_ML = 0x00000080;
const CLIENT_EIGTHAGE = 0x00000100;
const CLIENT_NINTHAGE = 0x00000200; /* CRYSTAL/SHADOW CUSTOM HOUSE TILES */
const CLIENT_TENTHAGE = 0x00000400;
const CLIENT_INCREASEDSTORAGE = 0x00000800; /* INCREASED HOUSING/BANK STORAGE */
const CLIENT_SEVENTHCHARACTERSLOT = 0x00001000;
const CLIENT_ROLEPLAYFACES = 0x00002000;
const CLIENT_TRIALACCOUNT = 0x00004000;
const CLIENT_LIVEACCOUNT = 0x00008000;
const CLIENT_SA = 0x00010000;
const CLIENT_HS = 0x00020000;
const CLIENT_GOTHIC = 0x00040000;
const CLIENT_RUSTIC = 0x00080000;
const CLIENT_JUNGLE = 0x00100000;
const CLIENT_SHADOWGUARD = 0x00200000;
const CLIENT_TOL = 0x00400000;
}
19 changes: 19 additions & 0 deletions core/defs/expansions.def.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
/**
* Ultima PHP - OpenSource Ultima Online Server written in PHP
* Version: 0.1 - Pre Alpha
*/

abstract class expansionDefs {
const EXPANSION_NONE = clientDefs::CLIENT_NONE;
const EXPANSION_T2A = clientDefs::CLIENT_T2A;
const EXPANSION_UOR = self::EXPANSION_T2A | clientDefs::CLIENT_UOR;
const EXPANSION_UOTD = self::EXPANSION_UOR | clientDefs::CLIENT_UOTD;
const EXPANSION_LBR = self::EXPANSION_UOTD | clientDefs::CLIENT_LBR;
const EXPANSION_AOS = self::EXPANSION_LBR | clientDefs::CLIENT_AOS | clientDefs::CLIENT_LIVEACCOUNT;
const EXPANSION_SE = self::EXPANSION_AOS | clientDefs::CLIENT_SE;
const EXPANSION_ML = self::EXPANSION_SE | clientDefs::CLIENT_ML | clientDefs::CLIENT_NINTHAGE;
const EXPANSION_SA = self::EXPANSION_ML | clientDefs::CLIENT_SA | clientDefs::CLIENT_GOTHIC | clientDefs::CLIENT_RUSTIC;
const EXPANSION_HS = self::EXPANSION_SA | clientDefs::CLIENT_HS;
const EXPANSION_TOL = self::EXPANSION_HS | clientDefs::CLIENT_TOL | clientDefs::CLIENT_JUNGLE | clientDefs::CLIENT_SHADOWGUARD;
}

0 comments on commit 0766df9

Please sign in to comment.