Class PersistentRefCount
java.lang.Object
com.hypixel.hytale.server.core.entity.reference.PersistentRefCount
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
CODEC
-
refCount
private int refCount
-
-
Constructor Details
-
PersistentRefCount
public PersistentRefCount()
-
-
Method Details
-
getComponentType
-
get
public int get() -
increment
public void increment() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-