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

            item = CreateFromBinary(frame, recordTypeConverter);
            return(startPos != frame.Position);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }