Пример #1
0
            static partial void WriteBinaryInitialParserCustom(MutagenWriter writer, IConditionGetter item)
            {
                byte b = (byte)item.Flags;

                b |= (byte)(((int)(item.CompareOperator) * 16) & ConditionBinaryCreateTranslation.Mask);
                writer.Write(b);
            }
Пример #2
0
 static partial void WriteBinaryFlagsCustom(MutagenWriter writer, IConditionGetter item)
 {
     writer.Write(GetFlagWriteByte(item.Flags, item.CompareOperator));
 }