Class AttributeContainer
java.lang.Object
zombie.entity.Component
zombie.entity.components.attributes.AttributeContainer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(AttributeType arg0) void
clear()
boolean
contains
(AttributeType arg0) copy()
static void
Copy
(AttributeContainer arg0, AttributeContainer arg1) void
DoTooltip
(ObjectTooltip arg0, ObjectTooltip.Layout arg1) void
forEach
(BiConsumer<AttributeType, AttributeInstance> biConsumer) final boolean
get
(AttributeType.Bool arg0) final boolean
get
(AttributeType.Bool arg0, boolean arg1) final byte
get
(AttributeType.Byte arg0) final byte
get
(AttributeType.Byte arg0, byte arg1) final double
get
(AttributeType.Double arg0) final double
get
(AttributeType.Double arg0, double arg1) get
(AttributeType.Enum<E> _enum) get
(AttributeType.Enum<E> enum0, E enum1) get
(AttributeType.EnumSet<E> enumSet) final <E extends Enum<E> & IOEnum>
EnumStringObj<E> get
(AttributeType.EnumStringSet<E> enumStringSet) final float
get
(AttributeType.Float arg0) final float
get
(AttributeType.Float arg0, float arg1) final int
get
(AttributeType.Int arg0) final int
get
(AttributeType.Int arg0, int arg1) final long
get
(AttributeType.Long arg0) final long
get
(AttributeType.Long arg0, long arg1) final short
get
(AttributeType.Short arg0) final short
get
(AttributeType.Short arg0, short arg1) final String
get
(AttributeType.String arg0) final String
get
(AttributeType.String arg0, String arg1) getAttribute
(int arg0) getAttribute
(AttributeType arg0) final float
final float
getFloatValue
(AttributeType.Numeric arg0, float arg1) getKey
(int arg0) boolean
void
load
(ByteBuffer arg0, int arg1) static void
Merge
(AttributeContainer arg0, AttributeContainer arg1) final void
put
(AttributeType.Bool arg0, boolean arg1) final void
put
(AttributeType.Byte arg0, byte arg1) final void
put
(AttributeType.Double arg0, double arg1) put
(AttributeType.Enum<E> enum0, E enum1) put
(AttributeType.EnumSet<E> enumSet0, EnumSet<E> enumSet1) put
(AttributeType.EnumStringSet<E> enumStringSet, EnumStringObj<E> enumStringObj) final void
put
(AttributeType.Float arg0, float arg1) final void
put
(AttributeType.Int arg0, int arg1) final void
put
(AttributeType.Long arg0, long arg1) final void
put
(AttributeType.Short arg0, short arg1) final void
put
(AttributeType.String arg0, String arg1) final void
putFloatValue
(AttributeType.Numeric arg0, float arg1) final boolean
putFromScript
(AttributeType arg0, String arg1) void
remove
(AttributeType arg0) void
save
(ByteBuffer arg0) final void
set
(AttributeType.Bool arg0, boolean arg1) final void
set
(AttributeType.Byte arg0, byte arg1) final void
set
(AttributeType.Double arg0, double arg1) set
(AttributeType.Enum<E> enum0, E enum1) set
(AttributeType.EnumSet<E> enumSet0, EnumSet<E> enumSet1) set
(AttributeType.EnumStringSet<E> enumStringSet, EnumStringObj<E> enumStringObj) final void
set
(AttributeType.Float arg0, float arg1) final void
set
(AttributeType.Int arg0, int arg1) final void
set
(AttributeType.Long arg0, long arg1) final void
set
(AttributeType.Short arg0, short arg1) final void
set
(AttributeType.String arg0, String arg1) final void
setFloatValue
(AttributeType.Numeric arg0, float arg1) int
size()
toString()
Methods inherited from class zombie.entity.Component
DoTooltip, dumpContentsInSquare, getComponent, getComponentType, getGameEntity, getOwner, getRenderLastPriority, getUsingPlayer, isAddedToEngine, isNoContainerOrEmpty, isQualifiesForMetaStorage, isRenderLast, isRunningInMeta, isUsingPlayer, isValid, isValidOwnerType, sendServerPacketTo
-
Field Details
-
STORAGE_SIZE
public static final short STORAGE_SIZE- See Also:
-
-
Method Details
-
toString
-
size
public int size() -
forEach
-
contains
-
remove
-
add
-
putFromScript
-
put
-
set
-
get
-
get
-
put
public final <E extends Enum<E> & IOEnum> void put(AttributeType.EnumSet<E> enumSet0, EnumSet<E> enumSet1) -
set
public final <E extends Enum<E> & IOEnum> void set(AttributeType.EnumSet<E> enumSet0, EnumSet<E> enumSet1) -
get
-
put
public final <E extends Enum<E> & IOEnum> void put(AttributeType.EnumStringSet<E> enumStringSet, EnumStringObj<E> enumStringObj) -
set
public final <E extends Enum<E> & IOEnum> void set(AttributeType.EnumStringSet<E> enumStringSet, EnumStringObj<E> enumStringObj) -
get
public final <E extends Enum<E> & IOEnum> EnumStringObj<E> get(AttributeType.EnumStringSet<E> enumStringSet) -
put
-
set
-
get
-
get
-
put
-
set
-
get
-
get
-
putFloatValue
-
setFloatValue
-
getFloatValue
-
getFloatValue
-
put
-
set
-
get
-
get
-
put
-
set
-
get
-
get
-
put
-
set
-
get
-
get
-
put
-
set
-
get
-
get
-
put
-
set
-
get
-
get
-
put
-
set
-
get
-
get
-
getKey
-
getAttribute
-
getAttribute
-
clear
public void clear() -
Copy
-
Merge
-
copy
-
isIdenticalTo
-
save
-
load
- Throws:
IOException
-
DoTooltip
-