public object deserialize(RbSerializerN serializer, ByteBuffer buffer) { long skippedTurn = buffer.getLong(); return new SkippedTurnEvent(skippedTurn); }
public void serialize(RbSerializerN serializer, ByteBuffer buffer, object objec) { var obj = (SkippedTurnEvent)objec; serializer.serialize(buffer, obj.skippedTurn); }