Example #1
0
 public Shield( UInt16 offset, IList<byte> itemBytes, IList<byte> shieldBytes, Shield defaults )
     : base( offset, itemBytes, defaults )
 {
     ShieldDefault = defaults;
     PhysicalBlockRate = shieldBytes[0];
     MagicBlockRate = shieldBytes[1];
 }
Example #2
0
 public static void CopyAll(Shield source, Shield destination)
 {
     CopyShield(source, destination);
     CopyCommon(source, destination);
 }
Example #3
0
 public Shield(UInt16 offset, IList <byte> itemBytes, IList <byte> shieldBytes, Shield defaults, PatcherLib.Datatypes.Context context)
     : base(offset, itemBytes, defaults, context)
 {
     ShieldDefault     = defaults;
     PhysicalBlockRate = shieldBytes[0];
     MagicBlockRate    = shieldBytes[1];
 }
Example #4
0
 public void CopyShieldTo(Shield destination)
 {
     CopyShield(this, destination);
 }
Example #5
0
 public static void CopyShield(Shield source, Shield destination)
 {
     destination.PhysicalBlockRate = source.PhysicalBlockRate;
     destination.MagicBlockRate    = source.MagicBlockRate;
 }
Example #6
0
 public void CopyAllTo(Shield destination)
 {
     CopyAll(this, destination);
 }
Example #7
0
 public void CopyAllTo( Shield destination )
 {
     CopyAll( this, destination );
 }
Example #8
0
 public static void CopyAll( Shield source, Shield destination )
 {
     CopyShield( source, destination );
     CopyCommon( source, destination );
 }
Example #9
0
 public void CopyShieldTo( Shield destination )
 {
     CopyShield( this, destination );
 }
Example #10
0
 public static void CopyShield( Shield source, Shield destination )
 {
     destination.PhysicalBlockRate = source.PhysicalBlockRate;
     destination.MagicBlockRate = source.MagicBlockRate;
 }