public override void SerializeData(NetDataWriter writer) { try { SerializeDataCore(writer); writer.PadByte(); } catch (Exception e) { throw new NetSerializationException("Could not serialize packet data.", e); } }