예제 #1
0
        //"Name<uid><wonid><team>" disconnected [52]
        protected virtual void OnDisconnection(DateTime Timestamp, string[] info)
        {
            PlayerEventArgs eventArgs = new PlayerEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[0]),
            };

            PlayerDisConnected.Fire(ServerEndPoint, eventArgs);
        }
예제 #2
0
        //"Name<uid><wonid><>" entered the game [51]
        protected virtual void OnEnterGame(DateTime Timestamp, string[] info)
        {
            PlayerEventArgs eventArgs = new PlayerEventArgs()
            {
                Timestamp = Timestamp,
                Player    = GetPlayerInfo(info[0]),
            };

            PlayerEnteredGame.Fire(ServerEndPoint, eventArgs);
        }
예제 #3
0
 //"Name<uid><wonid><>" STEAM USERID validated   [50b]
 protected virtual void OnValidation(DateTime Timestamp, string[] info)
 {
     PlayerEventArgs eventArgs = new PlayerEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[0]),
     };
     PlayerValidated.Fire(ServerEndPoint, eventArgs);
 }
예제 #4
0
 //"Name<uid><wonid><>" entered the game [51]
 protected virtual void OnEnterGame(DateTime Timestamp, string[] info)
 {
     PlayerEventArgs eventArgs = new PlayerEventArgs()
     {
         Timestamp = Timestamp,
         Player = GetPlayerInfo(info[0]),
     };
     PlayerEnteredGame.Fire(ServerEndPoint, eventArgs);
 }