public static PlayerProjectileAttack Deserialize(Stream stream) { PlayerProjectileAttack playerProjectileAttack = Pool.Get <PlayerProjectileAttack>(); PlayerProjectileAttack.Deserialize(stream, playerProjectileAttack, false); return(playerProjectileAttack); }
public static PlayerProjectileAttack Deserialize(byte[] buffer, PlayerProjectileAttack instance, bool isDelta = false) { using (MemoryStream memoryStream = new MemoryStream(buffer)) { PlayerProjectileAttack.Deserialize(memoryStream, instance, isDelta); } return(instance); }
public static PlayerProjectileAttack Deserialize(byte[] buffer) { PlayerProjectileAttack playerProjectileAttack = Pool.Get <PlayerProjectileAttack>(); using (MemoryStream memoryStream = new MemoryStream(buffer)) { PlayerProjectileAttack.Deserialize(memoryStream, playerProjectileAttack, false); } return(playerProjectileAttack); }
public void FromProto(Stream stream, bool isDelta = false) { PlayerProjectileAttack.Deserialize(stream, this, isDelta); }