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

            item = CreateFromBinary(frame, recordTypeConverter);
            return(startPos != frame.Position);
        }
예제 #2
0
        public new static MaterialSwap CreateFromBinary(
            MutagenFrame frame,
            RecordTypeConverter?recordTypeConverter = null)
        {
            var ret = new MaterialSwap();

            ((MaterialSwapSetterCommon)((IMaterialSwapGetter)ret).CommonSetterInstance() !).CopyInFromBinary(
                item: ret,
                frame: frame,
                recordTypeConverter: recordTypeConverter);
            return(ret);
        }
예제 #3
0
        public static bool TryCreateFromBinary(
            MutagenFrame frame,
            out MaterialSwap item,
            TypedParseParams?translationParams = null)
        {
            var startPos = frame.Position;

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

            ((MaterialSwapSetterCommon)((IMaterialSwapGetter)ret).CommonSetterInstance() !).CopyInFromBinary(
                item: ret,
                frame: frame,
                translationParams: translationParams);
            return(ret);
        }