示例#1
0
 internal static void FlagCapture(C3Player who, string gametype, string whoscored, int capturedteamscore, int otherteamscore)
 {
     FlagCaptureArgs e = new FlagCaptureArgs();
     e.Who = who;
     e.GameType = gametype;
     e.WhoScored = whoscored;
     e.CapturedTeamScore = capturedteamscore;
     e.OtherTeamScore = otherteamscore;
     if (OnFlagCapture != null)
         OnFlagCapture(e);
 }
示例#2
0
        internal static void FlagCapture(C3Player who, string gametype, string whoscored, int capturedteamscore, int otherteamscore)
        {
            FlagCaptureArgs e = new FlagCaptureArgs();

            e.Who               = who;
            e.GameType          = gametype;
            e.WhoScored         = whoscored;
            e.CapturedTeamScore = capturedteamscore;
            e.OtherTeamScore    = otherteamscore;
            if (OnFlagCapture != null)
            {
                OnFlagCapture(e);
            }
        }