コード例 #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;
        }
コード例 #2
0
 protected override unsafe int OnBreak(CorDebugAppDomain pAppDomain, CorDebugThread thread)
 {
     Break?.Invoke(this, pAppDomain, thread);
     return(Continue());
 }
コード例 #3
0
ファイル: AThreadState.cs プロジェクト: splatax/Ryujinx-1
 internal void OnBreak(long Position, int Imm)
 {
     Break?.Invoke(this, new AInstExceptionEventArgs(Position, Imm));
 }
コード例 #4
0
ファイル: ExecutionContext.cs プロジェクト: zpoo32/Ryujinx
 internal void OnBreak(ulong address, int imm)
 {
     Break?.Invoke(this, new InstExceptionEventArgs(address, imm));
 }
コード例 #5
0
ファイル: AThreadState.cs プロジェクト: anouarghali/Ryujinx
 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);
        }