Exemple #1
0
            static partial void FillBinaryIDParseCustom(MutagenFrame frame, IQuestAlias item)
            {
                var subMeta = frame.ReadSubrecord();

                item.Type = subMeta.RecordTypeInt switch
                {
                    // ALST
                    0x54534C41 => QuestAlias.TypeEnum.Reference,
                    // ALLS
                    0x534C4C41 => QuestAlias.TypeEnum.Location,
                    _ => throw new NotImplementedException(),
                };
                item.ID = frame.ReadUInt32();
            }
Exemple #2
0
 public static partial ParseResult FillBinaryEndCustom(MutagenFrame frame, IQuestAlias item, PreviousParse lastParsed)
 {
     // Skip
     frame.ReadSubrecordFrame();
     return(lastParsed);
 }
Exemple #3
0
 static partial void FillBinaryEndCustom(MutagenFrame frame, IQuestAlias item)
 {
     // Skip
     frame.ReadSubrecordFrame();
 }
Exemple #4
0
 static partial void FillBinaryConditionsCustom(MutagenFrame frame, IQuestAlias item)
 {
     ConditionBinaryCreateTranslation.FillConditionsList(item.Conditions, frame);
 }