Annotation Interface Serializable
Use this annotation when a class is going to be transferred
over the network.
- Author:
- Lars Wesselius
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionshortReturns the fixed serializer id for the annotated type, or0for auto-assignment.Returns the serializer class to use for the annotated type.
-
Element Details
-
serializer
Class serializerReturns the serializer class to use for the annotated type.- Returns:
- the serializer class
- Default:
com.jme3.network.serializing.serializers.FieldSerializer.class
-
id
short idReturns the fixed serializer id for the annotated type, or0for auto-assignment.- Returns:
- the serializer id
- Default:
0
-