示例#1
0
        //"Name<uid><wonid><team>" say "message" [63.1]
        /// <summary>
        /// Raises the <see cref="Say"/> event.
        /// </summary>
        /// <param name="timestamp">Time at which <see cref="Say"/> event was fired.</param>
        /// <param name="info">Information about <see cref="Say"/> event.</param>
        protected virtual void OnSay(DateTime timestamp, string[] info)
        {
            var eventArgs = new ChatEventArgs
            {
                Timestamp = timestamp,
                Player    = GetPlayerInfo(info[0]),
                Message   = info.Length == 3 ? info[2] : string.Empty
            };

            Say.Fire(ServerEndPoint, eventArgs);
        }