Example #1
0
        public void Load(BinaryReader reader)
        {
            // Clear custom process outputs
            ProcessOutputs.Clear();

            // Get number of custom process outputs
            int count = reader.ReadInt32();

            for (int i = 0; i < count; i++)
            {
                // Get process output details
                ProcessOutput processOutput = ProcessOutput.Parse(reader);

                // Add details to list if scored
                if (processOutput.IsScored)
                {
                    ProcessOutputs.Add(processOutput);
                }
            }
        }