static partial void WriteBinaryInitialParserCustom(MutagenWriter writer, IConditionGetter item) { byte b = (byte)item.Flags; b |= (byte)(((int)(item.CompareOperator) * 16) & ConditionBinaryCreateTranslation.Mask); writer.Write(b); }
static partial void WriteBinaryFlagsCustom(MutagenWriter writer, IConditionGetter item) { writer.Write(GetFlagWriteByte(item.Flags, item.CompareOperator)); }