public static bool TryCreateFromBinary(
            MutagenFrame frame,
            out PlacedObject item,
            RecordTypeConverter?recordTypeConverter = null)
        {
            var startPos = frame.Position;

            item = CreateFromBinary(frame, recordTypeConverter);
            return(startPos != frame.Position);
        }
Exemple #2
0
        public static bool TryCreateFromBinary(
            MutagenFrame frame,
            out PlacedObject item,
            TypedParseParams?translationParams = null)
        {
            var startPos = frame.Position;

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

            ((PlacedObjectSetterCommon)((IPlacedObjectGetter)ret).CommonSetterInstance() !).CopyInFromBinary(
                item: ret,
                frame: frame,
                translationParams: translationParams);
            return(ret);
        }
        public new static PlacedObject CreateFromBinary(
            MutagenFrame frame,
            RecordTypeConverter?recordTypeConverter = null)
        {
            var ret = new PlacedObject();

            ((PlacedObjectSetterCommon)((IPlacedObjectGetter)ret).CommonSetterInstance() !).CopyInFromBinary(
                item: ret,
                frame: frame,
                recordTypeConverter: recordTypeConverter);
            return(ret);
        }