예제 #1
0
            partial void UnusedConditionsLogicCustomParse(OverlayStream stream, int offset)
            {
                var nextHeader = stream.ReadSubrecordFrame();

                if (nextHeader.RecordType != RecordTypes.NEXT ||
                    nextHeader.Content.Length != 0)
                {
                    throw new ArgumentException("Unexpected NEXT header");
                }
                UnusedConditions = ConditionBinaryOverlay.ConstructBinayOverlayList(stream, _package);
            }
예제 #2
0
 partial void ConditionsCustomParse(OverlayStream stream, long finalPos, int offset, RecordType type, int?lastParsed)
 {
     Conditions = ConditionBinaryOverlay.ConstructBinayOverlayList(stream, _package);
 }
예제 #3
0
 partial void CompletionConditionsCustomParse(OverlayStream stream, long finalPos, int offset, RecordType type, PreviousParse lastParsed)
 {
     stream.ReadSubrecordFrame();
     CompletionConditions = ConditionBinaryOverlay.ConstructBinayOverlayList(stream, _package);
 }