|
|
@ -46,7 +46,7 @@ public class Enum { |
|
|
|
EXPLOIT, |
|
|
|
EXPLOIT, |
|
|
|
BUG, |
|
|
|
BUG, |
|
|
|
GAME_STOPPER, |
|
|
|
GAME_STOPPER, |
|
|
|
TECH_SUPPORT; |
|
|
|
TECH_SUPPORT |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -112,7 +112,7 @@ public class Enum { |
|
|
|
Undead, |
|
|
|
Undead, |
|
|
|
Nephilim, |
|
|
|
Nephilim, |
|
|
|
Vampire, |
|
|
|
Vampire, |
|
|
|
SiegeEngineer; |
|
|
|
SiegeEngineer |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -120,7 +120,7 @@ public class Enum { |
|
|
|
MALE, |
|
|
|
MALE, |
|
|
|
FEMALE, |
|
|
|
FEMALE, |
|
|
|
FUZZY, |
|
|
|
FUZZY, |
|
|
|
OTHER; |
|
|
|
OTHER |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum RaceType { |
|
|
|
public enum RaceType { |
|
|
@ -155,13 +155,13 @@ public class Enum { |
|
|
|
VAMPFEMALE(2029, MonsterType.Vampire, RunSpeed.STANDARD, CharacterSex.FEMALE, 1); |
|
|
|
VAMPFEMALE(2029, MonsterType.Vampire, RunSpeed.STANDARD, CharacterSex.FEMALE, 1); |
|
|
|
|
|
|
|
|
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
private static HashMap<Integer, RaceType> _raceTypeByID = new HashMap<>(); |
|
|
|
private static final HashMap<Integer, RaceType> _raceTypeByID = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
|
|
int runeID; |
|
|
|
int runeID; |
|
|
|
private MonsterType monsterType; |
|
|
|
private final MonsterType monsterType; |
|
|
|
private CharacterSex characterSex; |
|
|
|
private final CharacterSex characterSex; |
|
|
|
private RunSpeed runSpeed; |
|
|
|
private final RunSpeed runSpeed; |
|
|
|
private float scaleHeight; |
|
|
|
private final float scaleHeight; |
|
|
|
|
|
|
|
|
|
|
|
RaceType(int runeID, MonsterType aggroType, RunSpeed runspeed, CharacterSex characterSex, float scaleHeight) { |
|
|
|
RaceType(int runeID, MonsterType aggroType, RunSpeed runspeed, CharacterSex characterSex, float scaleHeight) { |
|
|
|
this.runeID = runeID; |
|
|
|
this.runeID = runeID; |
|
|
@ -210,13 +210,13 @@ public class Enum { |
|
|
|
CENTAUR(6.1900001f, 16.940001f, 5.5500002f, 16.940001f, 6.3299999f, 18.379999f, 6.5f), |
|
|
|
CENTAUR(6.1900001f, 16.940001f, 5.5500002f, 16.940001f, 6.3299999f, 18.379999f, 6.5f), |
|
|
|
MINOTAUR(6.6300001f, 15.95f, 4.2199998f, 15.95f, 6.3299999f, 18.379999f, 6.5f); |
|
|
|
MINOTAUR(6.6300001f, 15.95f, 4.2199998f, 15.95f, 6.3299999f, 18.379999f, 6.5f); |
|
|
|
|
|
|
|
|
|
|
|
private float walkStandard; |
|
|
|
private final float walkStandard; |
|
|
|
private float walkCombat; |
|
|
|
private final float walkCombat; |
|
|
|
private float runStandard; |
|
|
|
private final float runStandard; |
|
|
|
private float runCombat; |
|
|
|
private final float runCombat; |
|
|
|
private float swim; |
|
|
|
private final float swim; |
|
|
|
private float flyRun; |
|
|
|
private final float flyRun; |
|
|
|
private float flyWalk; |
|
|
|
private final float flyWalk; |
|
|
|
|
|
|
|
|
|
|
|
RunSpeed(float walkStandard, float runStandard, float walkCombat, float runCombat, float flyWalk, float flyRun, float swim) { |
|
|
|
RunSpeed(float walkStandard, float runStandard, float walkCombat, float runCombat, float flyWalk, float flyRun, float swim) { |
|
|
|
this.walkStandard = walkStandard; |
|
|
|
this.walkStandard = walkStandard; |
|
|
@ -310,13 +310,13 @@ public class Enum { |
|
|
|
|
|
|
|
|
|
|
|
public enum PvpHistoryType { |
|
|
|
public enum PvpHistoryType { |
|
|
|
KILLS, |
|
|
|
KILLS, |
|
|
|
DEATHS; |
|
|
|
DEATHS |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum ChatMessageType { |
|
|
|
public enum ChatMessageType { |
|
|
|
ERROR, |
|
|
|
ERROR, |
|
|
|
INFO, |
|
|
|
INFO, |
|
|
|
MOTD; |
|
|
|
MOTD |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum DataRecordType { |
|
|
|
public enum DataRecordType { |
|
|
@ -327,7 +327,7 @@ public class Enum { |
|
|
|
CITY, |
|
|
|
CITY, |
|
|
|
ZONE, |
|
|
|
ZONE, |
|
|
|
REALM, |
|
|
|
REALM, |
|
|
|
MINE; |
|
|
|
MINE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum RecordEventType { |
|
|
|
public enum RecordEventType { |
|
|
@ -338,7 +338,7 @@ public class Enum { |
|
|
|
TRANSFER, |
|
|
|
TRANSFER, |
|
|
|
PENDING, |
|
|
|
PENDING, |
|
|
|
DEFEND, |
|
|
|
DEFEND, |
|
|
|
LOST; // Realm event
|
|
|
|
LOST // Realm event
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum CharterType { |
|
|
|
public enum CharterType { |
|
|
@ -346,8 +346,8 @@ public class Enum { |
|
|
|
MERCANTILE(-15978914, 5060400), |
|
|
|
MERCANTILE(-15978914, 5060400), |
|
|
|
BELLIGERENT(762228431, 5060800); |
|
|
|
BELLIGERENT(762228431, 5060800); |
|
|
|
|
|
|
|
|
|
|
|
private int charterID; |
|
|
|
private final int charterID; |
|
|
|
private int meshID; |
|
|
|
private final int meshID; |
|
|
|
|
|
|
|
|
|
|
|
CharterType(int charterID, int meshID) { |
|
|
|
CharterType(int charterID, int meshID) { |
|
|
|
this.charterID = charterID; |
|
|
|
this.charterID = charterID; |
|
|
@ -402,7 +402,7 @@ public class Enum { |
|
|
|
Npc, |
|
|
|
Npc, |
|
|
|
PlayerCharacter, |
|
|
|
PlayerCharacter, |
|
|
|
Account, |
|
|
|
Account, |
|
|
|
Mob; |
|
|
|
Mob |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum SiegePhase { |
|
|
|
public enum SiegePhase { |
|
|
@ -410,20 +410,20 @@ public class Enum { |
|
|
|
CHALLENGE, |
|
|
|
CHALLENGE, |
|
|
|
STANDOFF, |
|
|
|
STANDOFF, |
|
|
|
WAR, |
|
|
|
WAR, |
|
|
|
CEASEFIRE; |
|
|
|
CEASEFIRE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum SiegeResult { |
|
|
|
public enum SiegeResult { |
|
|
|
PENDING, |
|
|
|
PENDING, |
|
|
|
DEFEND, |
|
|
|
DEFEND, |
|
|
|
DESTROY, |
|
|
|
DESTROY, |
|
|
|
CAPTURE; |
|
|
|
CAPTURE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum TaxType { |
|
|
|
public enum TaxType { |
|
|
|
PROFIT, |
|
|
|
PROFIT, |
|
|
|
WEEKLY, |
|
|
|
WEEKLY, |
|
|
|
NONE; |
|
|
|
NONE |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1261,7 +1261,7 @@ public class Enum { |
|
|
|
SITTING, |
|
|
|
SITTING, |
|
|
|
RUNNING, |
|
|
|
RUNNING, |
|
|
|
FLYING, |
|
|
|
FLYING, |
|
|
|
SWIMMING; |
|
|
|
SWIMMING |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum DoorState { |
|
|
|
public enum DoorState { |
|
|
@ -1269,7 +1269,7 @@ public class Enum { |
|
|
|
OPEN, |
|
|
|
OPEN, |
|
|
|
CLOSED, |
|
|
|
CLOSED, |
|
|
|
LOCKED, |
|
|
|
LOCKED, |
|
|
|
UNLOCKED; |
|
|
|
UNLOCKED |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Used with stored procedure GET_UID_ENUM() for
|
|
|
|
// Used with stored procedure GET_UID_ENUM() for
|
|
|
@ -1290,11 +1290,9 @@ public class Enum { |
|
|
|
SHRINE, |
|
|
|
SHRINE, |
|
|
|
WORLDSERVER, |
|
|
|
WORLDSERVER, |
|
|
|
ZONE, |
|
|
|
ZONE, |
|
|
|
WAREHOUSE; |
|
|
|
WAREHOUSE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Enumeration of Building Protection Status stored in the database as a |
|
|
|
* Enumeration of Building Protection Status stored in the database as a |
|
|
|
* mysql enumfield. WARNING: This enumeration is fragile. Do not rename. Do |
|
|
|
* mysql enumfield. WARNING: This enumeration is fragile. Do not rename. Do |
|
|
@ -1309,11 +1307,64 @@ public class Enum { |
|
|
|
CONTRACT, |
|
|
|
CONTRACT, |
|
|
|
DESTROYED, |
|
|
|
DESTROYED, |
|
|
|
PENDING, |
|
|
|
PENDING, |
|
|
|
NPC; |
|
|
|
NPC |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum DisciplineType { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Alchemist, |
|
|
|
|
|
|
|
Animator, |
|
|
|
|
|
|
|
Archer, |
|
|
|
|
|
|
|
Berserker, |
|
|
|
|
|
|
|
BlackMask, |
|
|
|
|
|
|
|
Blacksmith, |
|
|
|
|
|
|
|
BladeMaster, |
|
|
|
|
|
|
|
BladeWeaver, |
|
|
|
|
|
|
|
BloodProphet, |
|
|
|
|
|
|
|
BountyHunter, |
|
|
|
|
|
|
|
Clanwarden, |
|
|
|
|
|
|
|
Commander, |
|
|
|
|
|
|
|
DarkKnight, |
|
|
|
|
|
|
|
Duelist, |
|
|
|
|
|
|
|
ForgeMaster, |
|
|
|
|
|
|
|
GiantKiller, |
|
|
|
|
|
|
|
Gladiator, |
|
|
|
|
|
|
|
Huntsman, |
|
|
|
|
|
|
|
Knight, |
|
|
|
|
|
|
|
RatCatcher, |
|
|
|
|
|
|
|
RuneCaster, |
|
|
|
|
|
|
|
Enchanter, |
|
|
|
|
|
|
|
StormLord, |
|
|
|
|
|
|
|
Summoner, |
|
|
|
|
|
|
|
Sundancer, |
|
|
|
|
|
|
|
Trainer, |
|
|
|
|
|
|
|
Traveler, |
|
|
|
|
|
|
|
UndeadHunter, |
|
|
|
|
|
|
|
Werebear, |
|
|
|
|
|
|
|
Wererat, |
|
|
|
|
|
|
|
Werewolf, |
|
|
|
|
|
|
|
Wyrmslayer, |
|
|
|
|
|
|
|
Conjurer, |
|
|
|
|
|
|
|
Darksworn, |
|
|
|
|
|
|
|
Valkyr, |
|
|
|
|
|
|
|
BloodHorn, |
|
|
|
|
|
|
|
Shroudborne, |
|
|
|
|
|
|
|
Archmage, |
|
|
|
|
|
|
|
Thrall, |
|
|
|
|
|
|
|
Artillerist, |
|
|
|
|
|
|
|
Savant, |
|
|
|
|
|
|
|
SkyDancer, |
|
|
|
|
|
|
|
Prospector, |
|
|
|
|
|
|
|
Belgosch, |
|
|
|
|
|
|
|
Drannok, |
|
|
|
|
|
|
|
Gorgoi, |
|
|
|
|
|
|
|
Strigoi, |
|
|
|
|
|
|
|
Sapper, |
|
|
|
|
|
|
|
Saboteur, |
|
|
|
|
|
|
|
BattleMagus, |
|
|
|
|
|
|
|
Sanctifier, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum CharacterSkills { |
|
|
|
public enum CharacterSkills { |
|
|
|
|
|
|
|
|
|
|
|
Archery((1L << 1), -529201545, 20), |
|
|
|
Archery((1L << 1), -529201545, 20), |
|
|
@ -1382,7 +1433,7 @@ public class Enum { |
|
|
|
|
|
|
|
|
|
|
|
private long flag; |
|
|
|
private long flag; |
|
|
|
private int token; |
|
|
|
private int token; |
|
|
|
private int reqLvl; |
|
|
|
private final int reqLvl; |
|
|
|
|
|
|
|
|
|
|
|
CharacterSkills(long flag, int token, int reqLvl) { |
|
|
|
CharacterSkills(long flag, int token, int reqLvl) { |
|
|
|
this.flag = flag; |
|
|
|
this.flag = flag; |
|
|
@ -1421,8 +1472,6 @@ public class Enum { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum GuildHistoryType { |
|
|
|
public enum GuildHistoryType { |
|
|
|
JOIN(1), |
|
|
|
JOIN(1), |
|
|
|
LEAVE(4), |
|
|
|
LEAVE(4), |
|
|
@ -1443,17 +1492,14 @@ public class Enum { |
|
|
|
public enum SexType { |
|
|
|
public enum SexType { |
|
|
|
NONE, |
|
|
|
NONE, |
|
|
|
MALE, |
|
|
|
MALE, |
|
|
|
FEMALE; |
|
|
|
FEMALE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum ClassType { |
|
|
|
public enum ClassType { |
|
|
|
FIGHTER, |
|
|
|
Fighter(SexType.NONE), |
|
|
|
HEALER, |
|
|
|
Healer(SexType.NONE), |
|
|
|
ROGUE, |
|
|
|
Rogue(SexType.NONE), |
|
|
|
MAGE; |
|
|
|
Mage(SexType.NONE), |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum PromoteType { |
|
|
|
|
|
|
|
Assassin(SexType.NONE), |
|
|
|
Assassin(SexType.NONE), |
|
|
|
Barbarian(SexType.NONE), |
|
|
|
Barbarian(SexType.NONE), |
|
|
|
Bard(SexType.NONE), |
|
|
|
Bard(SexType.NONE), |
|
|
@ -1478,9 +1524,9 @@ public class Enum { |
|
|
|
Necromancer(SexType.NONE), |
|
|
|
Necromancer(SexType.NONE), |
|
|
|
; |
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
private SexType sexRestriction; |
|
|
|
private final SexType sexRestriction; |
|
|
|
|
|
|
|
|
|
|
|
PromoteType(SexType sexRestriction) { |
|
|
|
ClassType(SexType sexRestriction) { |
|
|
|
this.sexRestriction = sexRestriction; |
|
|
|
this.sexRestriction = sexRestriction; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1660,13 +1706,13 @@ public class Enum { |
|
|
|
REGEN, |
|
|
|
REGEN, |
|
|
|
FLIGHT, |
|
|
|
FLIGHT, |
|
|
|
LOCATION, |
|
|
|
LOCATION, |
|
|
|
MOVEMENTSTATE; |
|
|
|
MOVEMENTSTATE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum ServerType { |
|
|
|
public enum ServerType { |
|
|
|
WORLDSERVER, |
|
|
|
WORLDSERVER, |
|
|
|
LOGINSERVER, |
|
|
|
LOGINSERVER, |
|
|
|
NONE; |
|
|
|
NONE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum ChatChannel implements EnumBitSetHelper<ChatChannel> { |
|
|
|
public enum ChatChannel implements EnumBitSetHelper<ChatChannel> { |
|
|
@ -1720,7 +1766,7 @@ public class Enum { |
|
|
|
Thief, |
|
|
|
Thief, |
|
|
|
Warlock, |
|
|
|
Warlock, |
|
|
|
Warrior, |
|
|
|
Warrior, |
|
|
|
Wizard; |
|
|
|
Wizard |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1728,13 +1774,13 @@ public class Enum { |
|
|
|
RecommendedAlly, |
|
|
|
RecommendedAlly, |
|
|
|
RecommendedEnemy, |
|
|
|
RecommendedEnemy, |
|
|
|
Ally, |
|
|
|
Ally, |
|
|
|
Enemy; |
|
|
|
Enemy |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum FriendStatus { |
|
|
|
public enum FriendStatus { |
|
|
|
Available, |
|
|
|
Available, |
|
|
|
Away, |
|
|
|
Away, |
|
|
|
Busy; |
|
|
|
Busy |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum ProfitType { |
|
|
|
public enum ProfitType { |
|
|
@ -1749,7 +1795,7 @@ public class Enum { |
|
|
|
|
|
|
|
|
|
|
|
public String dbField; |
|
|
|
public String dbField; |
|
|
|
|
|
|
|
|
|
|
|
private ProfitType(String dbField) { |
|
|
|
ProfitType(String dbField) { |
|
|
|
this.dbField = dbField; |
|
|
|
this.dbField = dbField; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -1842,17 +1888,15 @@ public class Enum { |
|
|
|
WorldServerInfoSnapshot, |
|
|
|
WorldServerInfoSnapshot, |
|
|
|
Shrine, |
|
|
|
Shrine, |
|
|
|
Zone, |
|
|
|
Zone, |
|
|
|
Transaction; |
|
|
|
Transaction |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum ContainerType { |
|
|
|
public enum ContainerType { |
|
|
|
BANK, |
|
|
|
BANK, |
|
|
|
INVENTORY, |
|
|
|
INVENTORY, |
|
|
|
VAULT; |
|
|
|
VAULT |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum CompoundCurveType { |
|
|
|
public enum CompoundCurveType { |
|
|
|
DefaultFlat(0), |
|
|
|
DefaultFlat(0), |
|
|
|
DefaultSlope(1), |
|
|
|
DefaultSlope(1), |
|
|
@ -2160,7 +2204,7 @@ public class Enum { |
|
|
|
|
|
|
|
|
|
|
|
private final double value; |
|
|
|
private final double value; |
|
|
|
|
|
|
|
|
|
|
|
private CompoundCurveType(double value) { |
|
|
|
CompoundCurveType(double value) { |
|
|
|
|
|
|
|
|
|
|
|
this.value = value; |
|
|
|
this.value = value; |
|
|
|
} |
|
|
|
} |
|
|
@ -2183,7 +2227,7 @@ public class Enum { |
|
|
|
Sit, |
|
|
|
Sit, |
|
|
|
TakeDamage, |
|
|
|
TakeDamage, |
|
|
|
TerritoryClaim, |
|
|
|
TerritoryClaim, |
|
|
|
UnEquip; |
|
|
|
UnEquip |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum PowerSubType { |
|
|
|
public enum PowerSubType { |
|
|
@ -2193,7 +2237,7 @@ public class Enum { |
|
|
|
DamageType1, |
|
|
|
DamageType1, |
|
|
|
DamageType2, |
|
|
|
DamageType2, |
|
|
|
DamageType3, |
|
|
|
DamageType3, |
|
|
|
Cancel; |
|
|
|
Cancel |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum PowerCategoryType { |
|
|
|
public enum PowerCategoryType { |
|
|
@ -2228,7 +2272,7 @@ public class Enum { |
|
|
|
RECALL, |
|
|
|
RECALL, |
|
|
|
SPIREPROOFTELEPORT, |
|
|
|
SPIREPROOFTELEPORT, |
|
|
|
SPIREDISABLE, |
|
|
|
SPIREDISABLE, |
|
|
|
THIEF; |
|
|
|
THIEF |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum PowerTargetType { |
|
|
|
public enum PowerTargetType { |
|
|
@ -2247,7 +2291,7 @@ public class Enum { |
|
|
|
JEWELRY, |
|
|
|
JEWELRY, |
|
|
|
WEAPONARMOR, |
|
|
|
WEAPONARMOR, |
|
|
|
ARMOR, |
|
|
|
ARMOR, |
|
|
|
ITEM; |
|
|
|
ITEM |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum objectMaskType { |
|
|
|
public enum objectMaskType { |
|
|
@ -2280,7 +2324,7 @@ public class Enum { |
|
|
|
BANK, |
|
|
|
BANK, |
|
|
|
VAULT, |
|
|
|
VAULT, |
|
|
|
FORGE, |
|
|
|
FORGE, |
|
|
|
WAREHOUSE; |
|
|
|
WAREHOUSE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum ItemSlotType implements EnumBitSetHelper<ItemSlotType> { |
|
|
|
public enum ItemSlotType implements EnumBitSetHelper<ItemSlotType> { |
|
|
@ -2301,7 +2345,7 @@ public class Enum { |
|
|
|
UPARM, |
|
|
|
UPARM, |
|
|
|
WINGS, |
|
|
|
WINGS, |
|
|
|
BEARD, |
|
|
|
BEARD, |
|
|
|
HAIR; |
|
|
|
HAIR |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum CityBoundsType { |
|
|
|
public enum CityBoundsType { |
|
|
@ -2317,8 +2361,12 @@ public class Enum { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum GuildType { |
|
|
|
public enum GuildCharterType { |
|
|
|
NONE("None", new String[][]{{"None"}}, new String[]{"Thearchy", "Common Rule", "Theocracy", "Republic Rule"}), |
|
|
|
NONE("None", new String[][]{{"None"}}, new String[]{"Thearchy", "Common Rule", "Theocracy", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.noneOf(ClassType.class), |
|
|
|
|
|
|
|
EnumSet.noneOf(MonsterType.class), |
|
|
|
|
|
|
|
EnumSet.noneOf(SexType.class)), |
|
|
|
|
|
|
|
|
|
|
|
CATHEDRAL("Church of the All-Father", new String[][]{ |
|
|
|
CATHEDRAL("Church of the All-Father", new String[][]{ |
|
|
|
{"Acolyte", "Acolyte"}, |
|
|
|
{"Acolyte", "Acolyte"}, |
|
|
|
{"Catechist"}, |
|
|
|
{"Catechist"}, |
|
|
@ -2328,7 +2376,12 @@ public class Enum { |
|
|
|
{"Bishop", "Bishop"}, |
|
|
|
{"Bishop", "Bishop"}, |
|
|
|
{"Lord Cardinal", "Lady Cardinal"}, |
|
|
|
{"Lord Cardinal", "Lady Cardinal"}, |
|
|
|
{"Patriarch", "Matriarch"}}, |
|
|
|
{"Patriarch", "Matriarch"}}, |
|
|
|
new String[]{"Thearchy", "Common Rule", "Theocracy", "Republic Rule"}), |
|
|
|
new String[]{"Thearchy", "Common Rule", "Theocracy", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Bard, ClassType.Channeler, ClassType.Crusader, ClassType.Nightstalker, |
|
|
|
|
|
|
|
ClassType.Prelate, ClassType.Priest, ClassType.Sentinel, ClassType.Scout), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.Centaur, MonsterType.Elf, MonsterType.HalfGiant, |
|
|
|
|
|
|
|
MonsterType.Human), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
MILITARY("Military", new String[][]{ |
|
|
|
MILITARY("Military", new String[][]{ |
|
|
|
{"Recruit"}, |
|
|
|
{"Recruit"}, |
|
|
|
{"Footman"}, |
|
|
|
{"Footman"}, |
|
|
@ -2338,7 +2391,11 @@ public class Enum { |
|
|
|
{"Captain"}, |
|
|
|
{"Captain"}, |
|
|
|
{"General"}, |
|
|
|
{"General"}, |
|
|
|
{"Lord Marshall", "Lady Marshall"}}, |
|
|
|
{"Lord Marshall", "Lady Marshall"}}, |
|
|
|
new String[]{"Autocracy", "Common Rule", "Council Rule", "Militocracy"}), |
|
|
|
new String[]{"Autocracy", "Common Rule", "Council Rule", "Militocracy"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Bard, ClassType.Priest, ClassType.Scout, ClassType.Warlock, |
|
|
|
|
|
|
|
ClassType.Warrior, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Centaur, MonsterType.HalfGiant, MonsterType.Human), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
TEMPLE("Temple of the Cleansing Flame", new String[][]{ |
|
|
|
TEMPLE("Temple of the Cleansing Flame", new String[][]{ |
|
|
|
{"Aspirant"}, |
|
|
|
{"Aspirant"}, |
|
|
|
{"Novice"}, |
|
|
|
{"Novice"}, |
|
|
@ -2349,7 +2406,11 @@ public class Enum { |
|
|
|
{"Lictor"}, |
|
|
|
{"Lictor"}, |
|
|
|
{"Justiciar"}, |
|
|
|
{"Justiciar"}, |
|
|
|
{"Pontifex", "Pontifectrix"}}, |
|
|
|
{"Pontifex", "Pontifectrix"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Protectorship", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Protectorship", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Bard, ClassType.Channeler, ClassType.Confessor, |
|
|
|
|
|
|
|
ClassType.Nightstalker, ClassType.Priest, ClassType.Scout, ClassType.Templar), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.HalfGiant, MonsterType.Human), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
BARBARIAN("Barbarian Clan", new String[][]{ |
|
|
|
BARBARIAN("Barbarian Clan", new String[][]{ |
|
|
|
{"Barbarian"}, |
|
|
|
{"Barbarian"}, |
|
|
|
{"Skald"}, |
|
|
|
{"Skald"}, |
|
|
@ -2358,7 +2419,11 @@ public class Enum { |
|
|
|
{"Jarl"}, |
|
|
|
{"Jarl"}, |
|
|
|
{"Chieftain"}, |
|
|
|
{"Chieftain"}, |
|
|
|
{"Thane"}}, |
|
|
|
{"Thane"}}, |
|
|
|
new String[]{"Chiefdom", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Chiefdom", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Barbarian, ClassType.Bard, ClassType.Doomsayer, ClassType.Fury, |
|
|
|
|
|
|
|
ClassType.Priest, ClassType.Scout, ClassType.Thief, ClassType.Warrior), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.HalfGiant, MonsterType.Human, MonsterType.Minotaur), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
RANGER("Ranger's Brotherhood", new String[][]{ |
|
|
|
RANGER("Ranger's Brotherhood", new String[][]{ |
|
|
|
{"Yeoman"}, |
|
|
|
{"Yeoman"}, |
|
|
|
{"Pathfinder"}, |
|
|
|
{"Pathfinder"}, |
|
|
@ -2367,7 +2432,11 @@ public class Enum { |
|
|
|
{"Protector"}, |
|
|
|
{"Protector"}, |
|
|
|
{"Guardian"}, |
|
|
|
{"Guardian"}, |
|
|
|
{"Lord Protector", "Lady Protector"}}, |
|
|
|
{"Lord Protector", "Lady Protector"}}, |
|
|
|
new String[]{"Despot Rule", "Collectivism", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Collectivism", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Bard, ClassType.Channeler, ClassType.Druid, ClassType.Priest, |
|
|
|
|
|
|
|
ClassType.Ranger, ClassType.Scout, ClassType.Warrior), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.Elf, MonsterType.HalfGiant, MonsterType.Human, MonsterType.Shade), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
AMAZON("Amazon Temple", new String[][]{ |
|
|
|
AMAZON("Amazon Temple", new String[][]{ |
|
|
|
{"Amazon Thrall", "Amazon"}, |
|
|
|
{"Amazon Thrall", "Amazon"}, |
|
|
|
{"Amazon Slave", "Amazon Warrior"}, |
|
|
|
{"Amazon Slave", "Amazon Warrior"}, |
|
|
@ -2375,7 +2444,11 @@ public class Enum { |
|
|
|
{"Amazon Consort", "Amazon Princess"}, |
|
|
|
{"Amazon Consort", "Amazon Princess"}, |
|
|
|
{"Amazon Seneschal", "Majestrix"}, |
|
|
|
{"Amazon Seneschal", "Majestrix"}, |
|
|
|
{"Amazon Regent", "Imperatrix"}}, |
|
|
|
{"Amazon Regent", "Imperatrix"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Gynarchy", "Gynocracy"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Gynarchy", "Gynocracy"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Bard, ClassType.Druid, ClassType.Fury, ClassType.Huntress, |
|
|
|
|
|
|
|
ClassType.Priest, ClassType.Scout, ClassType.Warrior, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.Elf, MonsterType.HalfGiant, MonsterType.Human), |
|
|
|
|
|
|
|
EnumSet.of(SexType.FEMALE)), |
|
|
|
NOBLE("Noble House", new String[][]{ |
|
|
|
NOBLE("Noble House", new String[][]{ |
|
|
|
{"Serf"}, |
|
|
|
{"Serf"}, |
|
|
|
{"Vassal"}, |
|
|
|
{"Vassal"}, |
|
|
@ -2386,7 +2459,11 @@ public class Enum { |
|
|
|
{"Duke", "Duchess"}, |
|
|
|
{"Duke", "Duchess"}, |
|
|
|
{"King", "Queen"}, |
|
|
|
{"King", "Queen"}, |
|
|
|
{"Emperor", "Empress"}}, |
|
|
|
{"Emperor", "Empress"}}, |
|
|
|
new String[]{"Monarchy", "Common Rule", "Feodality", "Republic"}), |
|
|
|
new String[]{"Monarchy", "Common Rule", "Feodality", "Republic"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Bard, ClassType.Channeler, ClassType.Priest, |
|
|
|
|
|
|
|
ClassType.Scout, ClassType.Thief, ClassType.Warlock, ClassType.Warrior, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.HalfGiant, MonsterType.Human), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
WIZARD("Wizard's Conclave", new String[][]{ |
|
|
|
WIZARD("Wizard's Conclave", new String[][]{ |
|
|
|
{"Apprentice"}, |
|
|
|
{"Apprentice"}, |
|
|
|
{"Neophyte"}, |
|
|
|
{"Neophyte"}, |
|
|
@ -2395,7 +2472,11 @@ public class Enum { |
|
|
|
{"Magus"}, |
|
|
|
{"Magus"}, |
|
|
|
{"High Magus"}, |
|
|
|
{"High Magus"}, |
|
|
|
{"Archmagus"}}, |
|
|
|
{"Archmagus"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Magocracy"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Magocracy"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Bard, ClassType.Channeler, ClassType.Doomsayer, |
|
|
|
|
|
|
|
ClassType.Fury, ClassType.Necromancer, ClassType.Priest, ClassType.Warlock, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.Elf, MonsterType.Human, MonsterType.Nephilim, MonsterType.Shade), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
MERCENARY("Mercenary Company", new String[][]{ |
|
|
|
MERCENARY("Mercenary Company", new String[][]{ |
|
|
|
{"Soldier"}, |
|
|
|
{"Soldier"}, |
|
|
|
{"Man-at-Arms"}, |
|
|
|
{"Man-at-Arms"}, |
|
|
@ -2405,7 +2486,11 @@ public class Enum { |
|
|
|
{"Commander"}, |
|
|
|
{"Commander"}, |
|
|
|
{"High Commander"}, |
|
|
|
{"High Commander"}, |
|
|
|
{"Warlord"}}, |
|
|
|
{"Warlord"}}, |
|
|
|
new String[]{"Magistrature", "Mob Law", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Magistrature", "Mob Law", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Bard, ClassType.Priest, ClassType.Scout, |
|
|
|
|
|
|
|
ClassType.Thief, ClassType.Warlock, ClassType.Warrior), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.Aracoix, MonsterType.HalfGiant, MonsterType.Human, MonsterType.Shade), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
THIEVES("Thieve's Den", new String[][]{ |
|
|
|
THIEVES("Thieve's Den", new String[][]{ |
|
|
|
{"Urchin"}, |
|
|
|
{"Urchin"}, |
|
|
|
{"Footpad"}, |
|
|
|
{"Footpad"}, |
|
|
@ -2416,7 +2501,12 @@ public class Enum { |
|
|
|
{"Treasurer"}, |
|
|
|
{"Treasurer"}, |
|
|
|
{"Grandmaster Thief"}, |
|
|
|
{"Grandmaster Thief"}, |
|
|
|
{"Grandfather"}}, |
|
|
|
{"Grandfather"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Oligarchy", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Oligarchy", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Barbarian, ClassType.Bard, ClassType.Priest, |
|
|
|
|
|
|
|
ClassType.Scout, ClassType.Thief, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.Aracoix, MonsterType.Elf, MonsterType.Human, MonsterType.Irekei, |
|
|
|
|
|
|
|
MonsterType.Nephilim, MonsterType.Shade, MonsterType.Vampire), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
DWARF("Dwarf Hold", new String[][]{ |
|
|
|
DWARF("Dwarf Hold", new String[][]{ |
|
|
|
{"Citizen"}, |
|
|
|
{"Citizen"}, |
|
|
|
{"Master"}, |
|
|
|
{"Master"}, |
|
|
@ -2424,7 +2514,11 @@ public class Enum { |
|
|
|
{"Thane"}, |
|
|
|
{"Thane"}, |
|
|
|
{"Great Thane"}, |
|
|
|
{"Great Thane"}, |
|
|
|
{"High Thane"}}, |
|
|
|
{"High Thane"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Crusader, ClassType.Prelate, ClassType.Priest, ClassType.Sentinel, |
|
|
|
|
|
|
|
ClassType.Warrior), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Dwarf), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
HIGHCOURT("High Court", new String[][]{ |
|
|
|
HIGHCOURT("High Court", new String[][]{ |
|
|
|
{"Eccekebe"}, |
|
|
|
{"Eccekebe"}, |
|
|
|
{"Saedulor"}, |
|
|
|
{"Saedulor"}, |
|
|
@ -2435,7 +2529,12 @@ public class Enum { |
|
|
|
{"Dar Thaelostor", "Dar Thaelostril"}, |
|
|
|
{"Dar Thaelostor", "Dar Thaelostril"}, |
|
|
|
{"Aglaeron"}, |
|
|
|
{"Aglaeron"}, |
|
|
|
{"Ellestor", "Elestril"}}, |
|
|
|
{"Ellestor", "Elestril"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Bard, ClassType.Channeler, ClassType.Druid, |
|
|
|
|
|
|
|
ClassType.Necromancer, ClassType.Priest, ClassType.Ranger, ClassType.Scout, |
|
|
|
|
|
|
|
ClassType.Thief, ClassType.Warrior, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Elf, MonsterType.Minotaur), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
VIRAKT("Virakt", new String[][]{ |
|
|
|
VIRAKT("Virakt", new String[][]{ |
|
|
|
{"Jov'uus"}, |
|
|
|
{"Jov'uus"}, |
|
|
|
{"Urikhan"}, |
|
|
|
{"Urikhan"}, |
|
|
@ -2445,7 +2544,12 @@ public class Enum { |
|
|
|
{"Khal'uvho"}, |
|
|
|
{"Khal'uvho"}, |
|
|
|
{"Khar'uus"}, |
|
|
|
{"Khar'uus"}, |
|
|
|
{"Kryqh'khalin"}}, |
|
|
|
{"Kryqh'khalin"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Bard, ClassType.Channeler, ClassType.Fury, |
|
|
|
|
|
|
|
ClassType.Huntress, ClassType.Nightstalker, ClassType.Priest, ClassType.Ranger, |
|
|
|
|
|
|
|
ClassType.Scout, ClassType.Thief, ClassType.Warrior, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Irekei), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
BRIALIA("Coven of Brialia", new String[][]{ // Unknown Rank names
|
|
|
|
BRIALIA("Coven of Brialia", new String[][]{ // Unknown Rank names
|
|
|
|
{"Devotee"}, |
|
|
|
{"Devotee"}, |
|
|
|
{"Initiated"}, |
|
|
|
{"Initiated"}, |
|
|
@ -2455,7 +2559,11 @@ public class Enum { |
|
|
|
{"Elder"}, |
|
|
|
{"Elder"}, |
|
|
|
{"Hierophant"}, |
|
|
|
{"Hierophant"}, |
|
|
|
{"Witch King", "Witch Queen"}}, |
|
|
|
{"Witch King", "Witch Queen"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.allOf(ClassType.class), |
|
|
|
|
|
|
|
EnumSet.allOf(MonsterType.class), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
|
|
|
|
|
|
|
|
UNHOLY("Unholy Legion", new String[][]{ // Unknown Rank names
|
|
|
|
UNHOLY("Unholy Legion", new String[][]{ // Unknown Rank names
|
|
|
|
{"Footman"}, |
|
|
|
{"Footman"}, |
|
|
|
{"Fell Legionaire"}, |
|
|
|
{"Fell Legionaire"}, |
|
|
@ -2465,14 +2573,23 @@ public class Enum { |
|
|
|
{"Dark Master", "Dark Mistress"}, |
|
|
|
{"Dark Master", "Dark Mistress"}, |
|
|
|
{"Dread Master", "Dread Mistress"}, |
|
|
|
{"Dread Master", "Dread Mistress"}, |
|
|
|
{"Dread Lord", "Dread Lady"}}, |
|
|
|
{"Dread Lord", "Dread Lady"}}, |
|
|
|
new String[]{"Despot Rule", "Despot Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Despot Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Channeler, ClassType.Necromancer, ClassType.Priest, |
|
|
|
|
|
|
|
ClassType.Scout, ClassType.Thief, ClassType.Warlock, ClassType.Warrior, |
|
|
|
|
|
|
|
ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Human, MonsterType.Shade, MonsterType.Vampire), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
SCOURGE("Cult of the Scourge", new String[][]{ |
|
|
|
SCOURGE("Cult of the Scourge", new String[][]{ |
|
|
|
{"Thrall"}, |
|
|
|
{"Thrall"}, |
|
|
|
{"Mudir"}, |
|
|
|
{"Mudir"}, |
|
|
|
{"Dark Brother", "Dark Sister"}, |
|
|
|
{"Dark Brother", "Dark Sister"}, |
|
|
|
{"Hand of the Dark"}, |
|
|
|
{"Hand of the Dark"}, |
|
|
|
{"Dark Father", "Dark Mother"}}, |
|
|
|
{"Dark Father", "Dark Mother"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Bard, ClassType.Channeler, ClassType.Doomsayer, ClassType.Priest, |
|
|
|
|
|
|
|
ClassType.Scout, ClassType.Warrior, ClassType.Wizard), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aelfborn, MonsterType.Human, MonsterType.Minotaur, MonsterType.Nephilim), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
PIRATE("Pirate Crew", new String[][]{ |
|
|
|
PIRATE("Pirate Crew", new String[][]{ |
|
|
|
{"Midshipman", "Midshipwoman"}, |
|
|
|
{"Midshipman", "Midshipwoman"}, |
|
|
|
{"Sailor"}, |
|
|
|
{"Sailor"}, |
|
|
@ -2480,7 +2597,10 @@ public class Enum { |
|
|
|
{"Second Mat"}, |
|
|
|
{"Second Mat"}, |
|
|
|
{"First Mate"}, |
|
|
|
{"First Mate"}, |
|
|
|
{"Captain"}}, |
|
|
|
{"Captain"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.allOf(ClassType.class), |
|
|
|
|
|
|
|
EnumSet.allOf(MonsterType.class), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
HERALD("Academy of Heralds", new String[][]{ |
|
|
|
HERALD("Academy of Heralds", new String[][]{ |
|
|
|
{"Pupil"}, |
|
|
|
{"Pupil"}, |
|
|
|
{"Scribe"}, |
|
|
|
{"Scribe"}, |
|
|
@ -2490,7 +2610,10 @@ public class Enum { |
|
|
|
{"Scholar"}, |
|
|
|
{"Scholar"}, |
|
|
|
{"Archivist"}, |
|
|
|
{"Archivist"}, |
|
|
|
{"Loremaster"}}, |
|
|
|
{"Loremaster"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.allOf(ClassType.class), |
|
|
|
|
|
|
|
EnumSet.allOf(MonsterType.class), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
CENTAUR("Centaur Cohort", new String[][]{ |
|
|
|
CENTAUR("Centaur Cohort", new String[][]{ |
|
|
|
{"Hoplite"}, |
|
|
|
{"Hoplite"}, |
|
|
|
{"Peltast"}, |
|
|
|
{"Peltast"}, |
|
|
@ -2500,7 +2623,12 @@ public class Enum { |
|
|
|
{"Septenrion"}, |
|
|
|
{"Septenrion"}, |
|
|
|
{"Praetorian"}, |
|
|
|
{"Praetorian"}, |
|
|
|
{"Paragon"}}, |
|
|
|
{"Paragon"}}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}), |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
|
|
|
|
EnumSet.of(ClassType.Barbarian, ClassType.Crusader, ClassType.Druid, ClassType.Huntress, |
|
|
|
|
|
|
|
ClassType.Prelate, ClassType.Priest, ClassType.Ranger, ClassType.Sentinel, |
|
|
|
|
|
|
|
ClassType.Warrior), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Centaur), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)), |
|
|
|
KHREE("Aracoix Kh'ree", new String[][]{ |
|
|
|
KHREE("Aracoix Kh'ree", new String[][]{ |
|
|
|
{"Duriacor"}, |
|
|
|
{"Duriacor"}, |
|
|
|
{"Exarch"}, |
|
|
|
{"Exarch"}, |
|
|
@ -2512,101 +2640,108 @@ public class Enum { |
|
|
|
{"Erentar"}, |
|
|
|
{"Erentar"}, |
|
|
|
{"Araceos"}, |
|
|
|
{"Araceos"}, |
|
|
|
{"Hierarch"}}, |
|
|
|
{"Hierarch"}}, |
|
|
|
|
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}, |
|
|
|
new String[]{"Despot Rule", "Common Rule", "Council Rule", "Republic Rule"}); |
|
|
|
EnumSet.of(ClassType.Assassin, ClassType.Barbarian, ClassType.Bard, ClassType.Huntress, |
|
|
|
|
|
|
|
ClassType.Priest, ClassType.Ranger, ClassType.Scout, ClassType.Thief, |
|
|
|
|
|
|
|
ClassType.Warlock, ClassType.Warrior), |
|
|
|
|
|
|
|
EnumSet.of(MonsterType.Aracoix), |
|
|
|
|
|
|
|
EnumSet.allOf(SexType.class)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public final EnumSet<ClassType> requiredClasses; |
|
|
|
|
|
|
|
public final EnumSet<MonsterType> requiredRaces; |
|
|
|
|
|
|
|
public final EnumSet<SexType> sexRequired; |
|
|
|
private final String name; |
|
|
|
private final String name; |
|
|
|
private final String[][] ranks; //Stored Rank#->Gender(M,F)
|
|
|
|
private final String[][] ranks; //Stored Rank#->Gender(M,F)
|
|
|
|
private final String[] leadershipTypes; |
|
|
|
private final String[] leadershipTypes; |
|
|
|
|
|
|
|
|
|
|
|
GuildType(String name, String[][] ranks, String[] leadershipTypes) { |
|
|
|
GuildCharterType(String name, String[][] ranks, String[] leadershipTypes, EnumSet<ClassType> requiredClasses, |
|
|
|
|
|
|
|
EnumSet<MonsterType> requiredRaces, EnumSet<SexType> sexRequired) { |
|
|
|
this.name = name; |
|
|
|
this.name = name; |
|
|
|
this.ranks = ranks; |
|
|
|
this.ranks = ranks; |
|
|
|
this.leadershipTypes = leadershipTypes; |
|
|
|
this.leadershipTypes = leadershipTypes; |
|
|
|
|
|
|
|
this.requiredClasses = requiredClasses; |
|
|
|
|
|
|
|
this.requiredRaces = requiredRaces; |
|
|
|
|
|
|
|
this.sexRequired = sexRequired; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static GuildType getGuildTypeFromCharter(ItemBase itemBase) { |
|
|
|
public static GuildCharterType getGuildTypeFromCharter(ItemBase itemBase) { |
|
|
|
|
|
|
|
|
|
|
|
GuildType charterType; |
|
|
|
GuildCharterType charterType; |
|
|
|
|
|
|
|
|
|
|
|
// Must be a valid charter object
|
|
|
|
// Must be a valid charter object
|
|
|
|
|
|
|
|
|
|
|
|
if (itemBase.getType().equals(ItemType.GUILDCHARTER) == false) |
|
|
|
if (itemBase.getType().equals(ItemType.GUILDCHARTER) == false) |
|
|
|
return GuildType.NONE; //No guild Type
|
|
|
|
return GuildCharterType.NONE; //No guild Type
|
|
|
|
|
|
|
|
|
|
|
|
// No switches on long in java. Cast to int
|
|
|
|
|
|
|
|
// when refactor to long uuid's. Loss won't matter
|
|
|
|
|
|
|
|
// with values this small.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
switch (itemBase.getUUID()) { |
|
|
|
switch (itemBase.getUUID()) { |
|
|
|
|
|
|
|
|
|
|
|
case 559: |
|
|
|
case 559: |
|
|
|
charterType = GuildType.CATHEDRAL; |
|
|
|
charterType = GuildCharterType.CATHEDRAL; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 560: |
|
|
|
case 560: |
|
|
|
charterType = GuildType.MILITARY; |
|
|
|
charterType = GuildCharterType.MILITARY; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 561: |
|
|
|
case 561: |
|
|
|
charterType = GuildType.TEMPLE; |
|
|
|
charterType = GuildCharterType.TEMPLE; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 562: |
|
|
|
case 562: |
|
|
|
charterType = GuildType.BARBARIAN; |
|
|
|
charterType = GuildCharterType.BARBARIAN; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 563: |
|
|
|
case 563: |
|
|
|
charterType = GuildType.RANGER; |
|
|
|
charterType = GuildCharterType.RANGER; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 564: |
|
|
|
case 564: |
|
|
|
charterType = GuildType.AMAZON; |
|
|
|
charterType = GuildCharterType.AMAZON; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 565: |
|
|
|
case 565: |
|
|
|
charterType = GuildType.NOBLE; |
|
|
|
charterType = GuildCharterType.NOBLE; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 566: |
|
|
|
case 566: |
|
|
|
charterType = GuildType.WIZARD; |
|
|
|
charterType = GuildCharterType.WIZARD; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 567: |
|
|
|
case 567: |
|
|
|
charterType = GuildType.MERCENARY; |
|
|
|
charterType = GuildCharterType.MERCENARY; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 568: |
|
|
|
case 568: |
|
|
|
charterType = GuildType.THIEVES; |
|
|
|
charterType = GuildCharterType.THIEVES; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 569: |
|
|
|
case 569: |
|
|
|
charterType = GuildType.DWARF; |
|
|
|
charterType = GuildCharterType.DWARF; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 570: |
|
|
|
case 570: |
|
|
|
charterType = GuildType.HIGHCOURT; |
|
|
|
charterType = GuildCharterType.HIGHCOURT; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 571: |
|
|
|
case 571: |
|
|
|
charterType = GuildType.VIRAKT; |
|
|
|
charterType = GuildCharterType.VIRAKT; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 572: |
|
|
|
case 572: |
|
|
|
charterType = GuildType.SCOURGE; |
|
|
|
charterType = GuildCharterType.SCOURGE; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 573: |
|
|
|
case 573: |
|
|
|
charterType = GuildType.KHREE; |
|
|
|
charterType = GuildCharterType.KHREE; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 574: |
|
|
|
case 574: |
|
|
|
charterType = GuildType.CENTAUR; |
|
|
|
charterType = GuildCharterType.CENTAUR; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 575: |
|
|
|
case 575: |
|
|
|
charterType = GuildType.UNHOLY; |
|
|
|
charterType = GuildCharterType.UNHOLY; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 576: |
|
|
|
case 576: |
|
|
|
charterType = GuildType.PIRATE; |
|
|
|
charterType = GuildCharterType.PIRATE; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 577: |
|
|
|
case 577: |
|
|
|
charterType = GuildType.BRIALIA; |
|
|
|
charterType = GuildCharterType.BRIALIA; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
default: |
|
|
|
default: |
|
|
|
charterType = GuildType.HERALD; |
|
|
|
charterType = GuildCharterType.HERALD; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return charterType; |
|
|
|
return charterType; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static GuildType getGuildTypeFromInt(int i) { |
|
|
|
public static GuildCharterType getGuildTypeFromInt(int i) { |
|
|
|
return GuildType.values()[i]; |
|
|
|
return GuildCharterType.values()[i]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getCharterName() { |
|
|
|
public String getCharterName() { |
|
|
@ -2632,12 +2767,15 @@ public class Enum { |
|
|
|
return leadershipTypes[i]; |
|
|
|
return leadershipTypes[i]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean canJoin(AbstractCharacter character){ |
|
|
|
|
|
|
|
return this.requiredRaces.contains(character.absRace) && this.requiredClasses.contains(character.absPromotionClass) && this.sexRequired.contains(character.absGender); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum MinionClass { |
|
|
|
public enum MinionClass { |
|
|
|
MELEE, |
|
|
|
MELEE, |
|
|
|
ARCHER, |
|
|
|
ARCHER, |
|
|
|
MAGE; |
|
|
|
MAGE |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum MinionType { |
|
|
|
public enum MinionType { |
|
|
@ -2714,7 +2852,7 @@ public class Enum { |
|
|
|
|
|
|
|
|
|
|
|
public enum GridObjectType { |
|
|
|
public enum GridObjectType { |
|
|
|
STATIC, |
|
|
|
STATIC, |
|
|
|
DYNAMIC; |
|
|
|
DYNAMIC |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum SupportMsgType { |
|
|
|
public enum SupportMsgType { |
|
|
@ -2817,7 +2955,7 @@ public class Enum { |
|
|
|
public enum AccountStatus { |
|
|
|
public enum AccountStatus { |
|
|
|
BANNED, |
|
|
|
BANNED, |
|
|
|
ACTIVE, |
|
|
|
ACTIVE, |
|
|
|
ADMIN; |
|
|
|
ADMIN |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum MobBehaviourType { |
|
|
|
public enum MobBehaviourType { |
|
|
@ -2882,6 +3020,6 @@ public class Enum { |
|
|
|
GUARDWALLARCHER, |
|
|
|
GUARDWALLARCHER, |
|
|
|
PET, |
|
|
|
PET, |
|
|
|
CHARMED, |
|
|
|
CHARMED, |
|
|
|
SIEGEENGINE; |
|
|
|
SIEGEENGINE |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|