void OnAbsorb(Virus.Id eaterId, Virus.Id eatenId) { var eaten = VirusFromId(eatenId).First(); crowd.Remove(eaten); var eater = VirusFromId(eaterId).First(); if (eater.isCracked || eaten.isCracked) { Break.Invoke(eaterId); } eater.isCracked = true; }
protected override unsafe int OnBreak(CorDebugAppDomain pAppDomain, CorDebugThread thread) { Break?.Invoke(this, pAppDomain, thread); return(Continue()); }
internal void OnBreak(long Position, int Imm) { Break?.Invoke(this, new AInstExceptionEventArgs(Position, Imm)); }
internal void OnBreak(ulong address, int imm) { Break?.Invoke(this, new InstExceptionEventArgs(address, imm)); }
internal void OnBreak(int Imm) { Break?.Invoke(this, new AInstExceptionEventArgs(Imm)); }
private void OnBreak(EventArgs e) => Break?.Invoke(this, e);
internal void OnBreak(long position, int imm) { Break?.Invoke(this, new InstExceptionEventArgs(position, imm)); }
public void OnBreak(float press) => Break?.Invoke(press);
async Task Chain(Virus.Id toBreak) { await Task.Delay(130); Break.Invoke(toBreak); }