public class NetworkUtils
extends java.lang.Object
| Constructor and Description |
|---|
NetworkUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<SyncedField<?>> |
getSyncedFields(java.lang.Object syncable,
java.lang.Class<? extends java.lang.annotation.Annotation> searchedAnnotation)
Get a list of all the synced fields for a syncable object
|
public static java.util.List<SyncedField<?>> getSyncedFields(java.lang.Object syncable, java.lang.Class<? extends java.lang.annotation.Annotation> searchedAnnotation)
syncable - the object whose fields we are extractingsearchedAnnotation - the annotation type to search for