|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Items.interfaces.Wearable.CODES
public static class Wearable.CODES
Global location stat code data collector
| Constructor Summary | |
|---|---|
Wearable.CODES()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String desc,
long dependencyMask,
double armorStrength,
int wornOrder,
double clothWeight,
double leatherWeight,
double metalWeight)
|
long[] |
all_ordered()
Returns an array of the numeric codes for all locations |
static long[] |
ALL_ORDERED()
Returns an array of the numeric codes for all locations |
long[] |
all()
Returns an array of the numeric codes for all locations |
static long[] |
ALL()
Returns an array of the numeric codes for all locations |
static Wearable.CODES |
c(char c)
|
long[] |
dependency_masks()
Returns the location dependency mask (or -1) of the various locations |
static long[] |
DEPENDENCY_MASKS()
Returns the location dependency mask (or -1) of the various locations |
long |
find_endsWith(java.lang.String rsc)
Returns the index of the names locations, or -1 |
static long |
FIND_endsWith(java.lang.String rsc)
Returns the index of the names locations, or -1 |
long |
find_ignoreCase(java.lang.String rsc)
Returns the index of the names locations, or -1 |
static long |
FIND_ignoreCase(java.lang.String rsc)
Returns the index of the names locations, or -1 |
int |
findDex_endsWith(java.lang.String rsc)
Returns the index of the names locations, or -1 |
static int |
FINDDEX_endsWith(java.lang.String rsc)
Returns the index of the names locations, or -1 |
int |
findDex_ignoreCase(java.lang.String rsc)
Returns the index of the names locations, or -1 |
static int |
FINDDEX_ignoreCase(java.lang.String rsc)
Returns the index of the names locations, or -1 |
long |
get(int x)
Returns an the numeric codes of the indexes locations code |
static long |
GET(int x)
Returns an the numeric codes of the indexes locations code |
static Wearable.CODES |
instance()
|
static boolean |
IS_VALID(int code)
Returns whether the code is valid |
static java.lang.String |
LISTED_CODES(long wornCode)
Returns a comma-delimited list of location names represented by the given worn code. |
java.lang.String |
listedCodes(long wornCode)
Returns a comma-delimited list of location names represented by the given worn code. |
double[] |
location_strength_points()
Returns an array of the protective strength of each location |
static double[] |
LOCATION_STRENGTH_POINTS()
Returns an array of the protective strength of each location |
double[][] |
material_weight_points()
Returns an array representing the relative weight of items made for each of the several worn locations, in the same order as their numeric value. |
static double[][] |
MATERIAL_WEIGHT_POINTS()
Returns an array representing the relative weight of items made for each of the several worn locations, in the same order as their numeric value. |
java.lang.String |
name(int code)
Returns the name of the code |
static java.lang.String |
NAME(int code)
Returns the name of the locations |
java.lang.String |
name(long code)
Returns the name of the code |
static java.lang.String |
NAME(long code)
Returns the name of the locations |
java.lang.String[] |
names()
Returns the names of the various locations |
static java.lang.String[] |
NAMES()
Returns the names of the various locations |
java.lang.String[] |
namesup()
Returns the names of the various locations |
static java.lang.String[] |
NAMESUP()
Returns the names of the various locations |
java.lang.String |
nameup(int code)
Returns the name of the code |
static java.lang.String |
NAMEUP(int code)
Returns the name of the locations |
java.lang.String |
nameup(long code)
Returns the name of the code |
static java.lang.String |
NAMEUP(long code)
Returns the name of the locations |
void |
replace(int codeIndex,
java.lang.String desc,
long dependencyMask,
double armorStrength,
int wornOrder,
double clothWeight,
double leatherWeight,
double metalWeight)
|
static void |
reset()
|
int |
total()
Returns total number of codes 0 - this-1 |
static int |
TOTAL()
Returns total number of codes 0 - this-1 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Wearable.CODES()
| Method Detail |
|---|
public static Wearable.CODES c(char c)
public static Wearable.CODES instance()
public static void reset()
public static int TOTAL()
public int total()
public static long[] ALL_ORDERED()
public long[] all_ordered()
public static long[] ALL()
public long[] all()
public static long GET(int x)
x - the indexed locations code
public long get(int x)
x - the indexed locations code
public static int FINDDEX_ignoreCase(java.lang.String rsc)
public int findDex_ignoreCase(java.lang.String rsc)
public static long FIND_ignoreCase(java.lang.String rsc)
public long find_ignoreCase(java.lang.String rsc)
public static int FINDDEX_endsWith(java.lang.String rsc)
public int findDex_endsWith(java.lang.String rsc)
public static long FIND_endsWith(java.lang.String rsc)
public long find_endsWith(java.lang.String rsc)
public static java.lang.String LISTED_CODES(long wornCode)
wornCode -
public java.lang.String listedCodes(long wornCode)
wornCode -
public static boolean IS_VALID(int code)
public static java.lang.String[] NAMES()
public static java.lang.String[] NAMESUP()
public java.lang.String[] names()
public java.lang.String[] namesup()
public static java.lang.String NAME(int code)
code - the code
public static java.lang.String NAMEUP(int code)
code - the code
public java.lang.String name(int code)
code - the code
public java.lang.String nameup(int code)
code - the code
public static java.lang.String NAME(long code)
code - the code
public static java.lang.String NAMEUP(long code)
code - the code
public java.lang.String name(long code)
code - the code
public java.lang.String nameup(long code)
code - the code
public static long[] DEPENDENCY_MASKS()
public long[] dependency_masks()
public static double[][] MATERIAL_WEIGHT_POINTS()
public double[][] material_weight_points()
public static double[] LOCATION_STRENGTH_POINTS()
public double[] location_strength_points()
public void add(java.lang.String desc,
long dependencyMask,
double armorStrength,
int wornOrder,
double clothWeight,
double leatherWeight,
double metalWeight)
public void replace(int codeIndex,
java.lang.String desc,
long dependencyMask,
double armorStrength,
int wornOrder,
double clothWeight,
double leatherWeight,
double metalWeight)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||