/* NETWORK */
@Override
public PacketPayload getPacketPayload() {
if (!ClassMap.classMappers.containsKey(this.getClass()))
ClassMap.classMappers.put(this.getClass(), new ClassMap(this.getClass()));
ClassMap classmap = ClassMap.classMappers.get(this.getClass());
PacketPayload payload = new PacketPayload(classmap.intSize, classmap.floatSize, classmap.stringSize);
try {
classmap.setData(this, payload.intPayload, payload.floatPayload, payload.stringPayload, new IndexInPayload(0, 0, 0));
} catch (IllegalAccessException e) {
e.printStackTrace();
}
return payload;