public static void CopyChemistItem(ChemistItem source, ChemistItem destination)
 {
     destination.Formula          = source.Formula;
     destination.X                = source.X;
     destination.InflictStatus    = source.InflictStatus;
     destination.OldInflictStatus = source.OldInflictStatus;
 }
Exemple #2
0
 public ChemistItem( UInt16 offset, IList<byte> itemBytes, IList<byte> chemistBytes, ChemistItem defaults )
     : base(offset, itemBytes, defaults)
 {
     ChemistItemDefault = defaults;
     Formula = chemistBytes[0];
     X = chemistBytes[1];
     InflictStatus = chemistBytes[2];
 }
Exemple #3
0
 public ChemistItem(UInt16 offset, IList <byte> itemBytes, IList <byte> chemistBytes, ChemistItem defaults)
     : base(offset, itemBytes, defaults)
 {
     ChemistItemDefault = defaults;
     Formula            = chemistBytes[0];
     X             = chemistBytes[1];
     InflictStatus = chemistBytes[2];
 }
        public ChemistItem(UInt16 offset, IList <byte> itemBytes, IList <byte> chemistBytes, ChemistItem defaults, PatcherLib.Datatypes.Context context)
            : base(offset, itemBytes, defaults, context)
        {
            ChemistItemDefault = defaults;
            Formula            = chemistBytes[0];
            X             = chemistBytes[1];
            InflictStatus = chemistBytes[2];

            OldInflictStatus = InflictStatus;
        }
 public void CopyChemistItemTo(ChemistItem destination)
 {
     CopyChemistItem(this, destination);
 }
 public void CopyAllTo(ChemistItem destination)
 {
     CopyAll(this, destination);
 }
 public static void CopyAll(ChemistItem source, ChemistItem destination)
 {
     CopyChemistItem(source, destination);
     CopyCommon(source, destination);
 }
Exemple #8
0
 public void CopyChemistItemTo( ChemistItem destination )
 {
     CopyChemistItem( this, destination );
 }
Exemple #9
0
 public void CopyAllTo( ChemistItem destination )
 {
     CopyAll( this, destination );
 }
Exemple #10
0
 public static void CopyChemistItem( ChemistItem source, ChemistItem destination )
 {
     destination.Formula = source.Formula;
     destination.X = source.X;
     destination.InflictStatus = source.InflictStatus;
 }
Exemple #11
0
 public static void CopyAll( ChemistItem source, ChemistItem destination )
 {
     CopyChemistItem( source, destination );
     CopyCommon( source, destination );
 }