コード例 #1
0
        //Log file started (file "filename") (game "game") (version "protocol/release/build")   [002.1]
        protected virtual void OnLogFileStart(DateTime Timestamp, string[] info)
        {
            string[]          tmp       = info[5].Split('/');
            LogStartEventArgs eventArgs = new LogStartEventArgs()
            {
                Timestamp = Timestamp,
                FileName  = info[1],
                Game      = info[3],
                Protocol  = tmp[0],
                Release   = tmp[1],
                Build     = tmp[2]
            };

            LogFileStarted.Fire(ServerEndPoint, eventArgs);
        }
コード例 #2
0
ファイル: Logs.cs プロジェクト: exelv1/SteamServerBrowser
 //Log file started (file "filename") (game "game") (version "protocol/release/build")   [002.1]
 protected virtual void OnLogFileStart(DateTime Timestamp, string[] info)
 {
     string[] tmp = info[5].Split('/');
     LogStartEventArgs eventArgs = new LogStartEventArgs()
     {
         Timestamp = Timestamp,
         FileName = info[1],
         Game = info[3],
         Protocol = tmp[0],
         Release = tmp[1],
         Build = tmp[2]
     };
     LogFileStarted.Fire(ServerEndPoint, eventArgs);
 }