Ejemplo n.º 1
0
        public static bool TryCreateFromBinary(
            MutagenFrame frame,
            out AttractionRule item,
            RecordTypeConverter?recordTypeConverter = null)
        {
            var startPos = frame.Position;

            item = CreateFromBinary(frame, recordTypeConverter);
            return(startPos != frame.Position);
        }
Ejemplo n.º 2
0
        public new static AttractionRule CreateFromBinary(
            MutagenFrame frame,
            RecordTypeConverter?recordTypeConverter = null)
        {
            var ret = new AttractionRule();

            ((AttractionRuleSetterCommon)((IAttractionRuleGetter)ret).CommonSetterInstance() !).CopyInFromBinary(
                item: ret,
                frame: frame,
                recordTypeConverter: recordTypeConverter);
            return(ret);
        }
        public static bool TryCreateFromBinary(
            MutagenFrame frame,
            out AttractionRule item,
            TypedParseParams?translationParams = null)
        {
            var startPos = frame.Position;

            item = CreateFromBinary(
                frame: frame,
                translationParams: translationParams);
            return(startPos != frame.Position);
        }
        public new static AttractionRule CreateFromBinary(
            MutagenFrame frame,
            TypedParseParams?translationParams = null)
        {
            var ret = new AttractionRule();

            ((AttractionRuleSetterCommon)((IAttractionRuleGetter)ret).CommonSetterInstance() !).CopyInFromBinary(
                item: ret,
                frame: frame,
                translationParams: translationParams);
            return(ret);
        }