示例#1
0
文件: Board.cs 项目: CombNITNC/Hibiki
        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());
 }
示例#3
0
 internal void OnBreak(long Position, int Imm)
 {
     Break?.Invoke(this, new AInstExceptionEventArgs(Position, Imm));
 }
示例#4
0
 internal void OnBreak(ulong address, int imm)
 {
     Break?.Invoke(this, new InstExceptionEventArgs(address, imm));
 }
示例#5
0
 internal void OnBreak(int Imm)
 {
     Break?.Invoke(this, new AInstExceptionEventArgs(Imm));
 }
示例#6
0
 private void OnBreak(EventArgs e) => Break?.Invoke(this, e);
示例#7
0
 internal void OnBreak(long position, int imm)
 {
     Break?.Invoke(this, new InstExceptionEventArgs(position, imm));
 }
示例#8
0
 public void OnBreak(float press) => Break?.Invoke(press);
示例#9
0
文件: Board.cs 项目: CombNITNC/Hibiki
        async Task Chain(Virus.Id toBreak)
        {
            await Task.Delay(130);

            Break.Invoke(toBreak);
        }