Exemple #1
0
        //"Name<uid><wonid><team>" joined team "team"  [54]
        protected virtual void OnTeamSelection(DateTime Timestamp, string[] info)
        {
            TeamSelectionEventArgs eventArgs = new TeamSelectionEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[0]),
                Team      = info[2]
            };

            PlayerJoinedTeam.Fire(ServerEndPoint, eventArgs);
        }
Exemple #2
0
 //"Name<uid><wonid><team>" joined team "team"  [54]
 protected virtual void OnTeamSelection(DateTime Timestamp, string[] info)
 {
     TeamSelectionEventArgs eventArgs = new TeamSelectionEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[0]),
         Team = info[2]
     };
     PlayerJoinedTeam.Fire(ServerEndPoint, eventArgs);
 }