public Shield( UInt16 offset, IList<byte> itemBytes, IList<byte> shieldBytes, Shield defaults ) : base( offset, itemBytes, defaults ) { ShieldDefault = defaults; PhysicalBlockRate = shieldBytes[0]; MagicBlockRate = shieldBytes[1]; }
public static void CopyAll(Shield source, Shield destination) { CopyShield(source, destination); CopyCommon(source, destination); }
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]; }
public void CopyShieldTo(Shield destination) { CopyShield(this, destination); }
public static void CopyShield(Shield source, Shield destination) { destination.PhysicalBlockRate = source.PhysicalBlockRate; destination.MagicBlockRate = source.MagicBlockRate; }
public void CopyAllTo(Shield destination) { CopyAll(this, destination); }
public void CopyAllTo( Shield destination ) { CopyAll( this, destination ); }
public static void CopyAll( Shield source, Shield destination ) { CopyShield( source, destination ); CopyCommon( source, destination ); }
public void CopyShieldTo( Shield destination ) { CopyShield( this, destination ); }
public static void CopyShield( Shield source, Shield destination ) { destination.PhysicalBlockRate = source.PhysicalBlockRate; destination.MagicBlockRate = source.MagicBlockRate; }